From 34c7816d3536a8e293e84a06eaf85b04ed19a75e Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:18 +0000 Subject: [PATCH 001/106] feat: Generate Google.Apis.Admin.Directory.directory_v1 version 1.72.0.3963 --- DiscoveryJson/admin.directory_v1.json | 4 ++-- DiscoveryJson/admin.directory_v1.json.original | 4 ++-- .../Google.Apis.Admin.Directory.directory_v1.cs | 2 +- .../Google.Apis.Admin.Directory.directory_v1.csproj | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/admin.directory_v1.json b/DiscoveryJson/admin.directory_v1.json index 72070c9f153..6d688653d2b 100644 --- a/DiscoveryJson/admin.directory_v1.json +++ b/DiscoveryJson/admin.directory_v1.json @@ -4671,7 +4671,7 @@ } } }, - "revision": "20251021", + "revision": "20251107", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5459,7 +5459,7 @@ "type": "array" }, "bluetoothAdapterInfo": { - "description": "Output only. Information about bluetooth adapters of the device.", + "description": "Output only. Information about Bluetooth adapters of the device.", "items": { "$ref": "BluetoothAdapterInfo" }, diff --git a/DiscoveryJson/admin.directory_v1.json.original b/DiscoveryJson/admin.directory_v1.json.original index d89e7b33c56..6ef67195187 100644 --- a/DiscoveryJson/admin.directory_v1.json.original +++ b/DiscoveryJson/admin.directory_v1.json.original @@ -4671,7 +4671,7 @@ } } }, - "revision": "20251021", + "revision": "20251107", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { @@ -5459,7 +5459,7 @@ "type": "array" }, "bluetoothAdapterInfo": { - "description": "Output only. Information about bluetooth adapters of the device.", + "description": "Output only. Information about Bluetooth adapters of the device.", "items": { "$ref": "BluetoothAdapterInfo" }, diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs index 5b952939e7f..72121bb65c2 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.cs @@ -11250,7 +11250,7 @@ public class ChromeOsDevice : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("backlightInfo")] public virtual System.Collections.Generic.IList BacklightInfo { get; set; } - /// Output only. Information about bluetooth adapters of the device. + /// Output only. Information about Bluetooth adapters of the device. [Newtonsoft.Json.JsonPropertyAttribute("bluetoothAdapterInfo")] public virtual System.Collections.Generic.IList BluetoothAdapterInfo { get; set; } diff --git a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj index 1348bbefcec..ccda4b1fbc6 100644 --- a/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.Directory.directory_v1/Google.Apis.Admin.Directory.directory_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Admin.Directory.directory_v1 Client Library - 1.72.0.3946 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From a69fc11c0c0ce870825d2968148e1cc9f5785e0a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:20 +0000 Subject: [PATCH 002/106] feat: Generate Google.Apis.Admin.Reports.reports_v1 version 1.72.0.3963 --- DiscoveryJson/admin.reports_v1.json | 6 +++--- .../Google.Apis.Admin.Reports.reports_v1.cs | 8 ++++---- .../Google.Apis.Admin.Reports.reports_v1.csproj | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DiscoveryJson/admin.reports_v1.json b/DiscoveryJson/admin.reports_v1.json index ac004386e41..c0dd942c03a 100644 --- a/DiscoveryJson/admin.reports_v1.json +++ b/DiscoveryJson/admin.reports_v1.json @@ -3,10 +3,10 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/admin.reports.audit.readonly": { - "description": "View audit reports for your G Suite domain" + "description": "View audit reports for your Google Workspace domain" }, "https://www.googleapis.com/auth/admin.reports.usage.readonly": { - "description": "View usage reports for your G Suite domain" + "description": "View usage reports for your Google Workspace domain" } } } @@ -635,7 +635,7 @@ } } }, - "revision": "20250818", + "revision": "20251107", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Activities": { diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs index ca5d3b1f89a..ec1f6c9585a 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.cs @@ -64,20 +64,20 @@ public ReportsService(Google.Apis.Services.BaseClientService.Initializer initial /// Available OAuth 2.0 scopes for use with the Admin SDK API. public class Scope { - /// View audit reports for your G Suite domain + /// View audit reports for your Google Workspace domain public static string AdminReportsAuditReadonly = "https://www.googleapis.com/auth/admin.reports.audit.readonly"; - /// View usage reports for your G Suite domain + /// View usage reports for your Google Workspace domain public static string AdminReportsUsageReadonly = "https://www.googleapis.com/auth/admin.reports.usage.readonly"; } /// Available OAuth 2.0 scope constants for use with the Admin SDK API. public static class ScopeConstants { - /// View audit reports for your G Suite domain + /// View audit reports for your Google Workspace domain public const string AdminReportsAuditReadonly = "https://www.googleapis.com/auth/admin.reports.audit.readonly"; - /// View usage reports for your G Suite domain + /// View usage reports for your Google Workspace domain public const string AdminReportsUsageReadonly = "https://www.googleapis.com/auth/admin.reports.usage.readonly"; } diff --git a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj index 2b430420530..124e41388f3 100644 --- a/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj +++ b/Src/Generated/Google.Apis.Admin.Reports.reports_v1/Google.Apis.Admin.Reports.reports_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Admin.Reports.reports_v1 Client Library - 1.70.0.3882 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 90b6ec9e58ed5b5efc52b8d97b410bedc4049dec Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:23 +0000 Subject: [PATCH 003/106] feat: Generate Google.Apis.AlertCenter.v1beta1 version 1.72.0.3973 --- DiscoveryJson/alertcenter.v1beta1.json | 8 ++++++-- .../Google.Apis.AlertCenter.v1beta1.cs | 8 ++++++-- .../Google.Apis.AlertCenter.v1beta1.csproj | 6 +++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/alertcenter.v1beta1.json b/DiscoveryJson/alertcenter.v1beta1.json index 4449be06993..a4168de6fe9 100644 --- a/DiscoveryJson/alertcenter.v1beta1.json +++ b/DiscoveryJson/alertcenter.v1beta1.json @@ -3,7 +3,7 @@ "oauth2": { "scopes": { "https://www.googleapis.com/auth/apps.alerts": { - "description": "See and delete your domain's G Suite alerts, and send alert feedback" + "description": "See and delete your domain's Google Workspace alerts, and send alert feedback" } } } @@ -423,7 +423,7 @@ } } }, - "revision": "20250929", + "revision": "20251117", "rootUrl": "https://alertcenter.googleapis.com/", "schemas": { "AbuseDetected": { @@ -1661,6 +1661,10 @@ "description": "Drive file ID.", "type": "string" }, + "messageId": { + "description": "RFC2822 message ID.", + "type": "string" + }, "resourceTitle": { "description": "Title of the resource, for example email subject, or document title.", "type": "string" diff --git a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs index 0c608c48407..1f160c5d81c 100644 --- a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs +++ b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.cs @@ -61,14 +61,14 @@ public AlertCenterService(Google.Apis.Services.BaseClientService.Initializer ini /// Available OAuth 2.0 scopes for use with the Google Workspace Alert Center API. public class Scope { - /// See and delete your domain's G Suite alerts, and send alert feedback + /// See and delete your domain's Google Workspace alerts, and send alert feedback public static string AppsAlerts = "https://www.googleapis.com/auth/apps.alerts"; } /// Available OAuth 2.0 scope constants for use with the Google Workspace Alert Center API. public static class ScopeConstants { - /// See and delete your domain's G Suite alerts, and send alert feedback + /// See and delete your domain's Google Workspace alerts, and send alert feedback public const string AppsAlerts = "https://www.googleapis.com/auth/apps.alerts"; } @@ -2669,6 +2669,10 @@ public class ResourceInfo : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("documentId")] public virtual string DocumentId { get; set; } + /// RFC2822 message ID. + [Newtonsoft.Json.JsonPropertyAttribute("messageId")] + public virtual string MessageId { get; set; } + /// Title of the resource, for example email subject, or document title. [Newtonsoft.Json.JsonPropertyAttribute("resourceTitle")] public virtual string ResourceTitle { get; set; } diff --git a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj index 5c709932cde..7e953743216 100644 --- a/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj +++ b/Src/Generated/Google.Apis.AlertCenter.v1beta1/Google.Apis.AlertCenter.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.AlertCenter.v1beta1 Client Library - 1.71.0.3924 + 1.72.0.3973 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 60b617528875dfaa72b30e883011dff2e1ac1f15 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:25 +0000 Subject: [PATCH 004/106] feat: Generate Google.Apis.CloudAlloyDBAdmin.v1 version 1.72.0.3962 --- DiscoveryJson/alloydb.v1.json | 269 +++++++++++++++++- EnumStorage/alloydb.v1.json | 10 + .../Google.Apis.CloudAlloyDBAdmin.v1.cs | 86 +++++- .../Google.Apis.CloudAlloyDBAdmin.v1.csproj | 2 +- 4 files changed, 363 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/alloydb.v1.json b/DiscoveryJson/alloydb.v1.json index eae35b08695..36347f38a3b 100644 --- a/DiscoveryJson/alloydb.v1.json +++ b/DiscoveryJson/alloydb.v1.json @@ -15,6 +15,218 @@ "description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/alloydb/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -283,6 +495,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The view of the backup to return.", + "enum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "enumDescriptions": [ + "Value unspecified, equivalent to BASIC.", + "Responses include all fields that aren't explicitly gated behind another view.", + "Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." + ], + "location": "query", + "type": "string" } }, "path": "v1/{+name}", @@ -329,6 +556,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The view of the backup to return.", + "enum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "enumDescriptions": [ + "Value unspecified, equivalent to BASIC.", + "Responses include all fields that aren't explicitly gated behind another view.", + "Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." + ], + "location": "query", + "type": "string" } }, "path": "v1/{+parent}/backups", @@ -1627,7 +1869,7 @@ } } }, - "revision": "20251023", + "revision": "20251106", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2188,6 +2430,20 @@ "$ref": "MaintenanceUpdatePolicy", "description": "Optional. The maintenance update policy determines when to allow or deny updates." }, + "maintenanceVersionSelectionPolicy": { + "description": "Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances.", + "enum": [ + "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", + "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", + "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT" + ], + "enumDescriptions": [ + "The maintenance version selection policy is not specified.", + "Use the latest available maintenance version.", + "Use the current default maintenance version." + ], + "type": "string" + }, "migrationSource": { "$ref": "MigrationSource", "description": "Output only. Cluster created via DMS migration.", @@ -2999,6 +3255,11 @@ "$ref": "MachineConfig", "description": "Configurations for the machines that host the underlying database engine." }, + "maintenanceVersionName": { + "description": "Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. Update this field via the parent cluster's maintenance_version field(s).", + "readOnly": true, + "type": "string" + }, "name": { "description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", "readOnly": true, @@ -4953,7 +5214,7 @@ "type": "object" }, "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { - "description": "Common model for database resource instance metadata. Next ID: 29", + "description": "Common model for database resource instance metadata. Next ID: 30", "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", "properties": { "availabilityConfiguration": { @@ -5096,6 +5357,10 @@ ], "type": "string" }, + "isDeletionProtectionEnabled": { + "description": "Optional. Whether deletion protection is enabled for this resource.", + "type": "boolean" + }, "location": { "description": "The resource location. REQUIRED", "type": "string" diff --git a/EnumStorage/alloydb.v1.json b/EnumStorage/alloydb.v1.json index b9f0ff99f9f..19a20187e39 100644 --- a/EnumStorage/alloydb.v1.json +++ b/EnumStorage/alloydb.v1.json @@ -8,6 +8,16 @@ "1", "2" ], + "Google.Apis.CloudAlloyDBAdmin.v1.ProjectsResource+LocationsResource+BackupsResource+GetRequest.ViewEnum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "Google.Apis.CloudAlloyDBAdmin.v1.ProjectsResource+LocationsResource+BackupsResource+ListRequest.ViewEnum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], "Google.Apis.CloudAlloyDBAdmin.v1.ProjectsResource+LocationsResource+ClustersResource+GetRequest.ViewEnum": [ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs index 4e06976edba..d6ec11eea6c 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.cs @@ -536,6 +536,31 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// Optional. The view of the backup to return. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// Optional. The view of the backup to return. + public enum ViewEnum + { + /// Value unspecified, equivalent to BASIC. + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_UNSPECIFIED")] + BACKUPVIEWUNSPECIFIED = 0, + + /// + /// Responses include all fields that aren't explicitly gated behind another view. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_BASIC")] + BACKUPVIEWBASIC = 1, + + /// + /// Response include all the field from BASIC plus the field cluster_deleted, which specifies if + /// the cluster corresponding to this backup is deleted. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_CLUSTER_DELETED")] + BACKUPVIEWCLUSTERDELETED = 2, + } + /// Gets the method name. public override string MethodName => "get"; @@ -557,6 +582,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/backups/[^/]+$", }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -600,6 +633,31 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. The view of the backup to return. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// Optional. The view of the backup to return. + public enum ViewEnum + { + /// Value unspecified, equivalent to BASIC. + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_UNSPECIFIED")] + BACKUPVIEWUNSPECIFIED = 0, + + /// + /// Responses include all fields that aren't explicitly gated behind another view. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_BASIC")] + BACKUPVIEWBASIC = 1, + + /// + /// Response include all the field from BASIC plus the field cluster_deleted, which specifies if + /// the cluster corresponding to this backup is deleted. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_CLUSTER_DELETED")] + BACKUPVIEWCLUSTERDELETED = 2, + } + /// Gets the method name. public override string MethodName => "list"; @@ -653,6 +711,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -4753,6 +4819,13 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("maintenanceUpdatePolicy")] public virtual MaintenanceUpdatePolicy MaintenanceUpdatePolicy { get; set; } + /// + /// Input only. Policy to use to automatically select the maintenance version to which to update the cluster's + /// instances. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceVersionSelectionPolicy")] + public virtual string MaintenanceVersionSelectionPolicy { get; set; } + /// Output only. Cluster created via DMS migration. [Newtonsoft.Json.JsonPropertyAttribute("migrationSource")] public virtual MigrationSource MigrationSource { get; set; } @@ -5728,6 +5801,13 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("machineConfig")] public virtual MachineConfig MachineConfig { get; set; } + /// + /// Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. + /// Update this field via the parent cluster's maintenance_version field(s). + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceVersionName")] + public virtual string MaintenanceVersionName { get; set; } + /// /// Output only. The name of the instance resource with the format: * /// projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and @@ -7519,7 +7599,7 @@ public class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId : Google.Ap public virtual string ETag { get; set; } } - /// Common model for database resource instance metadata. Next ID: 29 + /// Common model for database resource instance metadata. Next ID: 30 public class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata : Google.Apis.Requests.IDirectResponseSchema { /// Availability configuration for this instance @@ -7615,6 +7695,10 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("instanceType")] public virtual string InstanceType { get; set; } + /// Optional. Whether deletion protection is enabled for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("isDeletionProtectionEnabled")] + public virtual System.Nullable IsDeletionProtectionEnabled { get; set; } + /// The resource location. REQUIRED [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual string Location { get; set; } diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj index 4b687f40b0a..6b325e06879 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1/Google.Apis.CloudAlloyDBAdmin.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1 Client Library - 1.72.0.3948 + 1.72.0.3962 Google LLC Copyright 2025 Google LLC Google From c1c11cb2645529a2244c7d8aa066289016ca121e Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:27 +0000 Subject: [PATCH 005/106] feat: Generate Google.Apis.CloudAlloyDBAdmin.v1alpha version 1.72.0.3962 --- DiscoveryJson/alloydb.v1alpha.json | 260 +++++++++++++++++- EnumStorage/alloydb.v1alpha.json | 10 + .../Google.Apis.CloudAlloyDBAdmin.v1alpha.cs | 86 +++++- ...ogle.Apis.CloudAlloyDBAdmin.v1alpha.csproj | 2 +- 4 files changed, 354 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/alloydb.v1alpha.json b/DiscoveryJson/alloydb.v1alpha.json index 682c0d30728..1e4c50bf09c 100644 --- a/DiscoveryJson/alloydb.v1alpha.json +++ b/DiscoveryJson/alloydb.v1alpha.json @@ -15,6 +15,218 @@ "description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/alloydb/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -283,6 +495,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The view of the backup to return.", + "enum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "enumDescriptions": [ + "Value unspecified, equivalent to BASIC.", + "Responses include all fields that aren't explicitly gated behind another view.", + "Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." + ], + "location": "query", + "type": "string" } }, "path": "v1alpha/{+name}", @@ -329,6 +556,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The view of the backup to return.", + "enum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "enumDescriptions": [ + "Value unspecified, equivalent to BASIC.", + "Responses include all fields that aren't explicitly gated behind another view.", + "Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." + ], + "location": "query", + "type": "string" } }, "path": "v1alpha/{+parent}/backups", @@ -1627,7 +1869,7 @@ } } }, - "revision": "20251023", + "revision": "20251106", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1713,6 +1955,11 @@ "description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", "type": "object" }, + "clusterDeleted": { + "description": "Output only. Set to true if the cluster corresponding to this backup is deleted. This field is only populated for when using the BACKUP_VIEW_CLUSTER_DELETED view.", + "readOnly": true, + "type": "boolean" + }, "clusterName": { "description": "Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).", "type": "string" @@ -3176,6 +3423,11 @@ "$ref": "MachineConfig", "description": "Configurations for the machines that host the underlying database engine." }, + "maintenanceVersionName": { + "description": "Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. Update this field via the parent cluster's maintenance_version field(s).", + "readOnly": true, + "type": "string" + }, "name": { "description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", "readOnly": true, @@ -5213,7 +5465,7 @@ "type": "object" }, "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { - "description": "Common model for database resource instance metadata. Next ID: 29", + "description": "Common model for database resource instance metadata. Next ID: 30", "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", "properties": { "availabilityConfiguration": { @@ -5356,6 +5608,10 @@ ], "type": "string" }, + "isDeletionProtectionEnabled": { + "description": "Optional. Whether deletion protection is enabled for this resource.", + "type": "boolean" + }, "location": { "description": "The resource location. REQUIRED", "type": "string" diff --git a/EnumStorage/alloydb.v1alpha.json b/EnumStorage/alloydb.v1alpha.json index b6cc095d97c..e5845f7f055 100644 --- a/EnumStorage/alloydb.v1alpha.json +++ b/EnumStorage/alloydb.v1alpha.json @@ -8,6 +8,16 @@ "1", "2" ], + "Google.Apis.CloudAlloyDBAdmin.v1alpha.ProjectsResource+LocationsResource+BackupsResource+GetRequest.ViewEnum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "Google.Apis.CloudAlloyDBAdmin.v1alpha.ProjectsResource+LocationsResource+BackupsResource+ListRequest.ViewEnum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], "Google.Apis.CloudAlloyDBAdmin.v1alpha.ProjectsResource+LocationsResource+ClustersResource+GetRequest.ViewEnum": [ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs index d50bd128f1f..101255806ab 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.cs @@ -536,6 +536,31 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// Optional. The view of the backup to return. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// Optional. The view of the backup to return. + public enum ViewEnum + { + /// Value unspecified, equivalent to BASIC. + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_UNSPECIFIED")] + BACKUPVIEWUNSPECIFIED = 0, + + /// + /// Responses include all fields that aren't explicitly gated behind another view. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_BASIC")] + BACKUPVIEWBASIC = 1, + + /// + /// Response include all the field from BASIC plus the field cluster_deleted, which specifies if + /// the cluster corresponding to this backup is deleted. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_CLUSTER_DELETED")] + BACKUPVIEWCLUSTERDELETED = 2, + } + /// Gets the method name. public override string MethodName => "get"; @@ -557,6 +582,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/backups/[^/]+$", }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -600,6 +633,31 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. The view of the backup to return. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// Optional. The view of the backup to return. + public enum ViewEnum + { + /// Value unspecified, equivalent to BASIC. + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_UNSPECIFIED")] + BACKUPVIEWUNSPECIFIED = 0, + + /// + /// Responses include all fields that aren't explicitly gated behind another view. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_BASIC")] + BACKUPVIEWBASIC = 1, + + /// + /// Response include all the field from BASIC plus the field cluster_deleted, which specifies if + /// the cluster corresponding to this backup is deleted. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_CLUSTER_DELETED")] + BACKUPVIEWCLUSTERDELETED = 2, + } + /// Gets the method name. public override string MethodName => "list"; @@ -653,6 +711,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3955,6 +4021,13 @@ public class Backup : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("annotations")] public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// + /// Output only. Set to true if the cluster corresponding to this backup is deleted. This field is only + /// populated for when using the BACKUP_VIEW_CLUSTER_DELETED view. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clusterDeleted")] + public virtual System.Nullable ClusterDeleted { get; set; } + /// /// Required. The full resource name of the backup source cluster (e.g., /// projects/{project}/locations/{region}/clusters/{cluster_id}). @@ -5883,6 +5956,13 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("machineConfig")] public virtual MachineConfig MachineConfig { get; set; } + /// + /// Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. + /// Update this field via the parent cluster's maintenance_version field(s). + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceVersionName")] + public virtual string MaintenanceVersionName { get; set; } + /// /// Output only. The name of the instance resource with the format: * /// projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and @@ -7768,7 +7848,7 @@ public class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId : Google.Ap public virtual string ETag { get; set; } } - /// Common model for database resource instance metadata. Next ID: 29 + /// Common model for database resource instance metadata. Next ID: 30 public class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata : Google.Apis.Requests.IDirectResponseSchema { /// Availability configuration for this instance @@ -7864,6 +7944,10 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("instanceType")] public virtual string InstanceType { get; set; } + /// Optional. Whether deletion protection is enabled for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("isDeletionProtectionEnabled")] + public virtual System.Nullable IsDeletionProtectionEnabled { get; set; } + /// The resource location. REQUIRED [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual string Location { get; set; } diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj index 0a21f8f3be6..05ae4e52e07 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1alpha/Google.Apis.CloudAlloyDBAdmin.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1alpha Client Library - 1.72.0.3948 + 1.72.0.3962 Google LLC Copyright 2025 Google LLC Google From 4e53f2db2aed8ea4b5cdb88173a4961b602e173a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:29 +0000 Subject: [PATCH 006/106] feat: Generate Google.Apis.CloudAlloyDBAdmin.v1beta version 1.72.0.3962 --- DiscoveryJson/alloydb.v1beta.json | 260 +++++++++++++++++- EnumStorage/alloydb.v1beta.json | 10 + .../Google.Apis.CloudAlloyDBAdmin.v1beta.cs | 86 +++++- ...oogle.Apis.CloudAlloyDBAdmin.v1beta.csproj | 2 +- 4 files changed, 354 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/alloydb.v1beta.json b/DiscoveryJson/alloydb.v1beta.json index a9158c37b9e..609ce755db8 100644 --- a/DiscoveryJson/alloydb.v1beta.json +++ b/DiscoveryJson/alloydb.v1beta.json @@ -15,6 +15,218 @@ "description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/alloydb/", + "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-central1.rep.googleapis.com/", + "location": "us-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east1.rep.googleapis.com/", + "location": "us-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east4.rep.googleapis.com/", + "location": "us-east4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-east5.rep.googleapis.com/", + "location": "us-east5" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-south1.rep.googleapis.com/", + "location": "us-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west1.rep.googleapis.com/", + "location": "us-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west2.rep.googleapis.com/", + "location": "us-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west3.rep.googleapis.com/", + "location": "us-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.us-west4.rep.googleapis.com/", + "location": "us-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-central2.rep.googleapis.com/", + "location": "europe-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-north2.rep.googleapis.com/", + "location": "europe-north2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west1.rep.googleapis.com/", + "location": "europe-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west2.rep.googleapis.com/", + "location": "europe-west2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west3.rep.googleapis.com/", + "location": "europe-west3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west4.rep.googleapis.com/", + "location": "europe-west4" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west8.rep.googleapis.com/", + "location": "europe-west8" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west9.rep.googleapis.com/", + "location": "europe-west9" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.europe-west12.rep.googleapis.com/", + "location": "europe-west12" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-south1.rep.googleapis.com/", + "location": "asia-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-south2.rep.googleapis.com/", + "location": "asia-south2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://alloydb.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + } + ], "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -283,6 +495,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+/backups/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The view of the backup to return.", + "enum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "enumDescriptions": [ + "Value unspecified, equivalent to BASIC.", + "Responses include all fields that aren't explicitly gated behind another view.", + "Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." + ], + "location": "query", + "type": "string" } }, "path": "v1beta/{+name}", @@ -329,6 +556,21 @@ "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, "type": "string" + }, + "view": { + "description": "Optional. The view of the backup to return.", + "enum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "enumDescriptions": [ + "Value unspecified, equivalent to BASIC.", + "Responses include all fields that aren't explicitly gated behind another view.", + "Response include all the field from BASIC plus the field cluster_deleted, which specifies if the cluster corresponding to this backup is deleted." + ], + "location": "query", + "type": "string" } }, "path": "v1beta/{+parent}/backups", @@ -1624,7 +1866,7 @@ } } }, - "revision": "20251023", + "revision": "20251106", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -1710,6 +1952,11 @@ "description": "Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128", "type": "object" }, + "clusterDeleted": { + "description": "Output only. Set to true if the cluster corresponding to this backup is deleted. This field is only populated for when using the BACKUP_VIEW_CLUSTER_DELETED view.", + "readOnly": true, + "type": "boolean" + }, "clusterName": { "description": "Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).", "type": "string" @@ -3157,6 +3404,11 @@ "$ref": "MachineConfig", "description": "Configurations for the machines that host the underlying database engine." }, + "maintenanceVersionName": { + "description": "Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. Update this field via the parent cluster's maintenance_version field(s).", + "readOnly": true, + "type": "string" + }, "name": { "description": "Output only. The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}", "readOnly": true, @@ -5189,7 +5441,7 @@ "type": "object" }, "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata": { - "description": "Common model for database resource instance metadata. Next ID: 29", + "description": "Common model for database resource instance metadata. Next ID: 30", "id": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata", "properties": { "availabilityConfiguration": { @@ -5332,6 +5584,10 @@ ], "type": "string" }, + "isDeletionProtectionEnabled": { + "description": "Optional. Whether deletion protection is enabled for this resource.", + "type": "boolean" + }, "location": { "description": "The resource location. REQUIRED", "type": "string" diff --git a/EnumStorage/alloydb.v1beta.json b/EnumStorage/alloydb.v1beta.json index 7d54cb6d683..a845a0f8a1a 100644 --- a/EnumStorage/alloydb.v1beta.json +++ b/EnumStorage/alloydb.v1beta.json @@ -8,6 +8,16 @@ "1", "2" ], + "Google.Apis.CloudAlloyDBAdmin.v1beta.ProjectsResource+LocationsResource+BackupsResource+GetRequest.ViewEnum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], + "Google.Apis.CloudAlloyDBAdmin.v1beta.ProjectsResource+LocationsResource+BackupsResource+ListRequest.ViewEnum": [ + "BACKUP_VIEW_UNSPECIFIED", + "BACKUP_VIEW_BASIC", + "BACKUP_VIEW_CLUSTER_DELETED" + ], "Google.Apis.CloudAlloyDBAdmin.v1beta.ProjectsResource+LocationsResource+ClustersResource+GetRequest.ViewEnum": [ "CLUSTER_VIEW_UNSPECIFIED", "CLUSTER_VIEW_BASIC", diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs index e0a2c385d6c..e2246a074c7 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.cs @@ -536,6 +536,31 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// Optional. The view of the backup to return. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// Optional. The view of the backup to return. + public enum ViewEnum + { + /// Value unspecified, equivalent to BASIC. + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_UNSPECIFIED")] + BACKUPVIEWUNSPECIFIED = 0, + + /// + /// Responses include all fields that aren't explicitly gated behind another view. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_BASIC")] + BACKUPVIEWBASIC = 1, + + /// + /// Response include all the field from BASIC plus the field cluster_deleted, which specifies if + /// the cluster corresponding to this backup is deleted. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_CLUSTER_DELETED")] + BACKUPVIEWCLUSTERDELETED = 2, + } + /// Gets the method name. public override string MethodName => "get"; @@ -557,6 +582,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/backups/[^/]+$", }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -600,6 +633,31 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } + /// Optional. The view of the backup to return. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// Optional. The view of the backup to return. + public enum ViewEnum + { + /// Value unspecified, equivalent to BASIC. + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_UNSPECIFIED")] + BACKUPVIEWUNSPECIFIED = 0, + + /// + /// Responses include all fields that aren't explicitly gated behind another view. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_BASIC")] + BACKUPVIEWBASIC = 1, + + /// + /// Response include all the field from BASIC plus the field cluster_deleted, which specifies if + /// the cluster corresponding to this backup is deleted. + /// + [Google.Apis.Util.StringValueAttribute("BACKUP_VIEW_CLUSTER_DELETED")] + BACKUPVIEWCLUSTERDELETED = 2, + } + /// Gets the method name. public override string MethodName => "list"; @@ -653,6 +711,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } @@ -3947,6 +4013,13 @@ public class Backup : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("annotations")] public virtual System.Collections.Generic.IDictionary Annotations { get; set; } + /// + /// Output only. Set to true if the cluster corresponding to this backup is deleted. This field is only + /// populated for when using the BACKUP_VIEW_CLUSTER_DELETED view. + /// + [Newtonsoft.Json.JsonPropertyAttribute("clusterDeleted")] + public virtual System.Nullable ClusterDeleted { get; set; } + /// /// Required. The full resource name of the backup source cluster (e.g., /// projects/{project}/locations/{region}/clusters/{cluster_id}). @@ -5860,6 +5933,13 @@ public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("machineConfig")] public virtual MachineConfig MachineConfig { get; set; } + /// + /// Output only. Maintenance version of the instance, for example: POSTGRES_15.2025_07_15.04_00. Output only. + /// Update this field via the parent cluster's maintenance_version field(s). + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceVersionName")] + public virtual string MaintenanceVersionName { get; set; } + /// /// Output only. The name of the instance resource with the format: * /// projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and @@ -7741,7 +7821,7 @@ public class StorageDatabasecenterPartnerapiV1mainDatabaseResourceId : Google.Ap public virtual string ETag { get; set; } } - /// Common model for database resource instance metadata. Next ID: 29 + /// Common model for database resource instance metadata. Next ID: 30 public class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata : Google.Apis.Requests.IDirectResponseSchema { /// Availability configuration for this instance @@ -7837,6 +7917,10 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("instanceType")] public virtual string InstanceType { get; set; } + /// Optional. Whether deletion protection is enabled for this resource. + [Newtonsoft.Json.JsonPropertyAttribute("isDeletionProtectionEnabled")] + public virtual System.Nullable IsDeletionProtectionEnabled { get; set; } + /// The resource location. REQUIRED [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual string Location { get; set; } diff --git a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj index 0aaa7869ae0..6343e2d3c2a 100644 --- a/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudAlloyDBAdmin.v1beta/Google.Apis.CloudAlloyDBAdmin.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAlloyDBAdmin.v1beta Client Library - 1.72.0.3948 + 1.72.0.3962 Google LLC Copyright 2025 Google LLC Google From 672bb93773d95a52531656ca379d7891197c1439 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:32 +0000 Subject: [PATCH 007/106] feat: Generate Google.Apis.AndroidManagement.v1 version 1.72.0.3967 --- DiscoveryJson/androidmanagement.v1.json | 6 +++--- .../Google.Apis.AndroidManagement.v1.cs | 7 ++----- .../Google.Apis.AndroidManagement.v1.csproj | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/androidmanagement.v1.json b/DiscoveryJson/androidmanagement.v1.json index fd95e105816..e8b6de6e1f8 100644 --- a/DiscoveryJson/androidmanagement.v1.json +++ b/DiscoveryJson/androidmanagement.v1.json @@ -1265,7 +1265,7 @@ } } }, - "revision": "20251104", + "revision": "20251111", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -6553,7 +6553,7 @@ "type": "boolean" }, "setUserIconDisabled": { - "description": "Whether changing the user icon is disabled. The setting has effect only on fully managed devices.", + "description": "Whether changing the user icon is disabled. This applies only on devices running Android 7 and above.", "type": "boolean" }, "setWallpaperDisabled": { @@ -6568,7 +6568,7 @@ "type": "array" }, "shareLocationDisabled": { - "description": "Whether location sharing is disabled. share_location_disabled is supported for both fully managed devices and personally owned work profiles.", + "description": "Whether location sharing is disabled.", "type": "boolean" }, "shortSupportMessage": { diff --git a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs index 93e30378d10..2c0daa9bca3 100644 --- a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs +++ b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.cs @@ -7601,7 +7601,7 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable ScreenCaptureDisabled { get; set; } /// - /// Whether changing the user icon is disabled. The setting has effect only on fully managed devices. + /// Whether changing the user icon is disabled. This applies only on devices running Android 7 and above. /// [Newtonsoft.Json.JsonPropertyAttribute("setUserIconDisabled")] public virtual System.Nullable SetUserIconDisabled { get; set; } @@ -7614,10 +7614,7 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("setupActions")] public virtual System.Collections.Generic.IList SetupActions { get; set; } - /// - /// Whether location sharing is disabled. share_location_disabled is supported for both fully managed devices - /// and personally owned work profiles. - /// + /// Whether location sharing is disabled. [Newtonsoft.Json.JsonPropertyAttribute("shareLocationDisabled")] public virtual System.Nullable ShareLocationDisabled { get; set; } diff --git a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj index 654e1b0a53f..090e741874f 100644 --- a/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj +++ b/Src/Generated/Google.Apis.AndroidManagement.v1/Google.Apis.AndroidManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidManagement.v1 Client Library - 1.72.0.3960 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From 6dd525c0c1c1114f2535dcfaa1b529e4238c7f84 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:34 +0000 Subject: [PATCH 008/106] feat: Generate Google.Apis.AndroidPublisher.v3 version 1.72.0.3975 --- DiscoveryJson/androidpublisher.v3.json | 159 +++++++++++++++- .../Google.Apis.AndroidPublisher.v3.cs | 176 +++++++++++++++++- .../Google.Apis.AndroidPublisher.v3.csproj | 2 +- 3 files changed, 333 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/androidpublisher.v3.json b/DiscoveryJson/androidpublisher.v3.json index 097da628a22..e4e723dac1e 100644 --- a/DiscoveryJson/androidpublisher.v3.json +++ b/DiscoveryJson/androidpublisher.v3.json @@ -5555,7 +5555,7 @@ } } }, - "revision": "20251028", + "revision": "20251119", "rootUrl": "https://androidpublisher.googleapis.com/", "schemas": { "Abi": { @@ -6219,6 +6219,12 @@ }, "type": "object" }, + "BaseDetails": { + "description": "Details of a base price pricing phase.", + "id": "BaseDetails", + "properties": {}, + "type": "object" + }, "BasePlan": { "description": "A single base plan for a subscription.", "id": "BasePlan", @@ -7634,6 +7640,21 @@ }, "type": "object" }, + "ExternalAccountIds": { + "description": "User account identifier in your app.", + "id": "ExternalAccountIds", + "properties": { + "obfuscatedAccountId": { + "description": "Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user account in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to store PII in this field will result in purchases being blocked. Google Play recommends that you use either encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is limited to 64 characters. This field can only be set for resubscription purchases. See https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid to set this field for purchases made using the standard in-app billing flow.", + "type": "string" + }, + "obfuscatedProfileId": { + "description": "Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user profile in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to store PII in this field will result in purchases being blocked. Google Play recommends that you use either encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is limited to 64 characters. This field can only be set for resubscription purchases. See https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid to set this field for purchases made using the standard in-app billing flow.", + "type": "string" + } + }, + "type": "object" + }, "ExternalSubscription": { "description": "Details of an external subscription.", "id": "ExternalSubscription", @@ -7842,6 +7863,12 @@ }, "type": "object" }, + "FreeTrialDetails": { + "description": "Details of a free trial pricing phase.", + "id": "FreeTrialDetails", + "properties": {}, + "type": "object" + }, "FullRefund": { "description": "A full refund of the remaining amount of a transaction.", "id": "FullRefund", @@ -8576,6 +8603,12 @@ }, "type": "object" }, + "IntroductoryPriceDetails": { + "description": "Details of an introductory price pricing phase.", + "id": "IntroductoryPriceDetails", + "properties": {}, + "type": "object" + }, "IntroductoryPriceInfo": { "description": "Contains the introductory price information for a subscription.", "id": "IntroductoryPriceInfo", @@ -8601,6 +8634,47 @@ }, "type": "object" }, + "ItemReplacement": { + "description": "Details about a subscription line item that is being replaced.", + "id": "ItemReplacement", + "properties": { + "basePlanId": { + "description": "The base plan ID of the subscription line item being replaced.", + "type": "string" + }, + "offerId": { + "description": "The offer ID of the subscription line item being replaced, if applicable.", + "type": "string" + }, + "productId": { + "description": "The product ID of the subscription line item being replaced.", + "type": "string" + }, + "replacementMode": { + "description": "The replacement mode applied during the purchase.", + "enum": [ + "REPLACEMENT_MODE_UNSPECIFIED", + "WITH_TIME_PRORATION", + "CHARGE_PRORATED_PRICE", + "WITHOUT_PRORATION", + "CHARGE_FULL_PRICE", + "DEFERRED", + "KEEP_EXISTING" + ], + "enumDescriptions": [ + "Unspecified replacement mode.", + "The new plan will be prorated and credited from the old plan.", + "The user will be charged a prorated price for the new plan.", + "The new plan will replace the old one without prorating the time.", + "The user will be charged the full price for the new plan.", + "The old plan will be cancelled and the new plan will be effective after the old one expires.", + "The plan will remain unchanged with this replacement." + ], + "type": "string" + } + }, + "type": "object" + }, "LanguageTargeting": { "description": "Targeting based on language.", "id": "LanguageTargeting", @@ -9075,6 +9149,29 @@ }, "type": "object" }, + "OfferPhaseDetails": { + "description": "Details of a pricing phase for the entitlement period funded by this order.", + "id": "OfferPhaseDetails", + "properties": { + "baseDetails": { + "$ref": "BaseDetails", + "description": "The order funds a base price period." + }, + "freeTrialDetails": { + "$ref": "FreeTrialDetails", + "description": "The order funds a free trial period." + }, + "introductoryPriceDetails": { + "$ref": "IntroductoryPriceDetails", + "description": "The order funds an introductory pricing period." + }, + "prorationPeriodDetails": { + "$ref": "ProrationPeriodDetails", + "description": "The order funds a proration period." + } + }, + "type": "object" + }, "OfferTag": { "description": "Represents a custom tag specified for a product offer.", "id": "OfferTag", @@ -9740,6 +9837,21 @@ }, "type": "object" }, + "OutOfAppPurchaseContext": { + "description": "Information specific to an out of app purchase.", + "id": "OutOfAppPurchaseContext", + "properties": { + "expiredExternalAccountIdentifiers": { + "$ref": "ExternalAccountIdentifiers", + "description": "User account identifier from the last expired subscription for this SKU." + }, + "expiredPurchaseToken": { + "description": "The purchase token of the last expired subscription. This purchase token must only be used to help identify the user if the link between the purchaseToken and user is stored in your database. This cannot be used to call the Google Developer API if it has been more than 60 days since expiry.", + "type": "string" + } + }, + "type": "object" + }, "PageInfo": { "description": "Information about the current page. List operations that supports paging return only one \"page\" of results. This protocol buffer message describes the page that has been returned.", "id": "PageInfo", @@ -10197,6 +10309,33 @@ }, "type": "object" }, + "ProrationPeriodDetails": { + "description": "Details of a proration period. A proration period can be a period calculated during a plan change to cover existing entitlements (For more information, see [Allow users to upgrade, downgrade, or change their subscription](https://developer.android.com/google/play/billing/subscriptions#allow-users-change), or a prorated period to align add-on renewal dates with the base (For more information, see [Rules applicable for items in the purchase](https://developer.android.com/google/play/billing/subscription-with-addons#rules-base-addons)).", + "id": "ProrationPeriodDetails", + "properties": { + "linkedOrderId": { + "description": "The last order id of the original subscription purchase prior to the plan change. This is only populated if this proration period is from an ugrade/downgrade from a previous subscription and carries the remaining offer phase from the linked order of the previous subscription.", + "type": "string" + }, + "originalOfferPhase": { + "description": "Represent the original offer phase from the purchased the line item if the proration period contains any of them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the subscription offer of the new product user purchased. In this case, the original offer phase will be set here.", + "enum": [ + "OFFER_PHASE_UNSPECIFIED", + "BASE", + "INTRODUCTORY", + "FREE_TRIAL" + ], + "enumDescriptions": [ + "Offer phase unspecified. This value is not used.", + "The order funds a base price period.", + "The order funds an introductory pricing period.", + "The order funds a free trial period." + ], + "type": "string" + } + }, + "type": "object" + }, "PurchaseOptionTaxAndComplianceSettings": { "description": "Details about taxation, Google Play policy and legal compliance for one-time product purchase options.", "id": "PurchaseOptionTaxAndComplianceSettings", @@ -11088,7 +11227,7 @@ "type": "string" }, "offerPhase": { - "description": "The pricing phase for the billing period funded by this order.", + "description": "The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead.", "enum": [ "OFFER_PHASE_UNSPECIFIED", "BASE", @@ -11103,6 +11242,10 @@ ], "type": "string" }, + "offerPhaseDetails": { + "$ref": "OfferPhaseDetails", + "description": "The pricing phase details for the entitlement period funded by this order." + }, "servicePeriodEndTime": { "description": "The end of the billing period funded by this order. This is a snapshot of the billing/service period end time at the moment the order was processed, and should be used only for accounting. To get the current end time of the subscription service period, use purchases.subscriptionsv2.get.", "format": "google-datetime", @@ -11473,6 +11616,10 @@ "format": "google-datetime", "type": "string" }, + "itemReplacement": { + "$ref": "ItemReplacement", + "description": "Details of the item being replaced. This field is only populated if this item replaced another item in a previous subscription and is only available for 60 days after the purchase time." + }, "latestSuccessfulOrderId": { "description": "The order id of the latest successful order associated with this item. Not present if the item is not owned by the user yet (e.g. the item being deferred replaced to).", "type": "string" @@ -11542,6 +11689,10 @@ "description": "The purchase token of the old subscription if this subscription is one of the following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous subscription. * Convert from prepaid to auto renewing subscription. * Convert from an auto renewing subscription to prepaid. * Topup a prepaid subscription.", "type": "string" }, + "outOfAppPurchaseContext": { + "$ref": "OutOfAppPurchaseContext", + "description": "Additional context for out of app purchases. This information is only present for re-subscription purchases (subscription purchases made after the previous subscription of the same product has expired) made through the Google Play subscriptions center. This field will be removed after you acknowledge the subscription." + }, "pausedStateContext": { "$ref": "PausedStateContext", "description": "Additional context around paused subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_PAUSED." @@ -11599,6 +11750,10 @@ "developerPayload": { "description": "Payload to attach to the purchase.", "type": "string" + }, + "externalAccountIds": { + "$ref": "ExternalAccountIds", + "description": "Optional. User account identifier in your app." } }, "type": "object" diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs index 376cbb117c2..d7cc7e5baa1 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.cs @@ -14402,6 +14402,13 @@ public class AutoRenewingPlan : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Details of a base price pricing phase. + public class BaseDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A single base plan for a subscription. public class BasePlan : Google.Apis.Requests.IDirectResponseSchema { @@ -15736,6 +15743,39 @@ public class ExternalAccountIdentifiers : Google.Apis.Requests.IDirectResponseSc public virtual string ETag { get; set; } } + /// User account identifier in your app. + public class ExternalAccountIds : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user + /// account in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use + /// this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to + /// store PII in this field will result in purchases being blocked. Google Play recommends that you use either + /// encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is + /// limited to 64 characters. This field can only be set for resubscription purchases. See + /// https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid + /// to set this field for purchases made using the standard in-app billing flow. + /// + [Newtonsoft.Json.JsonPropertyAttribute("obfuscatedAccountId")] + public virtual string ObfuscatedAccountId { get; set; } + + /// + /// Optional. Specifies an optional obfuscated string that is uniquely associated with the purchaser's user + /// profile in your app. If you pass this value, Google Play can use it to detect irregular activity. Do not use + /// this field to store any Personally Identifiable Information (PII) such as emails in cleartext. Attempting to + /// store PII in this field will result in purchases being blocked. Google Play recommends that you use either + /// encryption or a one-way hash to generate an obfuscated identifier to send to Google Play. This identifier is + /// limited to 64 characters. This field can only be set for resubscription purchases. See + /// https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedprofileid + /// to set this field for purchases made using the standard in-app billing flow. + /// + [Newtonsoft.Json.JsonPropertyAttribute("obfuscatedProfileId")] + public virtual string ObfuscatedProfileId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Details of an external subscription. public class ExternalSubscription : Google.Apis.Requests.IDirectResponseSchema { @@ -16013,6 +16053,13 @@ public class ExternallyHostedApk : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Details of a free trial pricing phase. + public class FreeTrialDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A full refund of the remaining amount of a transaction. public class FullRefund : Google.Apis.Requests.IDirectResponseSchema { @@ -16662,6 +16709,13 @@ public class InternalAppSharingArtifact : Google.Apis.Requests.IDirectResponseSc public virtual string ETag { get; set; } } + /// Details of an introductory price pricing phase. + public class IntroductoryPriceDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Contains the introductory price information for a subscription. public class IntroductoryPriceInfo : Google.Apis.Requests.IDirectResponseSchema { @@ -16695,6 +16749,29 @@ public class IntroductoryPriceInfo : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Details about a subscription line item that is being replaced. + public class ItemReplacement : Google.Apis.Requests.IDirectResponseSchema + { + /// The base plan ID of the subscription line item being replaced. + [Newtonsoft.Json.JsonPropertyAttribute("basePlanId")] + public virtual string BasePlanId { get; set; } + + /// The offer ID of the subscription line item being replaced, if applicable. + [Newtonsoft.Json.JsonPropertyAttribute("offerId")] + public virtual string OfferId { get; set; } + + /// The product ID of the subscription line item being replaced. + [Newtonsoft.Json.JsonPropertyAttribute("productId")] + public virtual string ProductId { get; set; } + + /// The replacement mode applied during the purchase. + [Newtonsoft.Json.JsonPropertyAttribute("replacementMode")] + public virtual string ReplacementMode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Targeting based on language. public class LanguageTargeting : Google.Apis.Requests.IDirectResponseSchema { @@ -17141,6 +17218,29 @@ public class OfferDetails : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Details of a pricing phase for the entitlement period funded by this order. + public class OfferPhaseDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// The order funds a base price period. + [Newtonsoft.Json.JsonPropertyAttribute("baseDetails")] + public virtual BaseDetails BaseDetails { get; set; } + + /// The order funds a free trial period. + [Newtonsoft.Json.JsonPropertyAttribute("freeTrialDetails")] + public virtual FreeTrialDetails FreeTrialDetails { get; set; } + + /// The order funds an introductory pricing period. + [Newtonsoft.Json.JsonPropertyAttribute("introductoryPriceDetails")] + public virtual IntroductoryPriceDetails IntroductoryPriceDetails { get; set; } + + /// The order funds a proration period. + [Newtonsoft.Json.JsonPropertyAttribute("prorationPeriodDetails")] + public virtual ProrationPeriodDetails ProrationPeriodDetails { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents a custom tag specified for a product offer. public class OfferTag : Google.Apis.Requests.IDirectResponseSchema { @@ -18057,6 +18157,25 @@ public class OtherRegionsSubscriptionOfferPhasePrices : Google.Apis.Requests.IDi public virtual string ETag { get; set; } } + /// Information specific to an out of app purchase. + public class OutOfAppPurchaseContext : Google.Apis.Requests.IDirectResponseSchema + { + /// User account identifier from the last expired subscription for this SKU. + [Newtonsoft.Json.JsonPropertyAttribute("expiredExternalAccountIdentifiers")] + public virtual ExternalAccountIdentifiers ExpiredExternalAccountIdentifiers { get; set; } + + /// + /// The purchase token of the last expired subscription. This purchase token must only be used to help identify + /// the user if the link between the purchaseToken and user is stored in your database. This cannot be used to + /// call the Google Developer API if it has been more than 60 days since expiry. + /// + [Newtonsoft.Json.JsonPropertyAttribute("expiredPurchaseToken")] + public virtual string ExpiredPurchaseToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Information about the current page. List operations that supports paging return only one "page" of results. This /// protocol buffer message describes the page that has been returned. @@ -18800,6 +18919,36 @@ public class ProductPurchasesAcknowledgeRequest : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } + /// + /// Details of a proration period. A proration period can be a period calculated during a plan change to cover + /// existing entitlements (For more information, see [Allow users to upgrade, downgrade, or change their + /// subscription](https://developer.android.com/google/play/billing/subscriptions#allow-users-change), or a prorated + /// period to align add-on renewal dates with the base (For more information, see [Rules applicable for items in the + /// purchase](https://developer.android.com/google/play/billing/subscription-with-addons#rules-base-addons)). + /// + public class ProrationPeriodDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The last order id of the original subscription purchase prior to the plan change. This is only populated if + /// this proration period is from an ugrade/downgrade from a previous subscription and carries the remaining + /// offer phase from the linked order of the previous subscription. + /// + [Newtonsoft.Json.JsonPropertyAttribute("linkedOrderId")] + public virtual string LinkedOrderId { get; set; } + + /// + /// Represent the original offer phase from the purchased the line item if the proration period contains any of + /// them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of + /// the subscription offer of the new product user purchased. In this case, the original offer phase will be set + /// here. + /// + [Newtonsoft.Json.JsonPropertyAttribute("originalOfferPhase")] + public virtual string OriginalOfferPhase { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Details about taxation, Google Play policy and legal compliance for one-time product purchase options. /// @@ -19759,10 +19908,16 @@ public class SubscriptionDetails : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("offerId")] public virtual string OfferId { get; set; } - /// The pricing phase for the billing period funded by this order. + /// + /// The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead. + /// [Newtonsoft.Json.JsonPropertyAttribute("offerPhase")] public virtual string OfferPhase { get; set; } + /// The pricing phase details for the entitlement period funded by this order. + [Newtonsoft.Json.JsonPropertyAttribute("offerPhaseDetails")] + public virtual OfferPhaseDetails OfferPhaseDetails { get; set; } + private string _servicePeriodEndTimeRaw; private object _servicePeriodEndTime; @@ -20346,6 +20501,13 @@ public virtual System.DateTimeOffset? ExpiryTimeDateTimeOffset set => ExpiryTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } + /// + /// Details of the item being replaced. This field is only populated if this item replaced another item in a + /// previous subscription and is only available for 60 days after the purchase time. + /// + [Newtonsoft.Json.JsonPropertyAttribute("itemReplacement")] + public virtual ItemReplacement ItemReplacement { get; set; } + /// /// The order id of the latest successful order associated with this item. Not present if the item is not owned /// by the user yet (e.g. the item being deferred replaced to). @@ -20420,6 +20582,14 @@ public class SubscriptionPurchaseV2 : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("linkedPurchaseToken")] public virtual string LinkedPurchaseToken { get; set; } + /// + /// Additional context for out of app purchases. This information is only present for re-subscription purchases + /// (subscription purchases made after the previous subscription of the same product has expired) made through + /// the Google Play subscriptions center. This field will be removed after you acknowledge the subscription. + /// + [Newtonsoft.Json.JsonPropertyAttribute("outOfAppPurchaseContext")] + public virtual OutOfAppPurchaseContext OutOfAppPurchaseContext { get; set; } + /// /// Additional context around paused subscriptions. Only present if the subscription currently has /// subscription_state SUBSCRIPTION_STATE_PAUSED. @@ -20496,6 +20666,10 @@ public class SubscriptionPurchasesAcknowledgeRequest : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("developerPayload")] public virtual string DeveloperPayload { get; set; } + /// Optional. User account identifier in your app. + [Newtonsoft.Json.JsonPropertyAttribute("externalAccountIds")] + public virtual ExternalAccountIds ExternalAccountIds { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj index 099dba93735..6e630cac53e 100644 --- a/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj +++ b/Src/Generated/Google.Apis.AndroidPublisher.v3/Google.Apis.AndroidPublisher.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.AndroidPublisher.v3 Client Library - 1.72.0.3953 + 1.72.0.3975 Google LLC Copyright 2025 Google LLC Google From 55aad4a905ca715eb0a5115a71892357b411dbb5 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:36 +0000 Subject: [PATCH 009/106] feat: Generate Google.Apis.APIhub.v1 version 1.72.0.3966 --- DiscoveryJson/apihub.v1.json | 343 +++++++++- .../Google.Apis.APIhub.v1.cs | 623 ++++++++++++++++++ .../Google.Apis.APIhub.v1.csproj | 2 +- 3 files changed, 966 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/apihub.v1.json b/DiscoveryJson/apihub.v1.json index 343ae7ab09b..901fe2b107f 100644 --- a/DiscoveryJson/apihub.v1.json +++ b/DiscoveryJson/apihub.v1.json @@ -264,6 +264,104 @@ } }, "resources": { + "addons": { + "methods": { + "get": { + "description": "Get an addon.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addons/{addonsId}", + "httpMethod": "GET", + "id": "apihub.projects.locations.addons.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the addon to get. Format: `projects/{project}/locations/{location}/addons/{addon}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/addons/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudApihubV1Addon" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List addons.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addons", + "httpMethod": "GET", + "id": "apihub.projects.locations.addons.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. An expression that filters the list of addons. The only supported filter is `plugin_instance_name`. It can be used to filter addons that are enabled for a given plugin instance. The format of the filter is `plugin_instance_name = \"projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}\"`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of hub addons to return. The service may return fewer than this value. If unspecified, at most 50 hub addons will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListAddons` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListAddons` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this addon will be created. Format: `projects/{project}/locations/{location}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/addons", + "response": { + "$ref": "GoogleCloudApihubV1ListAddonsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "manageConfig": { + "description": "Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves the addon into an updating state until the long-running operation succeeds.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/addons/{addonsId}:manageConfig", + "httpMethod": "POST", + "id": "apihub.projects.locations.addons.manageConfig", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the addon for which the config is to be managed. Format: `projects/{project}/locations/{location}/addons/{addon}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/addons/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:manageConfig", + "request": { + "$ref": "GoogleCloudApihubV1ManageAddonConfigRequest" + }, + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + }, "apiHubInstances": { "methods": { "create": { @@ -2979,7 +3077,7 @@ } } }, - "revision": "20251025", + "revision": "20251110", "rootUrl": "https://apihub.googleapis.com/", "schemas": { "Empty": { @@ -3031,6 +3129,100 @@ }, "type": "object" }, + "GoogleCloudApihubV1Addon": { + "description": "Addon resource.", + "id": "GoogleCloudApihubV1Addon", + "properties": { + "config": { + "$ref": "GoogleCloudApihubV1AddonConfig", + "description": "Required. The configuration of the addon." + }, + "createTime": { + "description": "Output only. The time at which the addon was created.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "dataSource": { + "description": "Required. The data source on which the addon operates. This determines which field in the `config` oneof is used.", + "enum": [ + "DATA_SOURCE_UNSPECIFIED", + "PLUGIN_INSTANCE", + "ALL_DATA" + ], + "enumDescriptions": [ + "The data source of the addon is not specified.", + "Addon operates on data collected from specific plugin instances.", + "Addon operates on all data in the API hub." + ], + "type": "string" + }, + "description": { + "description": "Optional. The description of the addon.", + "type": "string" + }, + "displayName": { + "description": "Required. The display name of the addon.", + "type": "string" + }, + "name": { + "description": "Identifier. The name of the addon to enable. Format: `projects/{project}/locations/{location}/addons/{addon}`.", + "type": "string" + }, + "state": { + "description": "Output only. The state of the addon.", + "enum": [ + "ADDON_STATE_UNSPECIFIED", + "ACTIVE", + "UPDATING", + "ERROR", + "INACTIVE" + ], + "enumDescriptions": [ + "The addon state is not specified.", + "The addon is active.", + "The addon is being updated.", + "The addon is in error state.", + "The addon is inactive." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The time at which the addon was last updated.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1AddonConfig": { + "description": "Configuration for the addon.", + "id": "GoogleCloudApihubV1AddonConfig", + "properties": { + "allDataAddonConfig": { + "$ref": "GoogleCloudApihubV1AllDataAddonConfig", + "description": "Configuration for addons which act on all data in the API hub." + }, + "gatewayPluginAddonConfig": { + "$ref": "GoogleCloudApihubV1GatewayPluginAddonConfig", + "description": "Configuration for gateway plugin addons." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1AllDataAddonConfig": { + "description": "Configuration for addons which act on all data in the API hub. This is used to specify if the addon is enabled for all data in the API hub.", + "id": "GoogleCloudApihubV1AllDataAddonConfig", + "properties": { + "enabled": { + "description": "Required. If true, the addon is enabled for all data in the API hub.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudApihubV1AllowedValue": { "description": "The value that can be assigned to the attribute when the data type is enum.", "id": "GoogleCloudApihubV1AllowedValue", @@ -3360,6 +3552,39 @@ }, "type": "object" }, + "GoogleCloudApihubV1ApigeeEdgeConfig": { + "description": "Configuration for Apigee Edge gateways. Applicability of a filter is determined by the filter being provided. If none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin instance.", + "id": "GoogleCloudApihubV1ApigeeEdgeConfig", + "properties": { + "environmentFilter": { + "$ref": "GoogleCloudApihubV1EnvironmentFilter", + "description": "Optional. The filter to apply on the resources managed by the gateway plugin instance. If provided this filter applies environment specific filtering." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApigeeOPDKConfig": { + "description": "Configuration for Apigee OPDK gateways. Applicability of a filter is determined by the filter being provided. If none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin instance.", + "id": "GoogleCloudApihubV1ApigeeOPDKConfig", + "properties": { + "environmentFilter": { + "$ref": "GoogleCloudApihubV1EnvironmentFilter", + "description": "Optional. The filter to apply on the resources managed by the gateway plugin instance. If provided this filter applies environment specific filtering." + } + }, + "type": "object" + }, + "GoogleCloudApihubV1ApigeeXHybridConfig": { + "description": "Configuration for Apigee X and Apigee Hybrid gateways. Applicability of a filter is determined by the filter being provided. If none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin instance.", + "id": "GoogleCloudApihubV1ApigeeXHybridConfig", + "properties": { + "environmentFilter": { + "$ref": "GoogleCloudApihubV1EnvironmentFilter", + "description": "Optional. The filter to apply on the resources managed by the gateway plugin instance. If provided this filter applies environment specific filtering." + } + }, + "type": "object" + }, "GoogleCloudApihubV1ApplicationIntegrationEndpointDetails": { "description": "The details of the Application Integration endpoint to be triggered for curation.", "id": "GoogleCloudApihubV1ApplicationIntegrationEndpointDetails", @@ -4455,6 +4680,24 @@ }, "type": "object" }, + "GoogleCloudApihubV1EnvironmentFilter": { + "description": "Filter for environments.", + "id": "GoogleCloudApihubV1EnvironmentFilter", + "properties": { + "allEnvironments": { + "description": "Optional. Indicates if this filter should match all environments or only a subset of environments. If set to true, all environments are matched.", + "type": "boolean" + }, + "environments": { + "description": "Optional. If provided, only environments in this list are matched. This field is ignored if `all_environments` is true.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudApihubV1ExecutePluginInstanceActionRequest": { "description": "The ExecutePluginInstanceAction method's request.", "id": "GoogleCloudApihubV1ExecutePluginInstanceActionRequest", @@ -4549,6 +4792,43 @@ }, "type": "object" }, + "GoogleCloudApihubV1GatewayPluginAddonConfig": { + "description": "Configuration for gateway plugin addons. This is used to specify the list of gateway plugin configs for which the addon is enabled.", + "id": "GoogleCloudApihubV1GatewayPluginAddonConfig", + "properties": { + "gatewayPluginConfigs": { + "description": "Required. The list of gateway plugin configs for which the addon is enabled. Each gateway plugin config should have a unique plugin instance.", + "items": { + "$ref": "GoogleCloudApihubV1GatewayPluginConfig" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudApihubV1GatewayPluginConfig": { + "description": "Configuration for a gateway plugin. This is used to specify configs for different gateways.", + "id": "GoogleCloudApihubV1GatewayPluginConfig", + "properties": { + "apigeeEdgeConfig": { + "$ref": "GoogleCloudApihubV1ApigeeEdgeConfig", + "description": "Configuration for Apigee Edge gateways." + }, + "apigeeOpdkConfig": { + "$ref": "GoogleCloudApihubV1ApigeeOPDKConfig", + "description": "Configuration for Apigee OPDK gateways." + }, + "apigeeXHybridConfig": { + "$ref": "GoogleCloudApihubV1ApigeeXHybridConfig", + "description": "Configuration for Apigee X and Apigee Hybrid gateways." + }, + "pluginInstance": { + "description": "Required. The name of the gateway plugin instance for which the config is to be specified. Format: projects/{project}/locations/{location}/plugins/{plugin}/pluginInstances/{plugin_instance}", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApihubV1GoogleServiceAccountConfig": { "description": "Config for Google service account authentication.", "id": "GoogleCloudApihubV1GoogleServiceAccountConfig", @@ -4881,6 +5161,24 @@ "properties": {}, "type": "object" }, + "GoogleCloudApihubV1ListAddonsResponse": { + "description": "The ListAddons method's response.", + "id": "GoogleCloudApihubV1ListAddonsResponse", + "properties": { + "addons": { + "description": "The list of addons.", + "items": { + "$ref": "GoogleCloudApihubV1Addon" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token to retrieve the next page of results, or empty if there are no more results in the list.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApihubV1ListApiOperationsResponse": { "description": "The ListApiOperations method's response.", "id": "GoogleCloudApihubV1ListApiOperationsResponse", @@ -5173,6 +5471,17 @@ }, "type": "object" }, + "GoogleCloudApihubV1ManageAddonConfigRequest": { + "description": "The ManageAddonConfig method's request.", + "id": "GoogleCloudApihubV1ManageAddonConfigRequest", + "properties": { + "config": { + "$ref": "GoogleCloudApihubV1AddonConfig", + "description": "Required. The config of the addon to be managed. This config will replace the config present in the addon. The type of the config should match the config type already present in the addon." + } + }, + "type": "object" + }, "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest": { "description": "The ManagePluginInstanceSourceData method's request.", "id": "GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest", @@ -5658,6 +5967,13 @@ "description": "Identifier. The unique name of the plugin instance resource. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`", "type": "string" }, + "sourceEnvironmentsConfig": { + "additionalProperties": { + "$ref": "GoogleCloudApihubV1SourceEnvironment" + }, + "description": "Optional. The source environment's config present in the gateway instance linked to the plugin instance. The key is the `source_environment` name from the SourceEnvironment message.", + "type": "object" + }, "sourceProjectId": { "description": "Optional. The source project id of the plugin instance. This will be the id of runtime project in case of gcp based plugins and org id in case of non gcp based plugins. This field will be a required field for Google provided on-ramp plugins.", "type": "string" @@ -5983,6 +6299,31 @@ }, "type": "object" }, + "GoogleCloudApihubV1SourceEnvironment": { + "description": "Message representing the source environment details.", + "id": "GoogleCloudApihubV1SourceEnvironment", + "properties": { + "createTime": { + "description": "Optional. The time at which the environment was created at the source.", + "format": "google-datetime", + "type": "string" + }, + "sourceEnvironment": { + "description": "Required. The name of the environment at the source. This should map to Deployment.", + "type": "string" + }, + "sourceEnvironmentUri": { + "description": "The location where additional information about source environments can be found. The location should be relative path of the environment manifest with respect to a plugin instance.", + "type": "string" + }, + "updateTime": { + "description": "Optional. The time at which the environment was last updated at the source.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudApihubV1SourceMetadata": { "description": "SourceMetadata represents the metadata for a resource at the source.", "id": "GoogleCloudApihubV1SourceMetadata", diff --git a/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.cs b/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.cs index d6bd7dcb569..23d9110b2c9 100644 --- a/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.cs +++ b/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.cs @@ -292,6 +292,7 @@ public class LocationsResource public LocationsResource(Google.Apis.Services.IClientService service) { this.service = service; + Addons = new AddonsResource(service); ApiHubInstances = new ApiHubInstancesResource(service); Apis = new ApisResource(service); Attributes = new AttributesResource(service); @@ -306,6 +307,240 @@ public LocationsResource(Google.Apis.Services.IClientService service) RuntimeProjectAttachments = new RuntimeProjectAttachmentsResource(service); } + /// Gets the Addons resource. + public virtual AddonsResource Addons { get; } + + /// The "addons" collection of methods. + public class AddonsResource + { + private const string Resource = "addons"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public AddonsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Get an addon. + /// + /// Required. The name of the addon to get. Format: + /// `projects/{project}/locations/{location}/addons/{addon}`. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Get an addon. + public class GetRequest : APIhubBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the addon to get. Format: + /// `projects/{project}/locations/{location}/addons/{addon}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/addons/[^/]+$", + }); + } + } + + /// List addons. + /// + /// Required. The parent resource where this addon will be created. Format: + /// `projects/{project}/locations/{location}`. + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// List addons. + public class ListRequest : APIhubBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent resource where this addon will be created. Format: + /// `projects/{project}/locations/{location}`. + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Optional. An expression that filters the list of addons. The only supported filter is + /// `plugin_instance_name`. It can be used to filter addons that are enabled for a given plugin + /// instance. The format of the filter is `plugin_instance_name = + /// "projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}"`. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. The maximum number of hub addons to return. The service may return fewer than this + /// value. If unspecified, at most 50 hub addons will be returned. The maximum value is 1000; values + /// above 1000 will be coerced to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. A page token, received from a previous `ListAddons` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters (except page_size) provided to + /// `ListAddons` must match the call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/addons"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// + /// Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves + /// the addon into an updating state until the long-running operation succeeds. + /// + /// The body of the request. + /// + /// Required. The name of the addon for which the config is to be managed. Format: + /// `projects/{project}/locations/{location}/addons/{addon}`. + /// + public virtual ManageConfigRequest ManageConfig(Google.Apis.APIhub.v1.Data.GoogleCloudApihubV1ManageAddonConfigRequest body, string name) + { + return new ManageConfigRequest(this.service, body, name); + } + + /// + /// Manage addon config. This RPC is used for managing the config of the addon. Calling this RPC moves + /// the addon into an updating state until the long-running operation succeeds. + /// + public class ManageConfigRequest : APIhubBaseServiceRequest + { + /// Constructs a new ManageConfig request. + public ManageConfigRequest(Google.Apis.Services.IClientService service, Google.Apis.APIhub.v1.Data.GoogleCloudApihubV1ManageAddonConfigRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Required. The name of the addon for which the config is to be managed. Format: + /// `projects/{project}/locations/{location}/addons/{addon}`. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.APIhub.v1.Data.GoogleCloudApihubV1ManageAddonConfigRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "manageConfig"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:manageConfig"; + + /// Initializes ManageConfig parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/addons/[^/]+$", + }); + } + } + } + /// Gets the ApiHubInstances resource. public virtual ApiHubInstancesResource ApiHubInstances { get; } @@ -7524,6 +7759,146 @@ public class GoogleCloudApihubV1ActionExecutionDetail : Google.Apis.Requests.IDi public virtual string ETag { get; set; } } + /// Addon resource. + public class GoogleCloudApihubV1Addon : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The configuration of the addon. + [Newtonsoft.Json.JsonPropertyAttribute("config")] + public virtual GoogleCloudApihubV1AddonConfig Config { get; set; } + + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The time at which the addon was created. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Required. The data source on which the addon operates. This determines which field in the `config` oneof is + /// used. + /// + [Newtonsoft.Json.JsonPropertyAttribute("dataSource")] + public virtual string DataSource { get; set; } + + /// Optional. The description of the addon. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// Required. The display name of the addon. + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + + /// + /// Identifier. The name of the addon to enable. Format: + /// `projects/{project}/locations/{location}/addons/{addon}`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. The state of the addon. + [Newtonsoft.Json.JsonPropertyAttribute("state")] + public virtual string State { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The time at which the addon was last updated. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configuration for the addon. + public class GoogleCloudApihubV1AddonConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Configuration for addons which act on all data in the API hub. + [Newtonsoft.Json.JsonPropertyAttribute("allDataAddonConfig")] + public virtual GoogleCloudApihubV1AllDataAddonConfig AllDataAddonConfig { get; set; } + + /// Configuration for gateway plugin addons. + [Newtonsoft.Json.JsonPropertyAttribute("gatewayPluginAddonConfig")] + public virtual GoogleCloudApihubV1GatewayPluginAddonConfig GatewayPluginAddonConfig { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Configuration for addons which act on all data in the API hub. This is used to specify if the addon is enabled + /// for all data in the API hub. + /// + public class GoogleCloudApihubV1AllDataAddonConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. If true, the addon is enabled for all data in the API hub. + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The value that can be assigned to the attribute when the data type is enum. public class GoogleCloudApihubV1AllowedValue : Google.Apis.Requests.IDirectResponseSchema { @@ -8106,6 +8481,60 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// Configuration for Apigee Edge gateways. Applicability of a filter is determined by the filter being provided. If + /// none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin + /// instance. + /// + public class GoogleCloudApihubV1ApigeeEdgeConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The filter to apply on the resources managed by the gateway plugin instance. If provided this + /// filter applies environment specific filtering. + /// + [Newtonsoft.Json.JsonPropertyAttribute("environmentFilter")] + public virtual GoogleCloudApihubV1EnvironmentFilter EnvironmentFilter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Configuration for Apigee OPDK gateways. Applicability of a filter is determined by the filter being provided. If + /// none of the filters are provided the addon will be enabled for all data brought in by the gateway plugin + /// instance. + /// + public class GoogleCloudApihubV1ApigeeOPDKConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The filter to apply on the resources managed by the gateway plugin instance. If provided this + /// filter applies environment specific filtering. + /// + [Newtonsoft.Json.JsonPropertyAttribute("environmentFilter")] + public virtual GoogleCloudApihubV1EnvironmentFilter EnvironmentFilter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Configuration for Apigee X and Apigee Hybrid gateways. Applicability of a filter is determined by the filter + /// being provided. If none of the filters are provided the addon will be enabled for all data brought in by the + /// gateway plugin instance. + /// + public class GoogleCloudApihubV1ApigeeXHybridConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The filter to apply on the resources managed by the gateway plugin instance. If provided this + /// filter applies environment specific filtering. + /// + [Newtonsoft.Json.JsonPropertyAttribute("environmentFilter")] + public virtual GoogleCloudApihubV1EnvironmentFilter EnvironmentFilter { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The details of the Application Integration endpoint to be triggered for curation. public class GoogleCloudApihubV1ApplicationIntegrationEndpointDetails : Google.Apis.Requests.IDirectResponseSchema { @@ -9720,6 +10149,27 @@ public class GoogleCloudApihubV1EnumAttributeValues : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } + /// Filter for environments. + public class GoogleCloudApihubV1EnvironmentFilter : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Indicates if this filter should match all environments or only a subset of environments. If set to + /// true, all environments are matched. + /// + [Newtonsoft.Json.JsonPropertyAttribute("allEnvironments")] + public virtual System.Nullable AllEnvironments { get; set; } + + /// + /// Optional. If provided, only environments in this list are matched. This field is ignored if + /// `all_environments` is true. + /// + [Newtonsoft.Json.JsonPropertyAttribute("environments")] + public virtual System.Collections.Generic.IList Environments { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The ExecutePluginInstanceAction method's request. public class GoogleCloudApihubV1ExecutePluginInstanceActionRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -9866,6 +10316,49 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// Configuration for gateway plugin addons. This is used to specify the list of gateway plugin configs for which + /// the addon is enabled. + /// + public class GoogleCloudApihubV1GatewayPluginAddonConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The list of gateway plugin configs for which the addon is enabled. Each gateway plugin config + /// should have a unique plugin instance. + /// + [Newtonsoft.Json.JsonPropertyAttribute("gatewayPluginConfigs")] + public virtual System.Collections.Generic.IList GatewayPluginConfigs { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Configuration for a gateway plugin. This is used to specify configs for different gateways. + public class GoogleCloudApihubV1GatewayPluginConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Configuration for Apigee Edge gateways. + [Newtonsoft.Json.JsonPropertyAttribute("apigeeEdgeConfig")] + public virtual GoogleCloudApihubV1ApigeeEdgeConfig ApigeeEdgeConfig { get; set; } + + /// Configuration for Apigee OPDK gateways. + [Newtonsoft.Json.JsonPropertyAttribute("apigeeOpdkConfig")] + public virtual GoogleCloudApihubV1ApigeeOPDKConfig ApigeeOpdkConfig { get; set; } + + /// Configuration for Apigee X and Apigee Hybrid gateways. + [Newtonsoft.Json.JsonPropertyAttribute("apigeeXHybridConfig")] + public virtual GoogleCloudApihubV1ApigeeXHybridConfig ApigeeXHybridConfig { get; set; } + + /// + /// Required. The name of the gateway plugin instance for which the config is to be specified. Format: + /// projects/{project}/locations/{location}/plugins/{plugin}/pluginInstances/{plugin_instance} + /// + [Newtonsoft.Json.JsonPropertyAttribute("pluginInstance")] + public virtual string PluginInstance { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Config for Google service account authentication. public class GoogleCloudApihubV1GoogleServiceAccountConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -10244,6 +10737,23 @@ public class GoogleCloudApihubV1LintSpecRequest : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } + /// The ListAddons method's response. + public class GoogleCloudApihubV1ListAddonsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The list of addons. + [Newtonsoft.Json.JsonPropertyAttribute("addons")] + public virtual System.Collections.Generic.IList Addons { get; set; } + + /// + /// A token to retrieve the next page of results, or empty if there are no more results in the list. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The ListApiOperations method's response. public class GoogleCloudApihubV1ListApiOperationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -10538,6 +11048,20 @@ public class GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse : Google. public virtual string ETag { get; set; } } + /// The ManageAddonConfig method's request. + public class GoogleCloudApihubV1ManageAddonConfigRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The config of the addon to be managed. This config will replace the config present in the addon. + /// The type of the config should match the config type already present in the addon. + /// + [Newtonsoft.Json.JsonPropertyAttribute("config")] + public virtual GoogleCloudApihubV1AddonConfig Config { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The ManagePluginInstanceSourceData method's request. public class GoogleCloudApihubV1ManagePluginInstanceSourceDataRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -11107,6 +11631,13 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Optional. The source environment's config present in the gateway instance linked to the plugin instance. The + /// key is the `source_environment` name from the SourceEnvironment message. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sourceEnvironmentsConfig")] + public virtual System.Collections.Generic.IDictionary SourceEnvironmentsConfig { get; set; } + /// /// Optional. The source project id of the plugin instance. This will be the id of runtime project in case of /// gcp based plugins and org id in case of non gcp based plugins. This field will be a required field for @@ -11503,6 +12034,98 @@ public class GoogleCloudApihubV1Secret : Google.Apis.Requests.IDirectResponseSch public virtual string ETag { get; set; } } + /// Message representing the source environment details. + public class GoogleCloudApihubV1SourceEnvironment : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Optional. The time at which the environment was created at the source. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Required. The name of the environment at the source. This should map to Deployment. + [Newtonsoft.Json.JsonPropertyAttribute("sourceEnvironment")] + public virtual string SourceEnvironment { get; set; } + + /// + /// The location where additional information about source environments can be found. The location should be + /// relative path of the environment manifest with respect to a plugin instance. + /// + [Newtonsoft.Json.JsonPropertyAttribute("sourceEnvironmentUri")] + public virtual string SourceEnvironmentUri { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Optional. The time at which the environment was last updated at the source. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// SourceMetadata represents the metadata for a resource at the source. public class GoogleCloudApihubV1SourceMetadata : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.csproj b/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.csproj index 6724623b733..d39ecd46339 100644 --- a/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.csproj +++ b/Src/Generated/Google.Apis.APIhub.v1/Google.Apis.APIhub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.APIhub.v1 Client Library - 1.72.0.3950 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google From 26d7e159c012bdfc49ef01bf975ce92064bdc197 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:39 +0000 Subject: [PATCH 010/106] feat: Generate Google.Apis.Appengine.v1beta version 1.72.0.3966 --- DiscoveryJson/appengine.v1beta.json | 45 ++++++++++++++++++- .../Google.Apis.Appengine.v1beta.cs | 4 ++ .../Google.Apis.Appengine.v1beta.csproj | 2 +- 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/appengine.v1beta.json b/DiscoveryJson/appengine.v1beta.json index af9dcde0cc1..ad814b50ef4 100644 --- a/DiscoveryJson/appengine.v1beta.json +++ b/DiscoveryJson/appengine.v1beta.json @@ -2741,7 +2741,7 @@ } } }, - "revision": "20251103", + "revision": "20251110", "rootUrl": "https://appengine.googleapis.com/", "schemas": { "ApiConfigHandler": { @@ -5155,6 +5155,49 @@ "description": "Allows App Engine second generation runtimes to access the legacy bundled services.", "type": "boolean" }, + "appEngineBundledServices": { + "description": "List of specific App Engine Bundled Services that are enabled for this Version.", + "items": { + "enum": [ + "BUNDLED_SERVICE_TYPE_UNSPECIFIED", + "BUNDLED_SERVICE_TYPE_APP_IDENTITY_SERVICE", + "BUNDLED_SERVICE_TYPE_BLOBSTORE", + "BUNDLED_SERVICE_TYPE_CAPABILITY_SERVICE", + "BUNDLED_SERVICE_TYPE_DATASTORE_V3", + "BUNDLED_SERVICE_TYPE_DEFERRED", + "BUNDLED_SERVICE_TYPE_IMAGES", + "BUNDLED_SERVICE_TYPE_MAIL", + "BUNDLED_SERVICE_TYPE_MEMCACHE", + "BUNDLED_SERVICE_TYPE_MODULES", + "BUNDLED_SERVICE_TYPE_NAMESPACES", + "BUNDLED_SERVICE_TYPE_NDB", + "BUNDLED_SERVICE_TYPE_SEARCH", + "BUNDLED_SERVICE_TYPE_TASKQUEUES", + "BUNDLED_SERVICE_TYPE_URLFETCH", + "BUNDLED_SERVICE_TYPE_USERS" + ], + "enumDescriptions": [ + "Default, invalid value", + "App Identity Service", + "Blobstore", + "Capability Service", + "Datastore V3", + "Deferred", + "Images", + "Mail", + "Memcache", + "Modules", + "Namespaces", + "NDB", + "Search", + "Task Queues", + "URL Fetch", + "Users" + ], + "type": "string" + }, + "type": "array" + }, "automaticScaling": { "$ref": "AutomaticScaling", "description": "Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic." diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs index 14a299f1fd6..87ca91c8b2f 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.cs @@ -8828,6 +8828,10 @@ public class Version : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("appEngineApis")] public virtual System.Nullable AppEngineApis { get; set; } + /// List of specific App Engine Bundled Services that are enabled for this Version. + [Newtonsoft.Json.JsonPropertyAttribute("appEngineBundledServices")] + public virtual System.Collections.Generic.IList AppEngineBundledServices { get; set; } + /// /// Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are /// dynamically created and destroyed as needed in order to handle traffic. diff --git a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj index c63b904ca92..5b8faa8b747 100644 --- a/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj +++ b/Src/Generated/Google.Apis.Appengine.v1beta/Google.Apis.Appengine.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Appengine.v1beta Client Library - 1.72.0.3959 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google From 02bf2d699c9cfc32c97b34bf2f44670150dcbf8e Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:41 +0000 Subject: [PATCH 011/106] feat: Generate Google.Apis.AppHub.v1 version 1.72.0.3970 --- DiscoveryJson/apphub.v1.json | 195 ++++++++++- .../Google.Apis.AppHub.v1.cs | 321 +++++++++++++++++- .../Google.Apis.AppHub.v1.csproj | 2 +- 3 files changed, 509 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/apphub.v1.json b/DiscoveryJson/apphub.v1.json index 8e975cba167..dc7defb8180 100644 --- a/DiscoveryJson/apphub.v1.json +++ b/DiscoveryJson/apphub.v1.json @@ -162,6 +162,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getBoundary": { + "description": "Gets a Boundary.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/boundary", + "httpMethod": "GET", + "id": "apphub.projects.locations.getBoundary", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the boundary to retrieve. Format: projects/{project}/locations/{location}/boundary", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/boundary$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Boundary" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v1/projects/{projectsId}/locations", @@ -233,6 +258,45 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "updateBoundary": { + "description": "Updates a Boundary.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/boundary", + "httpMethod": "PATCH", + "id": "apphub.projects.locations.updateBoundary", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/boundary$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the Boundary resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Boundary" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -1194,7 +1258,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1357,7 +1421,7 @@ } } }, - "revision": "20251028", + "revision": "20251114", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { @@ -1527,6 +1591,50 @@ }, "type": "object" }, + "Boundary": { + "description": "Application management boundary.", + "id": "Boundary", + "properties": { + "createTime": { + "description": "Output only. Create time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "crmNode": { + "description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}` or `projects/{project-id}`", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", + "type": "string" + }, + "type": { + "description": "Output only. Boundary type.", + "enum": [ + "TYPE_UNSPECIFIED", + "AUTOMATIC", + "MANUAL", + "MANAGED_AUTOMATIC" + ], + "enumDescriptions": [ + "Unspecified type.", + "The Boundary automatically includes all descendants of the CRM node.", + "The list of projects within the Boundary is managed by the user.", + "The Boundary automatically includes all descendants of the CRM node, which is set via App Management folder capability." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Update time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", @@ -1681,6 +1789,22 @@ }, "type": "object" }, + "ExtendedMetadata": { + "description": "Additional metadata for a Service or Workload.", + "id": "ExtendedMetadata", + "properties": { + "metadataStruct": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Output only. The metadata contents.", + "readOnly": true, + "type": "object" + } + }, + "type": "object" + }, "FunctionalType": { "description": "The functional type of a service or workload.", "id": "FunctionalType", @@ -1703,6 +1827,18 @@ }, "type": "object" }, + "Identity": { + "description": "The identity associated with a service or workload.", + "id": "Identity", + "properties": { + "principal": { + "description": "Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "ListApplicationsResponse": { "description": "Response for ListApplications.", "id": "ListApplicationsResponse", @@ -1812,7 +1948,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, @@ -2104,6 +2240,28 @@ }, "type": "object" }, + "RegistrationType": { + "description": "The registration type of a service.", + "id": "RegistrationType", + "properties": { + "type": { + "description": "Output only. The registration type of a service.", + "enum": [ + "TYPE_UNSPECIFIED", + "EXCLUSIVE", + "SHARED" + ], + "enumDescriptions": [ + "Unspecified registration type. Defaults to EXCLUSIVE.", + "The service can only be registered to one application.", + "The service can be registered to multiple applications." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Scope": { "description": "Scope of an application.", "id": "Scope", @@ -2245,6 +2403,14 @@ "description": "Properties of an underlying cloud resource that can comprise a Service.", "id": "ServiceProperties", "properties": { + "extendedMetadata": { + "additionalProperties": { + "$ref": "ExtendedMetadata" + }, + "description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", + "readOnly": true, + "type": "object" + }, "functionalType": { "$ref": "FunctionalType", "description": "Output only. The type of the service.", @@ -2255,11 +2421,21 @@ "readOnly": true, "type": "string" }, + "identity": { + "$ref": "Identity", + "description": "Output only. The identity associated with the service.", + "readOnly": true + }, "location": { "description": "Output only. The location that the underlying resource resides in, for example, us-west1.", "readOnly": true, "type": "string" }, + "registrationType": { + "$ref": "RegistrationType", + "description": "Output only. The registration type of the service.", + "readOnly": true + }, "zone": { "description": "Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).", "readOnly": true, @@ -2428,6 +2604,14 @@ "description": "Properties of an underlying compute resource represented by the Workload.", "id": "WorkloadProperties", "properties": { + "extendedMetadata": { + "additionalProperties": { + "$ref": "ExtendedMetadata" + }, + "description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", + "readOnly": true, + "type": "object" + }, "functionalType": { "$ref": "FunctionalType", "description": "Output only. The type of the workload.", @@ -2438,6 +2622,11 @@ "readOnly": true, "type": "string" }, + "identity": { + "$ref": "Identity", + "description": "Output only. The identity associated with the workload.", + "readOnly": true + }, "location": { "description": "Output only. The location that the underlying compute resource resides in (for example, us-west1).", "readOnly": true, diff --git a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs index e4f49c13bb9..d0396b06fb7 100644 --- a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs +++ b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.cs @@ -2559,9 +2559,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -3073,6 +3073,56 @@ protected override void InitParameters() } } + /// Gets a Boundary. + /// + /// Required. The name of the boundary to retrieve. Format: projects/{project}/locations/{location}/boundary + /// + public virtual GetBoundaryRequest GetBoundary(string name) + { + return new GetBoundaryRequest(this.service, name); + } + + /// Gets a Boundary. + public class GetBoundaryRequest : AppHubBaseServiceRequest + { + /// Constructs a new GetBoundary request. + public GetBoundaryRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the boundary to retrieve. Format: + /// projects/{project}/locations/{location}/boundary + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "getBoundary"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes GetBoundary parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/boundary$", + }); + } + } + /// Lists information about the supported locations for this service. /// The resource that owns the locations collection, if applicable. public virtual ListRequest List(string name) @@ -3233,6 +3283,103 @@ protected override void InitParameters() }); } } + + /// Updates a Boundary. + /// The body of the request. + /// + /// Identifier. The resource name of the boundary. Format: + /// "projects/{project}/locations/{location}/boundary" + /// + public virtual UpdateBoundaryRequest UpdateBoundary(Google.Apis.AppHub.v1.Data.Boundary body, string name) + { + return new UpdateBoundaryRequest(this.service, body, name); + } + + /// Updates a Boundary. + public class UpdateBoundaryRequest : AppHubBaseServiceRequest + { + /// Constructs a new UpdateBoundary request. + public UpdateBoundaryRequest(Google.Apis.Services.IClientService service, Google.Apis.AppHub.v1.Data.Boundary body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. The resource name of the boundary. Format: + /// "projects/{project}/locations/{location}/boundary" + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + /// must retry your request, the server will know to ignore the request if it has already been + /// completed. The server will guarantee that for at least 60 minutes since the first request. For + /// example, consider a situation where you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if original operation with the + /// same request ID was received, and if so, will ignore the second request. This prevents clients from + /// accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + /// that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /// + [Google.Apis.Util.RequestParameterAttribute("requestId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestId { get; set; } + + /// + /// Required. Field mask is used to specify the fields to be overwritten in the Boundary resource by the + /// update. The fields specified in the update_mask are relative to the resource, not the full request. + /// A field will be overwritten if it is in the mask. If the user does not provide a mask then all + /// fields will be overwritten. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.AppHub.v1.Data.Boundary Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "updateBoundary"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes UpdateBoundary parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/boundary$", + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } } } @@ -3512,6 +3659,104 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Application management boundary. + public class Boundary : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. Create time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. The resource name of the CRM node being attached to the boundary. Format: + /// `projects/{project-number}` or `projects/{project-id}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("crmNode")] + public virtual string CrmNode { get; set; } + + /// + /// Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary" + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Boundary type. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. Update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -3685,6 +3930,17 @@ public class Expr : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Additional metadata for a Service or Workload. + public class ExtendedMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The metadata contents. + [Newtonsoft.Json.JsonPropertyAttribute("metadataStruct")] + public virtual System.Collections.Generic.IDictionary MetadataStruct { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The functional type of a service or workload. public class FunctionalType : Google.Apis.Requests.IDirectResponseSchema { @@ -3696,6 +3952,22 @@ public class FunctionalType : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The identity associated with a service or workload. + public class Identity : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.iam.gserviceaccount.com` for + /// GCP Service Account * + /// `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for + /// Managed Workload Identity + /// + [Newtonsoft.Json.JsonPropertyAttribute("principal")] + public virtual string Principal { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response for ListApplications. public class ListApplicationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -3781,8 +4053,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } @@ -4153,6 +4425,17 @@ public class ReconciliationOperationMetadata : Google.Apis.Requests.IDirectRespo public virtual string ETag { get; set; } } + /// The registration type of a service. + public class RegistrationType : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The registration type of a service. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Scope of an application. public class Scope : Google.Apis.Requests.IDirectResponseSchema { @@ -4373,6 +4656,14 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// Properties of an underlying cloud resource that can comprise a Service. public class ServiceProperties : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Additional metadata specific to the resource type. The key is a string that identifies the type + /// of metadata and the value is the metadata contents specific to that type. Key format: + /// `apphub.googleapis.com/{metadataType}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("extendedMetadata")] + public virtual System.Collections.Generic.IDictionary ExtendedMetadata { get; set; } + /// Output only. The type of the service. [Newtonsoft.Json.JsonPropertyAttribute("functionalType")] public virtual FunctionalType FunctionalType { get; set; } @@ -4383,10 +4674,18 @@ public class ServiceProperties : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("gcpProject")] public virtual string GcpProject { get; set; } + /// Output only. The identity associated with the service. + [Newtonsoft.Json.JsonPropertyAttribute("identity")] + public virtual Identity Identity { get; set; } + /// Output only. The location that the underlying resource resides in, for example, us-west1. [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual string Location { get; set; } + /// Output only. The registration type of the service. + [Newtonsoft.Json.JsonPropertyAttribute("registrationType")] + public virtual RegistrationType RegistrationType { get; set; } + /// /// Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a). /// @@ -4622,6 +4921,14 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset /// Properties of an underlying compute resource represented by the Workload. public class WorkloadProperties : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Additional metadata specific to the resource type. The key is a string that identifies the type + /// of metadata and the value is the metadata contents specific to that type. Key format: + /// `apphub.googleapis.com/{metadataType}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("extendedMetadata")] + public virtual System.Collections.Generic.IDictionary ExtendedMetadata { get; set; } + /// Output only. The type of the workload. [Newtonsoft.Json.JsonPropertyAttribute("functionalType")] public virtual FunctionalType FunctionalType { get; set; } @@ -4633,6 +4940,10 @@ public class WorkloadProperties : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("gcpProject")] public virtual string GcpProject { get; set; } + /// Output only. The identity associated with the workload. + [Newtonsoft.Json.JsonPropertyAttribute("identity")] + public virtual Identity Identity { get; set; } + /// /// Output only. The location that the underlying compute resource resides in (for example, us-west1). /// diff --git a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj index 7512821e997..5469eef6bc1 100644 --- a/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj +++ b/Src/Generated/Google.Apis.AppHub.v1/Google.Apis.AppHub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AppHub.v1 Client Library - 1.72.0.3953 + 1.72.0.3970 Google LLC Copyright 2025 Google LLC Google From 053411d111cec08d42e6d44ab39d3da47669789d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:43 +0000 Subject: [PATCH 012/106] feat: Generate Google.Apis.AppHub.v1alpha version 1.72.0.3970 --- DiscoveryJson/apphub.v1alpha.json | 195 ++++++++++- .../Google.Apis.AppHub.v1alpha.cs | 321 +++++++++++++++++- .../Google.Apis.AppHub.v1alpha.csproj | 2 +- 3 files changed, 509 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/apphub.v1alpha.json b/DiscoveryJson/apphub.v1alpha.json index 736cb919b05..87b61072aa2 100644 --- a/DiscoveryJson/apphub.v1alpha.json +++ b/DiscoveryJson/apphub.v1alpha.json @@ -162,6 +162,31 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getBoundary": { + "description": "Gets a Boundary.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/boundary", + "httpMethod": "GET", + "id": "apphub.projects.locations.getBoundary", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the boundary to retrieve. Format: projects/{project}/locations/{location}/boundary", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/boundary$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "Boundary" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists information about the supported locations for this service.", "flatPath": "v1alpha/projects/{projectsId}/locations", @@ -233,6 +258,45 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "updateBoundary": { + "description": "Updates a Boundary.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/boundary", + "httpMethod": "PATCH", + "id": "apphub.projects.locations.updateBoundary", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/boundary$", + "required": true, + "type": "string" + }, + "requestId": { + "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "Required. Field mask is used to specify the fields to be overwritten in the Boundary resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "request": { + "$ref": "Boundary" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }, "resources": { @@ -1286,7 +1350,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1449,7 +1513,7 @@ } } }, - "revision": "20251028", + "revision": "20251114", "rootUrl": "https://apphub.googleapis.com/", "schemas": { "Application": { @@ -1619,6 +1683,50 @@ }, "type": "object" }, + "Boundary": { + "description": "Application management boundary.", + "id": "Boundary", + "properties": { + "createTime": { + "description": "Output only. Create time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "crmNode": { + "description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}` or `projects/{project-id}`", + "type": "string" + }, + "name": { + "description": "Identifier. The resource name of the boundary. Format: \"projects/{project}/locations/{location}/boundary\"", + "type": "string" + }, + "type": { + "description": "Output only. Boundary type.", + "enum": [ + "TYPE_UNSPECIFIED", + "AUTOMATIC", + "MANUAL", + "MANAGED_AUTOMATIC" + ], + "enumDescriptions": [ + "Unspecified type.", + "The Boundary automatically includes all descendants of the CRM node.", + "The list of projects within the Boundary is managed by the user.", + "The Boundary automatically includes all descendants of the CRM node, which is set via App Management folder capability." + ], + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. Update time.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "CancelOperationRequest": { "description": "The request message for Operations.CancelOperation.", "id": "CancelOperationRequest", @@ -1803,6 +1911,22 @@ }, "type": "object" }, + "ExtendedMetadata": { + "description": "Additional metadata for a Service or Workload.", + "id": "ExtendedMetadata", + "properties": { + "metadataStruct": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Output only. The metadata contents.", + "readOnly": true, + "type": "object" + } + }, + "type": "object" + }, "FindUnregisteredServicesResponse": { "description": "Response for FindUnregisteredServices.", "id": "FindUnregisteredServicesResponse", @@ -1875,6 +1999,18 @@ }, "type": "object" }, + "Identity": { + "description": "The identity associated with a service or workload.", + "id": "Identity", + "properties": { + "principal": { + "description": "Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "ListApplicationsResponse": { "description": "Response for ListApplications.", "id": "ListApplicationsResponse", @@ -1984,7 +2120,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, @@ -2245,6 +2381,28 @@ }, "type": "object" }, + "RegistrationType": { + "description": "The registration type of a service.", + "id": "RegistrationType", + "properties": { + "type": { + "description": "Output only. The registration type of a service.", + "enum": [ + "TYPE_UNSPECIFIED", + "EXCLUSIVE", + "SHARED" + ], + "enumDescriptions": [ + "Unspecified registration type. Defaults to EXCLUSIVE.", + "The service can only be registered to one application.", + "The service can be registered to multiple applications." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Scope": { "description": "Scope of an application.", "id": "Scope", @@ -2386,6 +2544,14 @@ "description": "Properties of an underlying cloud resource that can comprise a Service.", "id": "ServiceProperties", "properties": { + "extendedMetadata": { + "additionalProperties": { + "$ref": "ExtendedMetadata" + }, + "description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", + "readOnly": true, + "type": "object" + }, "functionalType": { "$ref": "FunctionalType", "description": "Output only. The type of the service.", @@ -2396,11 +2562,21 @@ "readOnly": true, "type": "string" }, + "identity": { + "$ref": "Identity", + "description": "Output only. The identity associated with the service.", + "readOnly": true + }, "location": { "description": "Output only. The location that the underlying resource resides in, for example, us-west1.", "readOnly": true, "type": "string" }, + "registrationType": { + "$ref": "RegistrationType", + "description": "Output only. The registration type of the service.", + "readOnly": true + }, "zone": { "description": "Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a).", "readOnly": true, @@ -2574,6 +2750,14 @@ "description": "Properties of an underlying compute resource represented by the Workload.", "id": "WorkloadProperties", "properties": { + "extendedMetadata": { + "additionalProperties": { + "$ref": "ExtendedMetadata" + }, + "description": "Output only. Additional metadata specific to the resource type. The key is a string that identifies the type of metadata and the value is the metadata contents specific to that type. Key format: `apphub.googleapis.com/{metadataType}`", + "readOnly": true, + "type": "object" + }, "functionalType": { "$ref": "FunctionalType", "description": "Output only. The type of the workload.", @@ -2584,6 +2768,11 @@ "readOnly": true, "type": "string" }, + "identity": { + "$ref": "Identity", + "description": "Output only. The identity associated with the workload.", + "readOnly": true + }, "location": { "description": "Output only. The location that the underlying compute resource resides in (for example, us-west1).", "readOnly": true, diff --git a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs index f2cfe3a011d..078803c16f7 100644 --- a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs +++ b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.cs @@ -2763,9 +2763,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -3277,6 +3277,56 @@ protected override void InitParameters() } } + /// Gets a Boundary. + /// + /// Required. The name of the boundary to retrieve. Format: projects/{project}/locations/{location}/boundary + /// + public virtual GetBoundaryRequest GetBoundary(string name) + { + return new GetBoundaryRequest(this.service, name); + } + + /// Gets a Boundary. + public class GetBoundaryRequest : AppHubBaseServiceRequest + { + /// Constructs a new GetBoundary request. + public GetBoundaryRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the boundary to retrieve. Format: + /// projects/{project}/locations/{location}/boundary + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "getBoundary"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes GetBoundary parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/boundary$", + }); + } + } + /// Lists information about the supported locations for this service. /// The resource that owns the locations collection, if applicable. public virtual ListRequest List(string name) @@ -3437,6 +3487,103 @@ protected override void InitParameters() }); } } + + /// Updates a Boundary. + /// The body of the request. + /// + /// Identifier. The resource name of the boundary. Format: + /// "projects/{project}/locations/{location}/boundary" + /// + public virtual UpdateBoundaryRequest UpdateBoundary(Google.Apis.AppHub.v1alpha.Data.Boundary body, string name) + { + return new UpdateBoundaryRequest(this.service, body, name); + } + + /// Updates a Boundary. + public class UpdateBoundaryRequest : AppHubBaseServiceRequest + { + /// Constructs a new UpdateBoundary request. + public UpdateBoundaryRequest(Google.Apis.Services.IClientService service, Google.Apis.AppHub.v1alpha.Data.Boundary body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Identifier. The resource name of the boundary. Format: + /// "projects/{project}/locations/{location}/boundary" + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you + /// must retry your request, the server will know to ignore the request if it has already been + /// completed. The server will guarantee that for at least 60 minutes since the first request. For + /// example, consider a situation where you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if original operation with the + /// same request ID was received, and if so, will ignore the second request. This prevents clients from + /// accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception + /// that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /// + [Google.Apis.Util.RequestParameterAttribute("requestId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RequestId { get; set; } + + /// + /// Required. Field mask is used to specify the fields to be overwritten in the Boundary resource by the + /// update. The fields specified in the update_mask are relative to the resource, not the full request. + /// A field will be overwritten if it is in the mask. If the user does not provide a mask then all + /// fields will be overwritten. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.AppHub.v1alpha.Data.Boundary Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "updateBoundary"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes UpdateBoundary parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/boundary$", + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } } } @@ -3716,6 +3863,104 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Application management boundary. + public class Boundary : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. Create time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// + /// Optional. The resource name of the CRM node being attached to the boundary. Format: + /// `projects/{project-number}` or `projects/{project-id}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("crmNode")] + public virtual string CrmNode { get; set; } + + /// + /// Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary" + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// Output only. Boundary type. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. Update time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The request message for Operations.CancelOperation. public class CancelOperationRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -3925,6 +4170,17 @@ public class Expr : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Additional metadata for a Service or Workload. + public class ExtendedMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The metadata contents. + [Newtonsoft.Json.JsonPropertyAttribute("metadataStruct")] + public virtual System.Collections.Generic.IDictionary MetadataStruct { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response for FindUnregisteredServices. public class FindUnregisteredServicesResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -3974,6 +4230,22 @@ public class FunctionalType : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The identity associated with a service or workload. + public class Identity : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.iam.gserviceaccount.com` for + /// GCP Service Account * + /// `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for + /// Managed Workload Identity + /// + [Newtonsoft.Json.JsonPropertyAttribute("principal")] + public virtual string Principal { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response for ListApplications. public class ListApplicationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -4059,8 +4331,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } @@ -4416,6 +4688,17 @@ public class Policy : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Version { get; set; } } + /// The registration type of a service. + public class RegistrationType : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The registration type of a service. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Scope of an application. public class Scope : Google.Apis.Requests.IDirectResponseSchema { @@ -4636,6 +4919,14 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// Properties of an underlying cloud resource that can comprise a Service. public class ServiceProperties : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Additional metadata specific to the resource type. The key is a string that identifies the type + /// of metadata and the value is the metadata contents specific to that type. Key format: + /// `apphub.googleapis.com/{metadataType}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("extendedMetadata")] + public virtual System.Collections.Generic.IDictionary ExtendedMetadata { get; set; } + /// Output only. The type of the service. [Newtonsoft.Json.JsonPropertyAttribute("functionalType")] public virtual FunctionalType FunctionalType { get; set; } @@ -4646,10 +4937,18 @@ public class ServiceProperties : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("gcpProject")] public virtual string GcpProject { get; set; } + /// Output only. The identity associated with the service. + [Newtonsoft.Json.JsonPropertyAttribute("identity")] + public virtual Identity Identity { get; set; } + /// Output only. The location that the underlying resource resides in, for example, us-west1. [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual string Location { get; set; } + /// Output only. The registration type of the service. + [Newtonsoft.Json.JsonPropertyAttribute("registrationType")] + public virtual RegistrationType RegistrationType { get; set; } + /// /// Output only. The location that the underlying resource resides in if it is zonal, for example, us-west1-a). /// @@ -4892,6 +5191,14 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset /// Properties of an underlying compute resource represented by the Workload. public class WorkloadProperties : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Output only. Additional metadata specific to the resource type. The key is a string that identifies the type + /// of metadata and the value is the metadata contents specific to that type. Key format: + /// `apphub.googleapis.com/{metadataType}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("extendedMetadata")] + public virtual System.Collections.Generic.IDictionary ExtendedMetadata { get; set; } + /// Output only. The type of the workload. [Newtonsoft.Json.JsonPropertyAttribute("functionalType")] public virtual FunctionalType FunctionalType { get; set; } @@ -4903,6 +5210,10 @@ public class WorkloadProperties : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("gcpProject")] public virtual string GcpProject { get; set; } + /// Output only. The identity associated with the workload. + [Newtonsoft.Json.JsonPropertyAttribute("identity")] + public virtual Identity Identity { get; set; } + /// /// Output only. The location that the underlying compute resource resides in (for example, us-west1). /// diff --git a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj index da80e8499c8..a29326193e1 100644 --- a/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj +++ b/Src/Generated/Google.Apis.AppHub.v1alpha/Google.Apis.AppHub.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.AppHub.v1alpha Client Library - 1.72.0.3953 + 1.72.0.3970 Google LLC Copyright 2025 Google LLC Google From 00e996186cb3cca8d12a2408a02bf9022340f902 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:45 +0000 Subject: [PATCH 013/106] feat: Generate Google.Apis.ArtifactRegistry.v1beta2 version 1.72.0.3954 --- DiscoveryJson/artifactregistry.v1beta2.json | 4 ++-- .../Google.Apis.ArtifactRegistry.v1beta2.cs | 4 ++-- .../Google.Apis.ArtifactRegistry.v1beta2.csproj | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/artifactregistry.v1beta2.json b/DiscoveryJson/artifactregistry.v1beta2.json index 1230fd100dd..0a352e6abf9 100644 --- a/DiscoveryJson/artifactregistry.v1beta2.json +++ b/DiscoveryJson/artifactregistry.v1beta2.json @@ -447,7 +447,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1450,7 +1450,7 @@ } } }, - "revision": "20250925", + "revision": "20251029", "rootUrl": "https://artifactregistry.googleapis.com/", "schemas": { "AptArtifact": { diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs index 00170ee16ae..3d5efc4d3b9 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.cs @@ -2804,8 +2804,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj index 0acc22840d1..46a1df69fde 100644 --- a/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj +++ b/Src/Generated/Google.Apis.ArtifactRegistry.v1beta2/Google.Apis.ArtifactRegistry.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.ArtifactRegistry.v1beta2 Client Library - 1.71.0.3920 + 1.72.0.3954 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + From c03f8949ed87de47ff422d21bb64b11b0e30e3ae Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:48 +0000 Subject: [PATCH 014/106] feat: Generate Google.Apis.Backupdr.v1 version 1.72.0.3968 --- DiscoveryJson/backupdr.v1.json | 119 ++++++++++++++++- .../Google.Apis.Backupdr.v1.cs | 123 +++++++++++++++++- .../Google.Apis.Backupdr.v1.csproj | 2 +- 3 files changed, 238 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/backupdr.v1.json b/DiscoveryJson/backupdr.v1.json index ea6037fcee0..860c438ef07 100644 --- a/DiscoveryJson/backupdr.v1.json +++ b/DiscoveryJson/backupdr.v1.json @@ -1373,12 +1373,12 @@ ], "parameters": { "filter": { - "description": "Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:", + "description": "Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields: * name * state * backup_type * create_time * expire_time * enforced_retention_end_time * gcp_backup_plan_info.backup_plan * cloud_sql_instance_backup_properties.instance_tier * cloud_sql_instance_backup_properties.database_installed_version", "location": "query", "type": "string" }, "orderBy": { - "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending.", + "description": "Optional. A comma-separated list of fields to order by, sorted in ascending order. Use \"desc\" after a field name for descending. Supported fields: * name", "location": "query", "type": "string" }, @@ -2199,6 +2199,34 @@ }, "trial": { "methods": { + "end": { + "description": "Ends the trial for a project", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trial:end", + "httpMethod": "POST", + "id": "backupdr.projects.locations.trial.end", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this trial will be ended.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/trial:end", + "request": { + "$ref": "EndTrialRequest" + }, + "response": { + "$ref": "Trial" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "subscribe": { "description": "Subscribes to a trial for a project", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/trial:subscribe", @@ -2234,7 +2262,7 @@ } } }, - "revision": "20251029", + "revision": "20251112", "rootUrl": "https://backupdr.googleapis.com/", "schemas": { "AbandonBackupRequest": { @@ -2646,6 +2674,21 @@ }, "type": "array" }, + "backupRetentionInheritance": { + "description": "Output only. Setting for how the enforced retention end time is inherited. This value is copied from this backup's BackupVault.", + "enum": [ + "BACKUP_RETENTION_INHERITANCE_UNSPECIFIED", + "INHERIT_VAULT_RETENTION", + "MATCH_BACKUP_EXPIRE_TIME" + ], + "enumDescriptions": [ + "Inheritance behavior not set. This will default to `INHERIT_VAULT_RETENTION`.", + "The enforced retention end time of a backup will be inherited from the backup vault's `backup_minimum_enforced_retention_duration` field. This is the default behavior.", + "The enforced retention end time of a backup will always match the expire time of the backup. If this is set, the backup's enforced retention end time will be set to match the expire time during creation of the backup. When updating, the ERET and expire time must be updated together and have the same value. Invalid update requests will be rejected by the server." + ], + "readOnly": true, + "type": "string" + }, "backupType": { "description": "Output only. Type of the backup, unspecified, scheduled or ondemand.", "enum": [ @@ -2719,6 +2762,14 @@ "description": "Output only. Unique identifier of the GCP resource that is being backed up.", "readOnly": true }, + "kmsKeyVersions": { + "description": "Optional. Output only. The list of KMS key versions used to encrypt the backup.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "labels": { "additionalProperties": { "type": "string" @@ -3435,6 +3486,20 @@ "format": "google-duration", "type": "string" }, + "backupRetentionInheritance": { + "description": "Optional. Setting for how a backup's enforced retention end time is inherited.", + "enum": [ + "BACKUP_RETENTION_INHERITANCE_UNSPECIFIED", + "INHERIT_VAULT_RETENTION", + "MATCH_BACKUP_EXPIRE_TIME" + ], + "enumDescriptions": [ + "Inheritance behavior not set. This will default to `INHERIT_VAULT_RETENTION`.", + "The enforced retention end time of a backup will be inherited from the backup vault's `backup_minimum_enforced_retention_duration` field. This is the default behavior.", + "The enforced retention end time of a backup will always match the expire time of the backup. If this is set, the backup's enforced retention end time will be set to match the expire time during creation of the backup. When updating, the ERET and expire time must be updated together and have the same value. Invalid update requests will be rejected by the server." + ], + "type": "string" + }, "createTime": { "description": "Output only. The time when the instance was created.", "format": "google-datetime", @@ -3455,6 +3520,10 @@ "format": "google-datetime", "type": "string" }, + "encryptionConfig": { + "$ref": "EncryptionConfig", + "description": "Optional. The encryption config of the backup vault." + }, "etag": { "description": "Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.", "type": "string" @@ -4566,6 +4635,38 @@ "properties": {}, "type": "object" }, + "EncryptionConfig": { + "description": "Message describing the EncryptionConfig of backup vault. This determines how data within the vault is encrypted at rest.", + "id": "EncryptionConfig", + "properties": { + "kmsKeyName": { + "description": "Optional. The Cloud KMS key name to encrypt backups in this backup vault. Must be in the same region as the vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key}", + "type": "string" + } + }, + "type": "object" + }, + "EndTrialRequest": { + "description": "Request message for ending a trial.", + "id": "EndTrialRequest", + "properties": { + "endReason": { + "description": "Required. The reason for ending the trial.", + "enum": [ + "END_REASON_UNSPECIFIED", + "MOVE_TO_PAID", + "DISCONTINUED" + ], + "enumDescriptions": [ + "End reason not set.", + "Trial is deliberately ended by the user to transition to paid usage.", + "Trial is discontinued before expiration." + ], + "type": "string" + } + }, + "type": "object" + }, "Entry": { "description": "A key/value pair to be used for storing metadata.", "id": "Entry", @@ -5879,6 +5980,11 @@ "description": "Request message for restoring from a Backup.", "id": "RestoreBackupRequest", "properties": { + "clearOverridesFieldMask": { + "description": "Optional. A field mask used to clear server-side default values for fields within the `instance_properties` oneof. When a field in this mask is cleared, the server will not apply its default logic (like inheriting a value from the source) for that field. The most common current use case is clearing default encryption keys. Examples of field mask paths: - Compute Instance Disks: `compute_instance_restore_properties.disks.*.disk_encryption_key` - Single Disk: `disk_restore_properties.disk_encryption_key`", + "format": "google-fieldmask", + "type": "string" + }, "computeInstanceRestoreProperties": { "$ref": "ComputeInstanceRestoreProperties", "description": "Compute Engine instance properties to be overridden during restore." @@ -6402,6 +6508,13 @@ "format": "int32", "type": "integer" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. Labels to be applied on the backup.", + "type": "object" + }, "requestId": { "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", "type": "string" diff --git a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs index 4e7173d364b..017a6ec113c 100644 --- a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs +++ b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.cs @@ -1674,14 +1674,17 @@ public FetchForResourceTypeRequest(Google.Apis.Services.IClientService service, /// /// Optional. A filter expression that filters the results fetched in the response. The /// expression must specify the field name, a comparison operator, and the value that you - /// want to use for filtering. Supported fields: + /// want to use for filtering. Supported fields: * name * state * backup_type * create_time + /// * expire_time * enforced_retention_end_time * gcp_backup_plan_info.backup_plan * + /// cloud_sql_instance_backup_properties.instance_tier * + /// cloud_sql_instance_backup_properties.database_installed_version /// [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } /// /// Optional. A comma-separated list of fields to order by, sorted in ascending order. Use - /// "desc" after a field name for descending. + /// "desc" after a field name for descending. Supported fields: * name /// [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] public virtual string OrderBy { get; set; } @@ -5072,6 +5075,59 @@ public TrialResource(Google.Apis.Services.IClientService service) this.service = service; } + /// Ends the trial for a project + /// The body of the request. + /// Required. The parent resource where this trial will be ended. + public virtual EndRequest End(Google.Apis.Backupdr.v1.Data.EndTrialRequest body, string parent) + { + return new EndRequest(this.service, body, parent); + } + + /// Ends the trial for a project + public class EndRequest : BackupdrBaseServiceRequest + { + /// Constructs a new End request. + public EndRequest(Google.Apis.Services.IClientService service, Google.Apis.Backupdr.v1.Data.EndTrialRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// Required. The parent resource where this trial will be ended. + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Backupdr.v1.Data.EndTrialRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "end"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/trial:end"; + + /// Initializes End parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } + /// Subscribes to a trial for a project /// The body of the request. /// @@ -5685,6 +5741,13 @@ public class Backup : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("backupApplianceLocks")] public virtual System.Collections.Generic.IList BackupApplianceLocks { get; set; } + /// + /// Output only. Setting for how the enforced retention end time is inherited. This value is copied from this + /// backup's BackupVault. + /// + [Newtonsoft.Json.JsonPropertyAttribute("backupRetentionInheritance")] + public virtual string BackupRetentionInheritance { get; set; } + /// Output only. Type of the backup, unspecified, scheduled or ondemand. [Newtonsoft.Json.JsonPropertyAttribute("backupType")] public virtual string BackupType { get; set; } @@ -5869,6 +5932,10 @@ public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("gcpResource")] public virtual BackupGcpResource GcpResource { get; set; } + /// Optional. Output only. The list of KMS key versions used to encrypt the backup. + [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyVersions")] + public virtual System.Collections.Generic.IList KmsKeyVersions { get; set; } + /// /// Optional. Resource labels to represent user provided metadata. No labels currently defined. /// @@ -6933,6 +7000,10 @@ public class BackupVault : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("backupMinimumEnforcedRetentionDuration")] public virtual object BackupMinimumEnforcedRetentionDuration { get; set; } + /// Optional. Setting for how a backup's enforced retention end time is inherited. + [Newtonsoft.Json.JsonPropertyAttribute("backupRetentionInheritance")] + public virtual string BackupRetentionInheritance { get; set; } + private string _createTimeRaw; private object _createTime; @@ -7015,6 +7086,10 @@ public virtual System.DateTimeOffset? EffectiveTimeDateTimeOffset set => EffectiveTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } + /// Optional. The encryption config of the backup vault. + [Newtonsoft.Json.JsonPropertyAttribute("encryptionConfig")] + public virtual EncryptionConfig EncryptionConfig { get; set; } + /// /// Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from /// overwiting each other. @@ -8444,6 +8519,35 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// Message describing the EncryptionConfig of backup vault. This determines how data within the vault is encrypted + /// at rest. + /// + public class EncryptionConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The Cloud KMS key name to encrypt backups in this backup vault. Must be in the same region as the + /// vault. Some workload backups like compute disk backups may use their inherited source key instead. Format: + /// projects/{project}/locations/{location}/keyRings/{ring}/cryptoKeys/{key} + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyName")] + public virtual string KmsKeyName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for ending a trial. + public class EndTrialRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The reason for ending the trial. + [Newtonsoft.Json.JsonPropertyAttribute("endReason")] + public virtual string EndReason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A key/value pair to be used for storing metadata. public class Entry : Google.Apis.Requests.IDirectResponseSchema { @@ -10004,6 +10108,17 @@ public class ResourceBackupConfig : Google.Apis.Requests.IDirectResponseSchema /// Request message for restoring from a Backup. public class RestoreBackupRequest : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. A field mask used to clear server-side default values for fields within the `instance_properties` + /// oneof. When a field in this mask is cleared, the server will not apply its default logic (like inheriting a + /// value from the source) for that field. The most common current use case is clearing default encryption keys. + /// Examples of field mask paths: - Compute Instance Disks: + /// `compute_instance_restore_properties.disks.*.disk_encryption_key` - Single Disk: + /// `disk_restore_properties.disk_encryption_key` + /// + [Newtonsoft.Json.JsonPropertyAttribute("clearOverridesFieldMask")] + public virtual object ClearOverridesFieldMask { get; set; } + /// Compute Engine instance properties to be overridden during restore. [Newtonsoft.Json.JsonPropertyAttribute("computeInstanceRestoreProperties")] public virtual ComputeInstanceRestoreProperties ComputeInstanceRestoreProperties { get; set; } @@ -10537,6 +10652,10 @@ public class TriggerBackupRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("customRetentionDays")] public virtual System.Nullable CustomRetentionDays { get; set; } + /// Optional. Labels to be applied on the backup. + [Newtonsoft.Json.JsonPropertyAttribute("labels")] + public virtual System.Collections.Generic.IDictionary Labels { get; set; } + /// /// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry /// your request, the server will know to ignore the request if it has already been completed. The server will diff --git a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj index c393b6dfb51..9ca1e72400d 100644 --- a/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj +++ b/Src/Generated/Google.Apis.Backupdr.v1/Google.Apis.Backupdr.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Backupdr.v1 Client Library - 1.72.0.3954 + 1.72.0.3968 Google LLC Copyright 2025 Google LLC Google From 2d0bf42b974d3bab4efdfe375c80c229cf43ff03 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:50 +0000 Subject: [PATCH 015/106] feat: Generate Google.Apis.Batch.v1 version 1.72.0.3968 --- DiscoveryJson/batch.v1.json | 8 ++++---- .../Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs | 14 +++++++------- .../Google.Apis.Batch.v1.csproj | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/DiscoveryJson/batch.v1.json b/DiscoveryJson/batch.v1.json index f44bea31b7a..78f5f57c545 100644 --- a/DiscoveryJson/batch.v1.json +++ b/DiscoveryJson/batch.v1.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -548,7 +548,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -600,7 +600,7 @@ } } }, - "revision": "20251020", + "revision": "20251112", "rootUrl": "https://batch.googleapis.com/", "schemas": { "Accelerator": { @@ -1640,7 +1640,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs index c875fefb0d9..c6afb30af58 100644 --- a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs +++ b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.cs @@ -1087,9 +1087,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -1295,8 +1295,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } @@ -2751,8 +2751,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj index cc1fc2808d0..03c2d57c7d9 100644 --- a/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj +++ b/Src/Generated/Google.Apis.Batch.v1/Google.Apis.Batch.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Batch.v1 Client Library - 1.72.0.3945 + 1.72.0.3968 Google LLC Copyright 2025 Google LLC Google From 85f69daf077b8d397927a194f85b7b48b8e1576f Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:52 +0000 Subject: [PATCH 016/106] feat: Generate Google.Apis.BeyondCorp.v1alpha version 1.72.0.3954 --- DiscoveryJson/beyondcorp.v1alpha.json | 42 +++++++++--------- .../Google.Apis.BeyondCorp.v1alpha.cs | 43 ++++++++++--------- .../Google.Apis.BeyondCorp.v1alpha.csproj | 2 +- 3 files changed, 44 insertions(+), 43 deletions(-) diff --git a/DiscoveryJson/beyondcorp.v1alpha.json b/DiscoveryJson/beyondcorp.v1alpha.json index 0800ea107b5..23f6b20cc79 100644 --- a/DiscoveryJson/beyondcorp.v1alpha.json +++ b/DiscoveryJson/beyondcorp.v1alpha.json @@ -12,7 +12,7 @@ "baseUrl": "https://beyondcorp.googleapis.com/", "batchPath": "batch", "canonicalName": "BeyondCorp", - "description": "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity solutions.", + "description": "Chrome Enterprise Premium is a secure enterprise browsing solution that provides secure access to applications and resources, and offers integrated threat and data protection. It adds an extra layer of security to safeguard your Chrome browser environment, including Data Loss Prevention (DLP), real-time URL and file scanning, and Context-Aware Access for SaaS and web apps.", "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/", "fullyEncodeReservedExpansion": true, @@ -795,7 +795,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -3445,7 +3445,7 @@ } } }, - "revision": "20250930", + "revision": "20251029", "rootUrl": "https://beyondcorp.googleapis.com/", "schemas": { "AllocatedConnection": { @@ -5512,7 +5512,7 @@ "type": "string" }, "endpointMatchers": { - "description": "Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint matchers is used to match the application. Match conditions for OR logic. An array of match conditions to allow for multiple matching criteria. The rule is considered a match if one of the conditions is met. The conditions should be the following combination: (Hostname & Ports) EXAMPLES: Hostname and Ports - (\"*.example.com\", \"443\"), (\"example.com\" and \"22\"), (\"example.com\" and \"22,33\") etc", + "description": "Optional. An array of conditions to match the application's network endpoint. Each element in the array is an EndpointMatcher object, which defines a specific combination of a hostname pattern and one or more ports. The application is considered matched if at least one of the EndpointMatcher conditions in this array is met (the conditions are combined using OR logic). Each EndpointMatcher must contain a hostname pattern, such as \"example.com\", and one or more port numbers specified as a string, such as \"443\". Hostname and port number examples: \"*.example.com\", \"443\" \"example.com\" and \"22\" \"example.com\" and \"22,33\"", "items": { "$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher" }, @@ -5606,11 +5606,11 @@ "properties": { "deviceInfo": { "$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo", - "description": "Optional. Device info configuration." + "description": "Optional. The device information configuration." }, "groupInfo": { "$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo", - "description": "Optional. Group info configuration." + "description": "Optional. Group details." }, "outputType": { "description": "Optional. Default output type for all enabled headers.", @@ -5621,7 +5621,7 @@ "NONE" ], "enumDescriptions": [ - "Unspecified output type.", + "The unspecified output type.", "Protobuf output type.", "JSON output type.", "Explicitly disable header output." @@ -5630,17 +5630,17 @@ }, "userInfo": { "$ref": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo", - "description": "Optional. User info configuration." + "description": "Optional. User details." } }, "type": "object" }, "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo": { - "description": "Delegated device info configuration.", + "description": "The delegated device information configuration.", "id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo", "properties": { "outputType": { - "description": "Optional. The output type of the delegated device info.", + "description": "Optional. The output type details for the delegated device.", "enum": [ "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", @@ -5648,7 +5648,7 @@ "NONE" ], "enumDescriptions": [ - "Unspecified output type.", + "The unspecified output type.", "Protobuf output type.", "JSON output type.", "Explicitly disable header output." @@ -5659,11 +5659,11 @@ "type": "object" }, "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo": { - "description": "Delegated group info configuration.", + "description": "The delegated group configuration details.", "id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo", "properties": { "outputType": { - "description": "Optional. The output type of the delegated group info.", + "description": "Optional. The output type of the delegated group information.", "enum": [ "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", @@ -5671,7 +5671,7 @@ "NONE" ], "enumDescriptions": [ - "Unspecified output type.", + "The unspecified output type.", "Protobuf output type.", "JSON output type.", "Explicitly disable header output." @@ -5682,11 +5682,11 @@ "type": "object" }, "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo": { - "description": "Delegated user info configuration.", + "description": "The configuration information for the delegated user.", "id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo", "properties": { "outputType": { - "description": "Optional. The output type of the delegated user info.", + "description": "Optional. The delegated user's information.", "enum": [ "OUTPUT_TYPE_UNSPECIFIED", "PROTOBUF", @@ -5694,7 +5694,7 @@ "NONE" ], "enumDescriptions": [ - "Unspecified output type.", + "The unspecified output type.", "Protobuf output type.", "JSON output type.", "Explicitly disable header output." @@ -5743,7 +5743,7 @@ "type": "string" }, "ports": { - "description": "Required. Ports of the application.", + "description": "Required. The ports of the application.", "items": { "format": "int32", "type": "integer" @@ -5849,7 +5849,7 @@ "description": "Optional. Configuration for the contextual headers." }, "gatewayIdentity": { - "description": "Optional. Gateway identity configuration.", + "description": "Optional. The security gateway identity configuration.", "enum": [ "GATEWAY_IDENTITY_UNSPECIFIED", "RESOURCE_NAME" @@ -5864,7 +5864,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. Custom resource specific headers along with the values. The names should conform to RFC 9110: > Field names SHOULD constrain themselves to alphanumeric characters, \"-\", and \".\", and SHOULD begin with a letter. Field values SHOULD contain only ASCII printable characters and tab.", + "description": "Optional. Custom resource specific headers along with the values. The names should conform to RFC 9110: >Field names can contain alphanumeric characters, hyphens, and periods, can contain only ASCII-printable characters and tabs, and must start with a letter.", "type": "object" } }, @@ -6019,7 +6019,7 @@ "id": "GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor", "properties": { "path": { - "description": "Required. Contains uri path fragment where HTTP request is sent.", + "description": "Required. Contains the URI path fragment where HTTP request is sent.", "type": "string" } }, diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs index 42fd79baf76..247f52097f1 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs +++ b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.cs @@ -8621,8 +8621,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } @@ -11884,11 +11884,12 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string DisplayName { get; set; } /// - /// Required. Endpoint matchers associated with an application. A combination of hostname and ports as endpoint - /// matchers is used to match the application. Match conditions for OR logic. An array of match conditions to - /// allow for multiple matching criteria. The rule is considered a match if one of the conditions is met. The - /// conditions should be the following combination: (Hostname & Ports) EXAMPLES: Hostname and Ports - - /// ("*.example.com", "443"), ("example.com" and "22"), ("example.com" and "22,33") etc + /// Optional. An array of conditions to match the application's network endpoint. Each element in the array is + /// an EndpointMatcher object, which defines a specific combination of a hostname pattern and one or more ports. + /// The application is considered matched if at least one of the EndpointMatcher conditions in this array is met + /// (the conditions are combined using OR logic). Each EndpointMatcher must contain a hostname pattern, such as + /// "example.com", and one or more port numbers specified as a string, such as "443". Hostname and port number + /// examples: "*.example.com", "443" "example.com" and "22" "example.com" and "22,33" /// [Newtonsoft.Json.JsonPropertyAttribute("endpointMatchers")] public virtual System.Collections.Generic.IList EndpointMatchers { get; set; } @@ -11994,11 +11995,11 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetw /// Contextual headers configuration. public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. Device info configuration. + /// Optional. The device information configuration. [Newtonsoft.Json.JsonPropertyAttribute("deviceInfo")] public virtual GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo DeviceInfo { get; set; } - /// Optional. Group info configuration. + /// Optional. Group details. [Newtonsoft.Json.JsonPropertyAttribute("groupInfo")] public virtual GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo GroupInfo { get; set; } @@ -12006,7 +12007,7 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders : Goo [Newtonsoft.Json.JsonPropertyAttribute("outputType")] public virtual string OutputType { get; set; } - /// Optional. User info configuration. + /// Optional. User details. [Newtonsoft.Json.JsonPropertyAttribute("userInfo")] public virtual GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo UserInfo { get; set; } @@ -12014,10 +12015,10 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders : Goo public virtual string ETag { get; set; } } - /// Delegated device info configuration. + /// The delegated device information configuration. public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. The output type of the delegated device info. + /// Optional. The output type details for the delegated device. [Newtonsoft.Json.JsonPropertyAttribute("outputType")] public virtual string OutputType { get; set; } @@ -12025,10 +12026,10 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelega public virtual string ETag { get; set; } } - /// Delegated group info configuration. + /// The delegated group configuration details. public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. The output type of the delegated group info. + /// Optional. The output type of the delegated group information. [Newtonsoft.Json.JsonPropertyAttribute("outputType")] public virtual string OutputType { get; set; } @@ -12036,10 +12037,10 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelega public virtual string ETag { get; set; } } - /// Delegated user info configuration. + /// The configuration information for the delegated user. public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo : Google.Apis.Requests.IDirectResponseSchema { - /// Optional. The output type of the delegated user info. + /// Optional. The delegated user's information. [Newtonsoft.Json.JsonPropertyAttribute("outputType")] public virtual string OutputType { get; set; } @@ -12080,7 +12081,7 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher : Googl [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } - /// Required. Ports of the application. + /// Required. The ports of the application. [Newtonsoft.Json.JsonPropertyAttribute("ports")] public virtual System.Collections.Generic.IList> Ports { get; set; } @@ -12167,14 +12168,14 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig : G [Newtonsoft.Json.JsonPropertyAttribute("contextualHeaders")] public virtual GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders ContextualHeaders { get; set; } - /// Optional. Gateway identity configuration. + /// Optional. The security gateway identity configuration. [Newtonsoft.Json.JsonPropertyAttribute("gatewayIdentity")] public virtual string GatewayIdentity { get; set; } /// /// Optional. Custom resource specific headers along with the values. The names should conform to RFC 9110: - /// > Field names SHOULD constrain themselves to alphanumeric characters, "-", and ".", and SHOULD begin - /// with a letter. Field values SHOULD contain only ASCII printable characters and tab. + /// >Field names can contain alphanumeric characters, hyphens, and periods, can contain only + /// ASCII-printable characters and tabs, and must start with a letter. /// [Newtonsoft.Json.JsonPropertyAttribute("metadataHeaders")] public virtual System.Collections.Generic.IDictionary MetadataHeaders { get; set; } @@ -12434,7 +12435,7 @@ public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGate /// API operation descriptor. public class GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor : Google.Apis.Requests.IDirectResponseSchema { - /// Required. Contains uri path fragment where HTTP request is sent. + /// Required. Contains the URI path fragment where HTTP request is sent. [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } diff --git a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj index 59fe76790e8..2c554934aa5 100644 --- a/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj +++ b/Src/Generated/Google.Apis.BeyondCorp.v1alpha/Google.Apis.BeyondCorp.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.BeyondCorp.v1alpha Client Library - 1.72.0.3925 + 1.72.0.3954 Google LLC Copyright 2025 Google LLC Google From c11c811c282d21e864d4e310723e4468198d12bc Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:54 +0000 Subject: [PATCH 017/106] feat: Generate Google.Apis.BigQueryDataTransfer.v1 version 1.72.0.3961 --- DiscoveryJson/bigquerydatatransfer.v1.json | 4 ++-- .../Google.Apis.BigQueryDataTransfer.v1.cs | 4 ++-- .../Google.Apis.BigQueryDataTransfer.v1.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/bigquerydatatransfer.v1.json b/DiscoveryJson/bigquerydatatransfer.v1.json index eff0ad0ac63..c04bad5e018 100644 --- a/DiscoveryJson/bigquerydatatransfer.v1.json +++ b/DiscoveryJson/bigquerydatatransfer.v1.json @@ -418,7 +418,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1488,7 +1488,7 @@ } } }, - "revision": "20251020", + "revision": "20251105", "rootUrl": "https://bigquerydatatransfer.googleapis.com/", "schemas": { "CheckValidCredsRequest": { diff --git a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs index 84d330f0796..35205e7b169 100644 --- a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs +++ b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.cs @@ -2004,8 +2004,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj index e5264177caa..40ac3593838 100644 --- a/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj +++ b/Src/Generated/Google.Apis.BigQueryDataTransfer.v1/Google.Apis.BigQueryDataTransfer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BigQueryDataTransfer.v1 Client Library - 1.72.0.3945 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 0cd36db87f1416d424a166402135e6f7151413e1 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:56 +0000 Subject: [PATCH 018/106] feat: Generate Google.Apis.HangoutsChat.v1 version 1.72.0.3965 --- DiscoveryJson/chat.v1.json | 4 ++-- .../Google.Apis.HangoutsChat.v1.cs | 2 +- .../Google.Apis.HangoutsChat.v1.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/chat.v1.json b/DiscoveryJson/chat.v1.json index 42d04137bd0..95463de7cc5 100644 --- a/DiscoveryJson/chat.v1.json +++ b/DiscoveryJson/chat.v1.json @@ -1535,7 +1535,7 @@ } } }, - "revision": "20251106", + "revision": "20251109", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -1802,7 +1802,7 @@ "readOnly": true }, "name": { - "description": "Optional. Resource name of the attachment, in the form `spaces/{space}/messages/{message}/attachments/{attachment}`.", + "description": "Identifier. Resource name of the attachment. Format: `spaces/{space}/messages/{message}/attachments/{attachment}`.", "type": "string" }, "source": { diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs index 516ec481214..4a93222a697 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.cs @@ -5131,7 +5131,7 @@ public class Attachment : Google.Apis.Requests.IDirectResponseSchema public virtual DriveDataRef DriveDataRef { get; set; } /// - /// Optional. Resource name of the attachment, in the form + /// Identifier. Resource name of the attachment. Format: /// `spaces/{space}/messages/{message}/attachments/{attachment}`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] diff --git a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj index 57b99bd030a..9ed317c6ba0 100644 --- a/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj +++ b/Src/Generated/Google.Apis.HangoutsChat.v1/Google.Apis.HangoutsChat.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.HangoutsChat.v1 Client Library - 1.72.0.3962 + 1.72.0.3965 Google LLC Copyright 2025 Google LLC Google From 6b556afb41422fb2e159de06d221023f78a286e5 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:23:59 +0000 Subject: [PATCH 019/106] feat: Generate Google.Apis.ChecksService.v1alpha version 1.72.0.3968 --- DiscoveryJson/checks.v1alpha.json | 6 +++--- .../Google.Apis.ChecksService.v1alpha.cs | 10 +++++----- .../Google.Apis.ChecksService.v1alpha.csproj | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DiscoveryJson/checks.v1alpha.json b/DiscoveryJson/checks.v1alpha.json index 3b4bfa1f93b..65184a1b211 100644 --- a/DiscoveryJson/checks.v1alpha.json +++ b/DiscoveryJson/checks.v1alpha.json @@ -261,7 +261,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -557,7 +557,7 @@ } } }, - "revision": "20250925", + "revision": "20251112", "rootUrl": "https://checks.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -2410,7 +2410,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs index 98f56aa31cf..dd13c3f0217 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.cs @@ -514,9 +514,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -2780,8 +2780,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj index adfe23972e5..9f3dedfa816 100644 --- a/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj +++ b/Src/Generated/Google.Apis.ChecksService.v1alpha/Google.Apis.ChecksService.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.ChecksService.v1alpha Client Library - 1.71.0.3920 + 1.72.0.3968 Google LLC Copyright 2025 Google LLC Google @@ -59,7 +59,7 @@ - + From 46601855170573e386612fc1fda9a844da92758b Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:01 +0000 Subject: [PATCH 020/106] feat: Generate Google.Apis.ChromeManagement.v1 version 1.72.0.3968 --- DiscoveryJson/chromemanagement.v1.json | 6 +++--- .../Google.Apis.ChromeManagement.v1.cs | 10 +++++----- .../Google.Apis.ChromeManagement.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/chromemanagement.v1.json b/DiscoveryJson/chromemanagement.v1.json index def3de9bf7d..64e7cf04060 100644 --- a/DiscoveryJson/chromemanagement.v1.json +++ b/DiscoveryJson/chromemanagement.v1.json @@ -1773,7 +1773,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1786,7 +1786,7 @@ } } }, - "revision": "20251105", + "revision": "20251112", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -6795,7 +6795,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs index 6d2ffeac560..69b33039423 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.cs @@ -4187,9 +4187,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are unreachable - /// are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by - /// default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is + /// not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] @@ -9253,8 +9253,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj index 9d30c2e12b7..7377fb7a3e0 100644 --- a/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj +++ b/Src/Generated/Google.Apis.ChromeManagement.v1/Google.Apis.ChromeManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ChromeManagement.v1 Client Library - 1.72.0.3961 + 1.72.0.3968 Google LLC Copyright 2025 Google LLC Google From 80d4472a9345570780256eb420eca156019f9a41 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:03 +0000 Subject: [PATCH 021/106] feat: Generate Google.Apis.CloudAsset.v1 version 1.72.0.3958 --- DiscoveryJson/cloudasset.v1.json | 9 ++++++++- .../Google.Apis.CloudAsset.v1.cs | 4 ++++ .../Google.Apis.CloudAsset.v1.csproj | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/cloudasset.v1.json b/DiscoveryJson/cloudasset.v1.json index 8292b165106..d411eb62185 100644 --- a/DiscoveryJson/cloudasset.v1.json +++ b/DiscoveryJson/cloudasset.v1.json @@ -1095,7 +1095,7 @@ } } }, - "revision": "20250711", + "revision": "20251102", "rootUrl": "https://cloudasset.googleapis.com/", "schemas": { "AccessSelector": { @@ -4660,6 +4660,13 @@ "description": "Resource representation as defined by the corresponding service providing the resource for a given API version.", "id": "VersionedResource", "properties": { + "assetExceptions": { + "description": "The exceptions of a resource.", + "items": { + "$ref": "AssetException" + }, + "type": "array" + }, "resource": { "additionalProperties": { "description": "Properties of the object.", diff --git a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs index 2140162ca11..55c70252e70 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs +++ b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.cs @@ -8142,6 +8142,10 @@ public class VersionedPackage : Google.Apis.Requests.IDirectResponseSchema /// public class VersionedResource : Google.Apis.Requests.IDirectResponseSchema { + /// The exceptions of a resource. + [Newtonsoft.Json.JsonPropertyAttribute("assetExceptions")] + public virtual System.Collections.Generic.IList AssetExceptions { get; set; } + /// /// JSON representation of the resource as defined by the corresponding service providing this resource. /// Example: If the resource is an instance provided by Compute Engine, this field will contain the JSON diff --git a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj index f8e63880e37..6dd369f9b89 100644 --- a/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj +++ b/Src/Generated/Google.Apis.CloudAsset.v1/Google.Apis.CloudAsset.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudAsset.v1 Client Library - 1.70.0.3844 + 1.72.0.3958 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + From 1e7daf8bad2bb1d31878ac01af379010d6b7fadc Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:06 +0000 Subject: [PATCH 022/106] feat: Generate Google.Apis.CloudBuild.v1 version 1.72.0.3967 --- DiscoveryJson/cloudbuild.v1.json | 27 ++++++++++++++++++- .../Google.Apis.CloudBuild.v1.cs | 20 ++++++++++++++ .../Google.Apis.CloudBuild.v1.csproj | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/cloudbuild.v1.json b/DiscoveryJson/cloudbuild.v1.json index be0c169843f..53b126005e0 100644 --- a/DiscoveryJson/cloudbuild.v1.json +++ b/DiscoveryJson/cloudbuild.v1.json @@ -2573,7 +2573,7 @@ } } }, - "revision": "20250930", + "revision": "20251111", "rootUrl": "https://cloudbuild.googleapis.com/", "schemas": { "ApprovalConfig": { @@ -3721,6 +3721,11 @@ "description": "An image built by the pipeline.", "id": "BuiltImage", "properties": { + "artifactRegistryPackage": { + "description": "Output only. Path to the artifact in Artifact Registry.", + "readOnly": true, + "type": "string" + }, "digest": { "description": "Docker Registry 2.0 digest.", "type": "string" @@ -5712,6 +5717,11 @@ "description": "A Go module artifact uploaded to Artifact Registry using the GoModule directive.", "id": "UploadedGoModule", "properties": { + "artifactRegistryPackage": { + "description": "Output only. Path to the artifact in Artifact Registry.", + "readOnly": true, + "type": "string" + }, "fileHashes": { "$ref": "FileHashes", "description": "Hash types and values of the Go Module Artifact." @@ -5732,6 +5742,11 @@ "description": "A Maven artifact uploaded using the MavenArtifact directive.", "id": "UploadedMavenArtifact", "properties": { + "artifactRegistryPackage": { + "description": "Output only. Path to the artifact in Artifact Registry.", + "readOnly": true, + "type": "string" + }, "fileHashes": { "$ref": "FileHashes", "description": "Hash types and values of the Maven Artifact." @@ -5752,6 +5767,11 @@ "description": "An npm package uploaded to Artifact Registry using the NpmPackage directive.", "id": "UploadedNpmPackage", "properties": { + "artifactRegistryPackage": { + "description": "Output only. Path to the artifact in Artifact Registry.", + "readOnly": true, + "type": "string" + }, "fileHashes": { "$ref": "FileHashes", "description": "Hash types and values of the npm package." @@ -5772,6 +5792,11 @@ "description": "Artifact uploaded using the PythonPackage directive.", "id": "UploadedPythonPackage", "properties": { + "artifactRegistryPackage": { + "description": "Output only. Path to the artifact in Artifact Registry.", + "readOnly": true, + "type": "string" + }, "fileHashes": { "$ref": "FileHashes", "description": "Hash types and values of the Python Artifact." diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs index 4fd72263c86..32fcfb8a8ed 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.cs @@ -6810,6 +6810,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// An image built by the pipeline. public class BuiltImage : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Path to the artifact in Artifact Registry. + [Newtonsoft.Json.JsonPropertyAttribute("artifactRegistryPackage")] + public virtual string ArtifactRegistryPackage { get; set; } + /// Docker Registry 2.0 digest. [Newtonsoft.Json.JsonPropertyAttribute("digest")] public virtual string Digest { get; set; } @@ -9988,6 +9992,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// A Go module artifact uploaded to Artifact Registry using the GoModule directive. public class UploadedGoModule : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Path to the artifact in Artifact Registry. + [Newtonsoft.Json.JsonPropertyAttribute("artifactRegistryPackage")] + public virtual string ArtifactRegistryPackage { get; set; } + /// Hash types and values of the Go Module Artifact. [Newtonsoft.Json.JsonPropertyAttribute("fileHashes")] public virtual FileHashes FileHashes { get; set; } @@ -10007,6 +10015,10 @@ public class UploadedGoModule : Google.Apis.Requests.IDirectResponseSchema /// A Maven artifact uploaded using the MavenArtifact directive. public class UploadedMavenArtifact : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Path to the artifact in Artifact Registry. + [Newtonsoft.Json.JsonPropertyAttribute("artifactRegistryPackage")] + public virtual string ArtifactRegistryPackage { get; set; } + /// Hash types and values of the Maven Artifact. [Newtonsoft.Json.JsonPropertyAttribute("fileHashes")] public virtual FileHashes FileHashes { get; set; } @@ -10026,6 +10038,10 @@ public class UploadedMavenArtifact : Google.Apis.Requests.IDirectResponseSchema /// An npm package uploaded to Artifact Registry using the NpmPackage directive. public class UploadedNpmPackage : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Path to the artifact in Artifact Registry. + [Newtonsoft.Json.JsonPropertyAttribute("artifactRegistryPackage")] + public virtual string ArtifactRegistryPackage { get; set; } + /// Hash types and values of the npm package. [Newtonsoft.Json.JsonPropertyAttribute("fileHashes")] public virtual FileHashes FileHashes { get; set; } @@ -10045,6 +10061,10 @@ public class UploadedNpmPackage : Google.Apis.Requests.IDirectResponseSchema /// Artifact uploaded using the PythonPackage directive. public class UploadedPythonPackage : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Path to the artifact in Artifact Registry. + [Newtonsoft.Json.JsonPropertyAttribute("artifactRegistryPackage")] + public virtual string ArtifactRegistryPackage { get; set; } + /// Hash types and values of the Python Artifact. [Newtonsoft.Json.JsonPropertyAttribute("fileHashes")] public virtual FileHashes FileHashes { get; set; } diff --git a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj index f80023fe8f5..0c42cfb8665 100644 --- a/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj +++ b/Src/Generated/Google.Apis.CloudBuild.v1/Google.Apis.CloudBuild.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudBuild.v1 Client Library - 1.72.0.3925 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From 5c6af2e72f17ad8f4dbf93ae8d5ed64cbcc5c49f Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:08 +0000 Subject: [PATCH 023/106] feat: Generate Google.Apis.Cloudchannel.v1 version 1.72.0.3971 --- DiscoveryJson/cloudchannel.v1.json | 6 +++--- .../Google.Apis.Cloudchannel.v1.cs | 10 +++++----- .../Google.Apis.Cloudchannel.v1.csproj | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DiscoveryJson/cloudchannel.v1.json b/DiscoveryJson/cloudchannel.v1.json index d458c7b0f98..3f3af0600fb 100644 --- a/DiscoveryJson/cloudchannel.v1.json +++ b/DiscoveryJson/cloudchannel.v1.json @@ -2185,7 +2185,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2294,7 +2294,7 @@ } } }, - "revision": "20250929", + "revision": "20251115", "rootUrl": "https://cloudchannel.googleapis.com/", "schemas": { "GoogleCloudChannelV1ActivateEntitlementRequest": { @@ -5858,7 +5858,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs index 3492edf8c87..b0ed4b698a5 100644 --- a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs +++ b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.cs @@ -5889,9 +5889,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are unreachable - /// are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by - /// default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is + /// not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] @@ -10213,8 +10213,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj index dab993191af..1e1b793690e 100644 --- a/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj +++ b/Src/Generated/Google.Apis.Cloudchannel.v1/Google.Apis.Cloudchannel.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Cloudchannel.v1 Client Library - 1.71.0.3924 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + From 926cfd339384fab23552048f393c8f728f7050ab Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:10 +0000 Subject: [PATCH 024/106] feat: Generate Google.Apis.CloudDeploy.v1 version 1.72.0.3961 --- DiscoveryJson/clouddeploy.v1.json | 108 +++++++++++- .../Google.Apis.CloudDeploy.v1.cs | 161 ++++++++++++++++++ .../Google.Apis.CloudDeploy.v1.csproj | 2 +- 3 files changed, 269 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/clouddeploy.v1.json b/DiscoveryJson/clouddeploy.v1.json index 43fab646c47..5082ed7d78f 100644 --- a/DiscoveryJson/clouddeploy.v1.json +++ b/DiscoveryJson/clouddeploy.v1.json @@ -2359,7 +2359,7 @@ } } }, - "revision": "20251022", + "revision": "20251105", "rootUrl": "https://clouddeploy.googleapis.com/", "schemas": { "AbandonReleaseRequest": { @@ -5437,6 +5437,10 @@ "readOnly": true, "type": "array" }, + "toolVersions": { + "$ref": "ToolVersions", + "description": "Optional. The tool versions to use for this release and all subsequent operations involving this release. If unset, then it will freeze the tool versions at the time of release creation." + }, "uid": { "description": "Output only. Unique identifier of the `Release`.", "readOnly": true, @@ -5449,6 +5453,31 @@ "description": "ReleaseCondition contains all conditions relevant to a Release.", "id": "ReleaseCondition", "properties": { + "dockerVersionSupportedCondition": { + "$ref": "ToolVersionSupportedCondition", + "description": "Output only. Details around the support state of the release's Docker version.", + "readOnly": true + }, + "helmVersionSupportedCondition": { + "$ref": "ToolVersionSupportedCondition", + "description": "Output only. Details around the support state of the release's Helm version.", + "readOnly": true + }, + "kptVersionSupportedCondition": { + "$ref": "ToolVersionSupportedCondition", + "description": "Output only. Details around the support state of the release's Kpt version.", + "readOnly": true + }, + "kubectlVersionSupportedCondition": { + "$ref": "ToolVersionSupportedCondition", + "description": "Output only. Details around the support state of the release's Kubectl version.", + "readOnly": true + }, + "kustomizeVersionSupportedCondition": { + "$ref": "ToolVersionSupportedCondition", + "description": "Output only. Details around the support state of the release's Kustomize version.", + "readOnly": true + }, "releaseReadyCondition": { "$ref": "ReleaseReadyCondition", "description": "Details around the Releases's overall status." @@ -5456,6 +5485,11 @@ "skaffoldSupportedCondition": { "$ref": "SkaffoldSupportedCondition", "description": "Details around the support state of the release's Skaffold version." + }, + "skaffoldVersionSupportedCondition": { + "$ref": "ToolVersionSupportedCondition", + "description": "Output only. Details around the support state of the release's Skaffold version.", + "readOnly": true } }, "type": "object" @@ -7237,6 +7271,78 @@ }, "type": "object" }, + "ToolVersionSupportedCondition": { + "description": "ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends.", + "id": "ToolVersionSupportedCondition", + "properties": { + "maintenanceModeTime": { + "description": "Output only. The time at which this release's version of the Tool will enter maintenance mode.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "Output only. True if the version of Tool used by this release is supported.", + "readOnly": true, + "type": "boolean" + }, + "supportExpirationTime": { + "description": "Output only. The time at which this release's version of the Tool will no longer be supported.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "toolVersionSupportState": { + "description": "Output only. The Tool support state for this release's version of the Tool.", + "enum": [ + "TOOL_VERSION_SUPPORT_STATE_UNSPECIFIED", + "TOOL_VERSION_SUPPORT_STATE_SUPPORTED", + "TOOL_VERSION_SUPPORT_STATE_MAINTENANCE_MODE", + "TOOL_VERSION_SUPPORT_STATE_UNSUPPORTED" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "This Tool version is currently supported.", + "This Tool version is in maintenance mode.", + "This Tool version is no longer supported." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "ToolVersions": { + "description": "Details of ToolVersions for the release.", + "id": "ToolVersions", + "properties": { + "docker": { + "description": "Optional. The docker version to use for Cloud Deploy operations.", + "type": "string" + }, + "helm": { + "description": "Optional. The helm version to use for Cloud Deploy operations.", + "type": "string" + }, + "kpt": { + "description": "Optional. The kpt version to use for Cloud Deploy operations.", + "type": "string" + }, + "kubectl": { + "description": "Optional. The kubectl version to use for Cloud Deploy operations.", + "type": "string" + }, + "kustomize": { + "description": "Optional. The kustomize version to use for Cloud Deploy operations.", + "type": "string" + }, + "skaffold": { + "description": "Optional. The skaffold version to use for Cloud Deploy operations.", + "type": "string" + } + }, + "type": "object" + }, "VerifyJob": { "description": "A verify Job.", "id": "VerifyJob", diff --git a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs index a6eb8a331ad..0fad4927213 100644 --- a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs +++ b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.cs @@ -9360,6 +9360,13 @@ public virtual System.DateTimeOffset? RenderStartTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("targetSnapshots")] public virtual System.Collections.Generic.IList TargetSnapshots { get; set; } + /// + /// Optional. The tool versions to use for this release and all subsequent operations involving this release. If + /// unset, then it will freeze the tool versions at the time of release creation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("toolVersions")] + public virtual ToolVersions ToolVersions { get; set; } + /// Output only. Unique identifier of the `Release`. [Newtonsoft.Json.JsonPropertyAttribute("uid")] public virtual string Uid { get; set; } @@ -9368,6 +9375,26 @@ public virtual System.DateTimeOffset? RenderStartTimeDateTimeOffset /// ReleaseCondition contains all conditions relevant to a Release. public class ReleaseCondition : Google.Apis.Requests.IDirectResponseSchema { + /// Output only. Details around the support state of the release's Docker version. + [Newtonsoft.Json.JsonPropertyAttribute("dockerVersionSupportedCondition")] + public virtual ToolVersionSupportedCondition DockerVersionSupportedCondition { get; set; } + + /// Output only. Details around the support state of the release's Helm version. + [Newtonsoft.Json.JsonPropertyAttribute("helmVersionSupportedCondition")] + public virtual ToolVersionSupportedCondition HelmVersionSupportedCondition { get; set; } + + /// Output only. Details around the support state of the release's Kpt version. + [Newtonsoft.Json.JsonPropertyAttribute("kptVersionSupportedCondition")] + public virtual ToolVersionSupportedCondition KptVersionSupportedCondition { get; set; } + + /// Output only. Details around the support state of the release's Kubectl version. + [Newtonsoft.Json.JsonPropertyAttribute("kubectlVersionSupportedCondition")] + public virtual ToolVersionSupportedCondition KubectlVersionSupportedCondition { get; set; } + + /// Output only. Details around the support state of the release's Kustomize version. + [Newtonsoft.Json.JsonPropertyAttribute("kustomizeVersionSupportedCondition")] + public virtual ToolVersionSupportedCondition KustomizeVersionSupportedCondition { get; set; } + /// Details around the Releases's overall status. [Newtonsoft.Json.JsonPropertyAttribute("releaseReadyCondition")] public virtual ReleaseReadyCondition ReleaseReadyCondition { get; set; } @@ -9376,6 +9403,10 @@ public class ReleaseCondition : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("skaffoldSupportedCondition")] public virtual SkaffoldSupportedCondition SkaffoldSupportedCondition { get; set; } + /// Output only. Details around the support state of the release's Skaffold version. + [Newtonsoft.Json.JsonPropertyAttribute("skaffoldVersionSupportedCondition")] + public virtual ToolVersionSupportedCondition SkaffoldVersionSupportedCondition { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -11288,6 +11319,136 @@ public class TimedPromoteReleaseRule : Google.Apis.Requests.IDirectResponseSchem public virtual string ETag { get; set; } } + /// + /// ToolVersionSupportedCondition contains information about when support for the release's version of a Tool ends. + /// + public class ToolVersionSupportedCondition : Google.Apis.Requests.IDirectResponseSchema + { + private string _maintenanceModeTimeRaw; + + private object _maintenanceModeTime; + + /// + /// Output only. The time at which this release's version of the Tool will enter maintenance mode. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceModeTime")] + public virtual string MaintenanceModeTimeRaw + { + get => _maintenanceModeTimeRaw; + set + { + _maintenanceModeTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _maintenanceModeTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use MaintenanceModeTimeDateTimeOffset instead.")] + public virtual object MaintenanceModeTime + { + get => _maintenanceModeTime; + set + { + _maintenanceModeTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _maintenanceModeTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? MaintenanceModeTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(MaintenanceModeTimeRaw); + set => MaintenanceModeTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Output only. True if the version of Tool used by this release is supported. + [Newtonsoft.Json.JsonPropertyAttribute("status")] + public virtual System.Nullable Status { get; set; } + + private string _supportExpirationTimeRaw; + + private object _supportExpirationTime; + + /// + /// Output only. The time at which this release's version of the Tool will no longer be supported. + /// + [Newtonsoft.Json.JsonPropertyAttribute("supportExpirationTime")] + public virtual string SupportExpirationTimeRaw + { + get => _supportExpirationTimeRaw; + set + { + _supportExpirationTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _supportExpirationTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use SupportExpirationTimeDateTimeOffset instead.")] + public virtual object SupportExpirationTime + { + get => _supportExpirationTime; + set + { + _supportExpirationTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _supportExpirationTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? SupportExpirationTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(SupportExpirationTimeRaw); + set => SupportExpirationTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + /// Output only. The Tool support state for this release's version of the Tool. + [Newtonsoft.Json.JsonPropertyAttribute("toolVersionSupportState")] + public virtual string ToolVersionSupportState { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Details of ToolVersions for the release. + public class ToolVersions : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The docker version to use for Cloud Deploy operations. + [Newtonsoft.Json.JsonPropertyAttribute("docker")] + public virtual string Docker { get; set; } + + /// Optional. The helm version to use for Cloud Deploy operations. + [Newtonsoft.Json.JsonPropertyAttribute("helm")] + public virtual string Helm { get; set; } + + /// Optional. The kpt version to use for Cloud Deploy operations. + [Newtonsoft.Json.JsonPropertyAttribute("kpt")] + public virtual string Kpt { get; set; } + + /// Optional. The kubectl version to use for Cloud Deploy operations. + [Newtonsoft.Json.JsonPropertyAttribute("kubectl")] + public virtual string Kubectl { get; set; } + + /// Optional. The kustomize version to use for Cloud Deploy operations. + [Newtonsoft.Json.JsonPropertyAttribute("kustomize")] + public virtual string Kustomize { get; set; } + + /// Optional. The skaffold version to use for Cloud Deploy operations. + [Newtonsoft.Json.JsonPropertyAttribute("skaffold")] + public virtual string Skaffold { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A verify Job. public class VerifyJob : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj index 9bc8109ac08..a13faae97a6 100644 --- a/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDeploy.v1/Google.Apis.CloudDeploy.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDeploy.v1 Client Library - 1.72.0.3947 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From a97efa4df0358c90d812f5f4a6de2817a5ef8d3a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:12 +0000 Subject: [PATCH 025/106] feat: Generate Google.Apis.CloudResourceManager.v1 version 1.72.0.3959 --- DiscoveryJson/cloudresourcemanager.v1.json | 8 +++++--- .../Google.Apis.CloudResourceManager.v1.csproj | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/cloudresourcemanager.v1.json b/DiscoveryJson/cloudresourcemanager.v1.json index 3f0a672f3ea..525ad964684 100644 --- a/DiscoveryJson/cloudresourcemanager.v1.json +++ b/DiscoveryJson/cloudresourcemanager.v1.json @@ -1171,7 +1171,7 @@ } } }, - "revision": "20250606", + "revision": "20251103", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -1567,7 +1567,8 @@ "CYCLE_INTRODUCED_VIOLATION", "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", - "DELETED_FOLDER_HEIGHT_VIOLATION" + "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" ], "enumDescriptions": [ "The error type was unrecognized or unspecified.", @@ -1579,7 +1580,8 @@ "The attempted action would introduce cycle in resource path.", "The attempted action would move a folder that is already being moved.", "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth constraint." + "The attempted action would violate the max deleted folder depth constraint.", + "The folder being deleted has a configured capability." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj index d675627c286..25e7100f528 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v1 Client Library - 1.70.0.3809 + 1.72.0.3959 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 49ef21853efc2b582106be64d997ab9b63ecd502 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:15 +0000 Subject: [PATCH 026/106] feat: Generate Google.Apis.CloudResourceManager.v1beta1 version 1.72.0.3959 --- DiscoveryJson/cloudresourcemanager.v1beta1.json | 8 +++++--- .../Google.Apis.CloudResourceManager.v1beta1.csproj | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/cloudresourcemanager.v1beta1.json b/DiscoveryJson/cloudresourcemanager.v1beta1.json index 118cdde2cf9..6a597a5bcba 100644 --- a/DiscoveryJson/cloudresourcemanager.v1beta1.json +++ b/DiscoveryJson/cloudresourcemanager.v1beta1.json @@ -568,7 +568,7 @@ } } }, - "revision": "20250606", + "revision": "20251103", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -885,7 +885,8 @@ "CYCLE_INTRODUCED_VIOLATION", "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", - "DELETED_FOLDER_HEIGHT_VIOLATION" + "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" ], "enumDescriptions": [ "The error type was unrecognized or unspecified.", @@ -897,7 +898,8 @@ "The attempted action would introduce cycle in resource path.", "The attempted action would move a folder that is already being moved.", "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth constraint." + "The attempted action would violate the max deleted folder depth constraint.", + "The folder being deleted has a configured capability." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj index b77ff1bf0c8..cb20a69b923 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v1beta1 Client Library - 1.70.0.3809 + 1.72.0.3959 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From b1a21dc6670822183b3aa967c6b874d60ec529fa Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:17 +0000 Subject: [PATCH 027/106] feat: Generate Google.Apis.CloudResourceManager.v2 version 1.72.0.3959 --- DiscoveryJson/cloudresourcemanager.v2.json | 8 +++++--- .../Google.Apis.CloudResourceManager.v2.csproj | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/cloudresourcemanager.v2.json b/DiscoveryJson/cloudresourcemanager.v2.json index d085efac408..9c18a4fc38a 100644 --- a/DiscoveryJson/cloudresourcemanager.v2.json +++ b/DiscoveryJson/cloudresourcemanager.v2.json @@ -450,7 +450,7 @@ } } }, - "revision": "20250417", + "revision": "20251103", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -811,7 +811,8 @@ "CYCLE_INTRODUCED_VIOLATION", "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", - "DELETED_FOLDER_HEIGHT_VIOLATION" + "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" ], "enumDescriptions": [ "The error type was unrecognized or unspecified.", @@ -823,7 +824,8 @@ "The attempted action would introduce cycle in resource path.", "The attempted action would move a folder that is already being moved.", "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth constraint." + "The attempted action would violate the max deleted folder depth constraint.", + "The folder being deleted has a configured capability." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj index 82b6cbadf59..ff16151ed3b 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v2/Google.Apis.CloudResourceManager.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v2 Client Library - 1.69.0.3759 + 1.72.0.3959 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 1c1f1be201f5524f7179ad3581aa7e1b576f65e8 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:19 +0000 Subject: [PATCH 028/106] feat: Generate Google.Apis.CloudResourceManager.v2beta1 version 1.72.0.3959 --- DiscoveryJson/cloudresourcemanager.v2beta1.json | 8 +++++--- .../Google.Apis.CloudResourceManager.v2beta1.csproj | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/cloudresourcemanager.v2beta1.json b/DiscoveryJson/cloudresourcemanager.v2beta1.json index 073c7384f89..c1a979f2af7 100644 --- a/DiscoveryJson/cloudresourcemanager.v2beta1.json +++ b/DiscoveryJson/cloudresourcemanager.v2beta1.json @@ -450,7 +450,7 @@ } } }, - "revision": "20250417", + "revision": "20251103", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -811,7 +811,8 @@ "CYCLE_INTRODUCED_VIOLATION", "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", - "DELETED_FOLDER_HEIGHT_VIOLATION" + "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" ], "enumDescriptions": [ "The error type was unrecognized or unspecified.", @@ -823,7 +824,8 @@ "The attempted action would introduce cycle in resource path.", "The attempted action would move a folder that is already being moved.", "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth constraint." + "The attempted action would violate the max deleted folder depth constraint.", + "The folder being deleted has a configured capability." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj index cc0aae993ec..3d6678a65e8 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v2beta1/Google.Apis.CloudResourceManager.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v2beta1 Client Library - 1.69.0.3759 + 1.72.0.3959 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From f8e1d55bf95f5ef9fb4683d85e1df1ef481e1b08 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:21 +0000 Subject: [PATCH 029/106] feat: Generate Google.Apis.CloudResourceManager.v3 version 1.72.0.3959 --- DiscoveryJson/cloudresourcemanager.v3.json | 28 ++++++++---- .../Google.Apis.CloudResourceManager.v3.cs | 45 ++++++++++++++----- ...Google.Apis.CloudResourceManager.v3.csproj | 6 +-- 3 files changed, 57 insertions(+), 22 deletions(-) diff --git a/DiscoveryJson/cloudresourcemanager.v3.json b/DiscoveryJson/cloudresourcemanager.v3.json index 849c77d5ba1..666d12a63ae 100644 --- a/DiscoveryJson/cloudresourcemanager.v3.json +++ b/DiscoveryJson/cloudresourcemanager.v3.json @@ -697,11 +697,11 @@ "https://www.googleapis.com/auth/cloud-platform.read-only" ] }, - "update": { - "description": "Updates tag bindings directly attached to a GCP resource.", + "patch": { + "description": "Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or \"*\".", "flatPath": "v3/locations/{locationsId}/tagBindingCollections/{tagBindingCollectionsId}", - "httpMethod": "PUT", - "id": "cloudresourcemanager.locations.tagBindingCollections.update", + "httpMethod": "PATCH", + "id": "cloudresourcemanager.locations.tagBindingCollections.patch", "parameterOrder": [ "name" ], @@ -712,6 +712,12 @@ "pattern": "^locations/[^/]+/tagBindingCollections/[^/]+$", "required": true, "type": "string" + }, + "updateMask": { + "description": "Optional. An update mask to selectively update fields.", + "format": "google-fieldmask", + "location": "query", + "type": "string" } }, "path": "v3/{+name}", @@ -1962,7 +1968,7 @@ } } }, - "revision": "20250606", + "revision": "20251103", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { @@ -2413,7 +2419,8 @@ "CYCLE_INTRODUCED_VIOLATION", "FOLDER_BEING_MOVED_VIOLATION", "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", - "DELETED_FOLDER_HEIGHT_VIOLATION" + "DELETED_FOLDER_HEIGHT_VIOLATION", + "FOLDER_TO_DELETE_CONFIGURED_CAPABILITY_VIOLATION" ], "enumDescriptions": [ "The error type was unrecognized or unspecified.", @@ -2425,7 +2432,8 @@ "The attempted action would introduce cycle in resource path.", "The attempted action would move a folder that is already being moved.", "The folder the caller is trying to delete contains active resources.", - "The attempted action would violate the max deleted folder depth constraint." + "The attempted action would violate the max deleted folder depth constraint.", + "The folder being deleted has a configured capability." ], "type": "string" } @@ -2621,7 +2629,7 @@ "id": "ListTagValuesResponse", "properties": { "nextPageToken": { - "description": "A pagination token returned from a previous call to `ListTagValues` that indicates from where listing should continue. This is currently not used, but the server may at any point start supplying a valid token.", + "description": "A pagination token returned from a previous call to `ListTagValues` that indicates from where listing should continue.", "type": "string" }, "tagValues": { @@ -3091,6 +3099,10 @@ "description": "A TagKey, used to group a set of TagValues.", "id": "TagKey", "properties": { + "allowedValuesRegex": { + "description": "Optional. Regular expression constraint for freeform tag values. If present, it implicitly allows freeform values (constrained by the regex).", + "type": "string" + }, "createTime": { "description": "Output only. Creation time.", "format": "google-datetime", diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs index 6ba64a82e8d..959b337c672 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.cs @@ -1792,7 +1792,9 @@ protected override void InitParameters() } } - /// Updates tag bindings directly attached to a GCP resource. + /// + /// Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*". + /// /// The body of the request. /// /// Identifier. The name of the TagBindingCollection, following the convention: @@ -1800,16 +1802,18 @@ protected override void InitParameters() /// encoded-full-resource-name is the UTF-8 encoded name of the GCP resource the TagBindings are bound to. /// "locations/global/tagBindingCollections/%2f%2fcloudresourcemanager.googleapis.com%2fprojects%2f123" /// - public virtual UpdateRequest Update(Google.Apis.CloudResourceManager.v3.Data.TagBindingCollection body, string name) + public virtual PatchRequest Patch(Google.Apis.CloudResourceManager.v3.Data.TagBindingCollection body, string name) { - return new UpdateRequest(this.service, body, name); + return new PatchRequest(this.service, body, name); } - /// Updates tag bindings directly attached to a GCP resource. - public class UpdateRequest : CloudResourceManagerBaseServiceRequest + /// + /// Updates tag bindings directly attached to a GCP resource. Update_mask can be kept empty or "*". + /// + public class PatchRequest : CloudResourceManagerBaseServiceRequest { - /// Constructs a new Update request. - public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudResourceManager.v3.Data.TagBindingCollection body, string name) : base(service) + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.CloudResourceManager.v3.Data.TagBindingCollection body, string name) : base(service) { Name = name; Body = body; @@ -1826,6 +1830,10 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Cl [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// Optional. An update mask to selectively update fields. + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } + /// Gets or sets the body of this request. Google.Apis.CloudResourceManager.v3.Data.TagBindingCollection Body { get; set; } @@ -1833,15 +1841,15 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Cl protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "update"; + public override string MethodName => "patch"; /// Gets the HTTP method. - public override string HttpMethod => "PUT"; + public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v3/{+name}"; - /// Initializes Update parameter list. + /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); @@ -1853,6 +1861,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^locations/[^/]+/tagBindingCollections/[^/]+$", }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -5780,7 +5796,7 @@ public class ListTagValuesResponse : Google.Apis.Requests.IDirectResponseSchema { /// /// A pagination token returned from a previous call to `ListTagValues` that indicates from where listing should - /// continue. This is currently not used, but the server may at any point start supplying a valid token. + /// continue. /// [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } @@ -6621,6 +6637,13 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// A TagKey, used to group a set of TagValues. public class TagKey : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. Regular expression constraint for freeform tag values. If present, it implicitly allows freeform + /// values (constrained by the regex). + /// + [Newtonsoft.Json.JsonPropertyAttribute("allowedValuesRegex")] + public virtual string AllowedValuesRegex { get; set; } + private string _createTimeRaw; private object _createTime; diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj index ebba6b72d7a..8d0fa252188 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj +++ b/Src/Generated/Google.Apis.CloudResourceManager.v3/Google.Apis.CloudResourceManager.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudResourceManager.v3 Client Library - 1.70.0.3809 + 1.72.0.3959 Google LLC Copyright 2025 Google LLC Google @@ -60,8 +60,8 @@ - - + + From d3aa5dc09adb08f3ba5dcce2ffdde188b5d7fc69 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:24 +0000 Subject: [PATCH 030/106] feat: Generate Google.Apis.CCAIPlatform.v1alpha1 version 1.72.0.3971 --- DiscoveryJson/contactcenteraiplatform.v1alpha1.json | 6 +++--- .../Google.Apis.CCAIPlatform.v1alpha1.cs | 10 +++++----- .../Google.Apis.CCAIPlatform.v1alpha1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/contactcenteraiplatform.v1alpha1.json b/DiscoveryJson/contactcenteraiplatform.v1alpha1.json index e9ff7d1bd36..dfa8f47ca87 100644 --- a/DiscoveryJson/contactcenteraiplatform.v1alpha1.json +++ b/DiscoveryJson/contactcenteraiplatform.v1alpha1.json @@ -503,7 +503,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -523,7 +523,7 @@ } } }, - "revision": "20251022", + "revision": "20251115", "rootUrl": "https://contactcenteraiplatform.googleapis.com/", "schemas": { "AdminUser": { @@ -914,7 +914,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs index 6d977e3569d..f9184bcfa16 100644 --- a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs +++ b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.cs @@ -930,9 +930,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -1639,8 +1639,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj index c58469a4d64..37f145fc2aa 100644 --- a/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.CCAIPlatform.v1alpha1/Google.Apis.CCAIPlatform.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.CCAIPlatform.v1alpha1 Client Library - 1.72.0.3947 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From 63fe4c4943d4ce9d688547111c84b4a69689ae85 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:26 +0000 Subject: [PATCH 031/106] feat: Generate Google.Apis.Contactcenterinsights.v1 version 1.72.0.3968 --- DiscoveryJson/contactcenterinsights.v1.json | 68 ++++++++++++++++--- .../Google.Apis.Contactcenterinsights.v1.cs | 54 ++++++++++++--- ...oogle.Apis.Contactcenterinsights.v1.csproj | 2 +- 3 files changed, 107 insertions(+), 17 deletions(-) diff --git a/DiscoveryJson/contactcenterinsights.v1.json b/DiscoveryJson/contactcenterinsights.v1.json index ea2897884d9..cccca001b75 100644 --- a/DiscoveryJson/contactcenterinsights.v1.json +++ b/DiscoveryJson/contactcenterinsights.v1.json @@ -1968,7 +1968,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -4326,7 +4326,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -5378,7 +5378,7 @@ } } }, - "revision": "20251023", + "revision": "20251112", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -7321,7 +7321,10 @@ "CLIENT_SENTIMENT_CATEGORY", "AGENT_VERSION_ID", "AGENT_DEPLOYMENT_ID", - "AGENT_ASSIST_SUPERVISOR_ID" + "AGENT_ASSIST_SUPERVISOR_ID", + "LABEL_KEY", + "LABEL_VALUE", + "LABEL_KEY_AND_VALUE" ], "enumDescriptions": [ "The key of the dimension is unspecified.", @@ -7341,7 +7344,10 @@ "The dimension is keyed by the client sentiment category.", "The dimension is keyed by the agent version ID.", "The dimension is keyed by the agent deployment ID.", - "The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents." + "The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents.", + "The dimension is keyed by label keys.", + "The dimension is keyed by label values.", + "The dimension is keyed by label key-value pairs." ], "type": "string" }, @@ -7350,6 +7356,11 @@ "description": "Output only. Metadata about the issue dimension.", "readOnly": true }, + "labelDimensionMetadata": { + "$ref": "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata", + "description": "Output only. Metadata about conversation labels.", + "readOnly": true + }, "mediumDimensionMetadata": { "$ref": "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata", "description": "Output only. Metadata about the conversation medium dimension.", @@ -7479,6 +7490,21 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata": { + "description": "Metadata about conversation labels.", + "id": "GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata", + "properties": { + "labelKey": { + "description": "Optional. The label key.", + "type": "string" + }, + "labelValue": { + "description": "Optional. The label value.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata": { "description": "Metadata about the conversation medium dimension.", "id": "GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata", @@ -11958,7 +11984,10 @@ "CLIENT_SENTIMENT_CATEGORY", "AGENT_VERSION_ID", "AGENT_DEPLOYMENT_ID", - "AGENT_ASSIST_SUPERVISOR_ID" + "AGENT_ASSIST_SUPERVISOR_ID", + "LABEL_KEY", + "LABEL_VALUE", + "LABEL_KEY_AND_VALUE" ], "enumDescriptions": [ "The key of the dimension is unspecified.", @@ -11978,7 +12007,10 @@ "The dimension is keyed by the client sentiment category.", "The dimension is keyed by the agent version ID.", "The dimension is keyed by the agent deployment ID.", - "The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents." + "The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents.", + "The dimension is keyed by label keys.", + "The dimension is keyed by label values.", + "The dimension is keyed by label key-value pairs." ], "type": "string" }, @@ -11987,6 +12019,11 @@ "description": "Output only. Metadata about the issue dimension.", "readOnly": true }, + "labelDimensionMetadata": { + "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata", + "description": "Output only. Metadata about conversation labels.", + "readOnly": true + }, "mediumDimensionMetadata": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata", "description": "Output only. Metadata about the conversation medium dimension.", @@ -12116,6 +12153,21 @@ }, "type": "object" }, + "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata": { + "description": "Metadata about conversation labels.", + "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata", + "properties": { + "labelKey": { + "description": "Optional. The label key.", + "type": "string" + }, + "labelValue": { + "description": "Optional. The label value.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata": { "description": "Metadata about the conversation medium dimension.", "id": "GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata", @@ -14265,7 +14317,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs index 4e980424ae0..b17e58675dc 100644 --- a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs +++ b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.cs @@ -2573,9 +2573,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -8669,9 +8669,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -14621,6 +14621,10 @@ public class GoogleCloudContactcenterinsightsV1Dimension : Google.Apis.Requests. [Newtonsoft.Json.JsonPropertyAttribute("issueDimensionMetadata")] public virtual GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata IssueDimensionMetadata { get; set; } + /// Output only. Metadata about conversation labels. + [Newtonsoft.Json.JsonPropertyAttribute("labelDimensionMetadata")] + public virtual GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata LabelDimensionMetadata { get; set; } + /// Output only. Metadata about the conversation medium dimension. [Newtonsoft.Json.JsonPropertyAttribute("mediumDimensionMetadata")] public virtual GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata MediumDimensionMetadata { get; set; } @@ -14765,6 +14769,21 @@ public class GoogleCloudContactcenterinsightsV1DimensionIssueDimensionMetadata : public virtual string ETag { get; set; } } + /// Metadata about conversation labels. + public class GoogleCloudContactcenterinsightsV1DimensionLabelDimensionMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The label key. + [Newtonsoft.Json.JsonPropertyAttribute("labelKey")] + public virtual string LabelKey { get; set; } + + /// Optional. The label value. + [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] + public virtual string LabelValue { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata about the conversation medium dimension. public class GoogleCloudContactcenterinsightsV1DimensionMediumDimensionMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -21486,6 +21505,10 @@ public class GoogleCloudContactcenterinsightsV1alpha1Dimension : Google.Apis.Req [Newtonsoft.Json.JsonPropertyAttribute("issueDimensionMetadata")] public virtual GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMetadata IssueDimensionMetadata { get; set; } + /// Output only. Metadata about conversation labels. + [Newtonsoft.Json.JsonPropertyAttribute("labelDimensionMetadata")] + public virtual GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata LabelDimensionMetadata { get; set; } + /// Output only. Metadata about the conversation medium dimension. [Newtonsoft.Json.JsonPropertyAttribute("mediumDimensionMetadata")] public virtual GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata MediumDimensionMetadata { get; set; } @@ -21630,6 +21653,21 @@ public class GoogleCloudContactcenterinsightsV1alpha1DimensionIssueDimensionMeta public virtual string ETag { get; set; } } + /// Metadata about conversation labels. + public class GoogleCloudContactcenterinsightsV1alpha1DimensionLabelDimensionMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The label key. + [Newtonsoft.Json.JsonPropertyAttribute("labelKey")] + public virtual string LabelKey { get; set; } + + /// Optional. The label value. + [Newtonsoft.Json.JsonPropertyAttribute("labelValue")] + public virtual string LabelValue { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Metadata about the conversation medium dimension. public class GoogleCloudContactcenterinsightsV1alpha1DimensionMediumDimensionMetadata : Google.Apis.Requests.IDirectResponseSchema { @@ -24783,8 +24821,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj index 2e29e14d15f..58ddfba7ed8 100644 --- a/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj +++ b/Src/Generated/Google.Apis.Contactcenterinsights.v1/Google.Apis.Contactcenterinsights.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Contactcenterinsights.v1 Client Library - 1.72.0.3948 + 1.72.0.3968 Google LLC Copyright 2025 Google LLC Google From a02883b8f6ba4ae8c6d4d1ca1998a341cf5253e6 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:28 +0000 Subject: [PATCH 032/106] feat: Generate Google.Apis.Container.v1 version 1.72.0.3960 --- DiscoveryJson/container.v1.json | 16 ++++++++++++-- .../Google.Apis.Container.v1.cs | 22 +++++++++++++++---- .../Google.Apis.Container.v1.csproj | 2 +- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/container.v1.json b/DiscoveryJson/container.v1.json index 613e59f558f..72baf4e5614 100644 --- a/DiscoveryJson/container.v1.json +++ b/DiscoveryJson/container.v1.json @@ -2660,7 +2660,7 @@ } } }, - "revision": "20251028", + "revision": "20251104", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -4153,6 +4153,10 @@ ], "type": "string" }, + "desiredPrivilegedAdmissionConfig": { + "$ref": "PrivilegedAdmissionConfig", + "description": "The desired privileged admission config for the cluster." + }, "desiredRbacBindingConfig": { "$ref": "RBACBindingConfig", "description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created." @@ -5647,7 +5651,7 @@ "additionalProperties": { "type": "string" }, - "description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_max_orphans net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes", + "description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes", "type": "object" }, "transparentHugepageDefrag": { @@ -9413,6 +9417,14 @@ "description": "The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.", "type": "string" }, + "controlPlaneDiskEncryptionKeyVersions": { + "description": "Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "etcdApiCa": { "description": "Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.", "type": "string" diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs index 21c1b4761b4..3b23d5945c9 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.cs @@ -8103,6 +8103,10 @@ public class ClusterUpdate : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("desiredPrivateIpv6GoogleAccess")] public virtual string DesiredPrivateIpv6GoogleAccess { get; set; } + /// The desired privileged admission config for the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("desiredPrivilegedAdmissionConfig")] + public virtual PrivilegedAdmissionConfig DesiredPrivilegedAdmissionConfig { get; set; } + /// /// RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created. /// @@ -9595,12 +9599,15 @@ public class LinuxNodeConfig : Google.Apis.Requests.IDirectResponseSchema /// The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following /// parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog /// net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max - /// net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_max_orphans - /// net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets + /// net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing + /// net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn + /// net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets /// net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait /// net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni - /// kernel.shmmax kernel.shmall fs.aio-max-nr fs.file-max fs.inotify.max_user_instances - /// fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_ratio + /// kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic + /// kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max + /// fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio + /// vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes /// vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure /// vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes /// @@ -13790,6 +13797,13 @@ public class UserManagedKeysConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("controlPlaneDiskEncryptionKey")] public virtual string ControlPlaneDiskEncryptionKey { get; set; } + /// + /// Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the + /// control plane nodes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("controlPlaneDiskEncryptionKeyVersions")] + public virtual System.Collections.Generic.IList ControlPlaneDiskEncryptionKeyVersions { get; set; } + /// /// Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster. /// diff --git a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj index 2067e5a99b3..9499aad5a5e 100644 --- a/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj +++ b/Src/Generated/Google.Apis.Container.v1/Google.Apis.Container.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Container.v1 Client Library - 1.72.0.3953 + 1.72.0.3960 Google LLC Copyright 2025 Google LLC Google From 3d102f3a3feaace959a7e910d6ed0ec758e6c472 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:30 +0000 Subject: [PATCH 033/106] feat: Generate Google.Apis.Container.v1beta1 version 1.72.0.3960 --- DiscoveryJson/container.v1beta1.json | 16 ++++++++++++-- .../Google.Apis.Container.v1beta1.cs | 22 +++++++++++++++---- .../Google.Apis.Container.v1beta1.csproj | 2 +- 3 files changed, 33 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/container.v1beta1.json b/DiscoveryJson/container.v1beta1.json index a3c951ce27e..cee8b63d0f5 100644 --- a/DiscoveryJson/container.v1beta1.json +++ b/DiscoveryJson/container.v1beta1.json @@ -2741,7 +2741,7 @@ } } }, - "revision": "20251028", + "revision": "20251104", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -4417,6 +4417,10 @@ ], "type": "string" }, + "desiredPrivilegedAdmissionConfig": { + "$ref": "PrivilegedAdmissionConfig", + "description": "The desired privileged admission config for the cluster." + }, "desiredProtectConfig": { "$ref": "ProtectConfig", "deprecated": true, @@ -6119,7 +6123,7 @@ "additionalProperties": { "type": "string" }, - "description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_max_orphans net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes", + "description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes", "type": "object" }, "transparentHugepageDefrag": { @@ -10238,6 +10242,14 @@ "description": "The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.", "type": "string" }, + "controlPlaneDiskEncryptionKeyVersions": { + "description": "Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes.", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "etcdApiCa": { "description": "Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.", "type": "string" diff --git a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs index 2bb32f3f03c..9fac6a31a16 100644 --- a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs +++ b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.cs @@ -8461,6 +8461,10 @@ public class ClusterUpdate : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("desiredPrivateIpv6GoogleAccess")] public virtual string DesiredPrivateIpv6GoogleAccess { get; set; } + /// The desired privileged admission config for the cluster. + [Newtonsoft.Json.JsonPropertyAttribute("desiredPrivilegedAdmissionConfig")] + public virtual PrivilegedAdmissionConfig DesiredPrivilegedAdmissionConfig { get; set; } + /// /// Deprecated: Use DesiredSecurityPostureConfig instead. Enable/Disable Protect API features for the cluster. /// @@ -10204,12 +10208,15 @@ public class LinuxNodeConfig : Google.Apis.Requests.IDirectResponseSchema /// The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following /// parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog /// net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max - /// net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_max_orphans - /// net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets + /// net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing + /// net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn + /// net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets /// net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait /// net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni - /// kernel.shmmax kernel.shmall fs.aio-max-nr fs.file-max fs.inotify.max_user_instances - /// fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_ratio + /// kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic + /// kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max + /// fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio + /// vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes /// vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure /// vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes /// @@ -14752,6 +14759,13 @@ public class UserManagedKeysConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("controlPlaneDiskEncryptionKey")] public virtual string ControlPlaneDiskEncryptionKey { get; set; } + /// + /// Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the + /// control plane nodes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("controlPlaneDiskEncryptionKeyVersions")] + public virtual System.Collections.Generic.IList ControlPlaneDiskEncryptionKeyVersions { get; set; } + /// /// Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster. /// diff --git a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj index 2fa2036f7e9..fb8e10602d6 100644 --- a/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Container.v1beta1/Google.Apis.Container.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Container.v1beta1 Client Library - 1.72.0.3953 + 1.72.0.3960 Google LLC Copyright 2025 Google LLC Google From 37c06e8c148c7a62d3bee870a999a4f53451d067 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:33 +0000 Subject: [PATCH 034/106] feat: Generate Google.Apis.ShoppingContent.v2_1 version 1.72.0.3968 --- DiscoveryJson/content.v2.1.json | 642 +------ .../Google.Apis.ShoppingContent.v2_1.cs | 1646 ++++------------- .../Google.Apis.ShoppingContent.v2_1.csproj | 2 +- 3 files changed, 347 insertions(+), 1943 deletions(-) diff --git a/DiscoveryJson/content.v2.1.json b/DiscoveryJson/content.v2.1.json index 9a1f10bcff9..7236b70b89b 100644 --- a/DiscoveryJson/content.v2.1.json +++ b/DiscoveryJson/content.v2.1.json @@ -3872,294 +3872,6 @@ } } }, - "returnaddress": { - "methods": { - "custombatch": { - "description": "Batches multiple return address related calls in a single request.", - "flatPath": "returnaddress/batch", - "httpMethod": "POST", - "id": "content.returnaddress.custombatch", - "parameterOrder": [], - "parameters": {}, - "path": "returnaddress/batch", - "request": { - "$ref": "ReturnaddressCustomBatchRequest" - }, - "response": { - "$ref": "ReturnaddressCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "delete": { - "description": "Deletes a return address for the given Merchant Center account.", - "flatPath": "{merchantId}/returnaddress/{returnAddressId}", - "httpMethod": "DELETE", - "id": "content.returnaddress.delete", - "parameterOrder": [ - "merchantId", - "returnAddressId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account from which to delete the given return address.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "returnAddressId": { - "description": "Return address ID generated by Google.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnaddress/{returnAddressId}", - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Gets a return address of the Merchant Center account.", - "flatPath": "{merchantId}/returnaddress/{returnAddressId}", - "httpMethod": "GET", - "id": "content.returnaddress.get", - "parameterOrder": [ - "merchantId", - "returnAddressId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account to get a return address for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "returnAddressId": { - "description": "Return address ID generated by Google.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnaddress/{returnAddressId}", - "response": { - "$ref": "ReturnAddress" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "insert": { - "description": "Inserts a return address for the Merchant Center account.", - "flatPath": "{merchantId}/returnaddress", - "httpMethod": "POST", - "id": "content.returnaddress.insert", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account to insert a return address for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnaddress", - "request": { - "$ref": "ReturnAddress" - }, - "response": { - "$ref": "ReturnAddress" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the return addresses of the Merchant Center account.", - "flatPath": "{merchantId}/returnaddress", - "httpMethod": "GET", - "id": "content.returnaddress.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "country": { - "description": "List only return addresses applicable to the given country of sale. When omitted, all return addresses are listed.", - "location": "query", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of addresses in the response, used for paging.", - "format": "uint32", - "location": "query", - "type": "integer" - }, - "merchantId": { - "description": "The Merchant Center account to list return addresses for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "pageToken": { - "description": "The token returned by the previous request.", - "location": "query", - "type": "string" - } - }, - "path": "{merchantId}/returnaddress", - "response": { - "$ref": "ReturnaddressListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, - "returnpolicy": { - "methods": { - "custombatch": { - "description": "Batches multiple return policy related calls in a single request.", - "flatPath": "returnpolicy/batch", - "httpMethod": "POST", - "id": "content.returnpolicy.custombatch", - "parameterOrder": [], - "parameters": {}, - "path": "returnpolicy/batch", - "request": { - "$ref": "ReturnpolicyCustomBatchRequest" - }, - "response": { - "$ref": "ReturnpolicyCustomBatchResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "delete": { - "description": "Deletes a return policy for the given Merchant Center account.", - "flatPath": "{merchantId}/returnpolicy/{returnPolicyId}", - "httpMethod": "DELETE", - "id": "content.returnpolicy.delete", - "parameterOrder": [ - "merchantId", - "returnPolicyId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account from which to delete the given return policy.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "returnPolicyId": { - "description": "Return policy ID generated by Google.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnpolicy/{returnPolicyId}", - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "get": { - "description": "Gets a return policy of the Merchant Center account.", - "flatPath": "{merchantId}/returnpolicy/{returnPolicyId}", - "httpMethod": "GET", - "id": "content.returnpolicy.get", - "parameterOrder": [ - "merchantId", - "returnPolicyId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account to get a return policy for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - }, - "returnPolicyId": { - "description": "Return policy ID generated by Google.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnpolicy/{returnPolicyId}", - "response": { - "$ref": "ReturnPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "insert": { - "description": "Inserts a return policy for the Merchant Center account.", - "flatPath": "{merchantId}/returnpolicy", - "httpMethod": "POST", - "id": "content.returnpolicy.insert", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account to insert a return policy for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnpolicy", - "request": { - "$ref": "ReturnPolicy" - }, - "response": { - "$ref": "ReturnPolicy" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - }, - "list": { - "description": "Lists the return policies of the Merchant Center account.", - "flatPath": "{merchantId}/returnpolicy", - "httpMethod": "GET", - "id": "content.returnpolicy.list", - "parameterOrder": [ - "merchantId" - ], - "parameters": { - "merchantId": { - "description": "The Merchant Center account to list return policies for.", - "format": "uint64", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "{merchantId}/returnpolicy", - "response": { - "$ref": "ReturnpolicyListResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/content" - ] - } - } - }, "returnpolicyonline": { "methods": { "create": { @@ -4570,7 +4282,7 @@ } } }, - "revision": "20251104", + "revision": "20251112", "rootUrl": "https://shoppingcontent.googleapis.com/", "schemas": { "Account": { @@ -12752,119 +12464,6 @@ }, "type": "object" }, - "ReturnAddress": { - "description": "Return address resource.", - "id": "ReturnAddress", - "properties": { - "address": { - "$ref": "ReturnAddressAddress", - "description": "Required. The address." - }, - "country": { - "description": "Required. The country of sale where the return address is applicable.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnAddress`\"", - "type": "string" - }, - "label": { - "description": "Required. The user-defined label of the return address. For the default address, use the label \"default\".", - "type": "string" - }, - "phoneNumber": { - "description": "Required. The merchant's contact phone number regarding the return.", - "type": "string" - }, - "returnAddressId": { - "description": "Return address ID generated by Google.", - "type": "string" - } - }, - "type": "object" - }, - "ReturnAddressAddress": { - "id": "ReturnAddressAddress", - "properties": { - "country": { - "description": "CLDR country code (for example, \"US\").", - "type": "string" - }, - "locality": { - "description": "City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).", - "type": "string" - }, - "postalCode": { - "description": "Postal code or ZIP (for example, \"94043\").", - "type": "string" - }, - "recipientName": { - "description": "Name of the recipient to address returns to.", - "type": "string" - }, - "region": { - "description": "Top-level administrative subdivision of the country. For example, a state like California (\"CA\") or a province like Quebec (\"QC\").", - "type": "string" - }, - "streetAddress": { - "description": "Street-level part of the address. May be up to two lines, each line specified as an array element.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReturnPolicy": { - "description": "Return policy resource.", - "id": "ReturnPolicy", - "properties": { - "country": { - "description": "Required. The country of sale where the return policy is applicable.", - "type": "string" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnPolicy`\"", - "type": "string" - }, - "label": { - "description": "Required. The user-defined label of the return policy. For the default policy, use the label \"default\".", - "type": "string" - }, - "name": { - "description": "Required. The name of the policy as shown in Merchant Center.", - "type": "string" - }, - "nonFreeReturnReasons": { - "description": "Return reasons that will incur return fees.", - "items": { - "type": "string" - }, - "type": "array" - }, - "policy": { - "$ref": "ReturnPolicyPolicy", - "description": "Required. The policy." - }, - "returnPolicyId": { - "description": "Return policy ID generated by Google.", - "type": "string" - }, - "returnShippingFee": { - "$ref": "Price", - "description": "The return shipping fee that will apply to non free return reasons." - }, - "seasonalOverrides": { - "description": "An optional list of seasonal overrides.", - "items": { - "$ref": "ReturnPolicySeasonalOverride" - }, - "type": "array" - } - }, - "type": "object" - }, "ReturnPolicyOnline": { "description": "Return policy online object. This is currently used to represent return policies for ads and free listings programs.", "id": "ReturnPolicyOnline", @@ -13057,245 +12656,6 @@ }, "type": "object" }, - "ReturnPolicyPolicy": { - "id": "ReturnPolicyPolicy", - "properties": { - "lastReturnDate": { - "description": "Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, set the policy type to \"lastReturnDate\". Use this for seasonal overrides only.", - "type": "string" - }, - "numberOfDays": { - "description": "The number of days items can be returned after delivery, where one day is defined to be 24 hours after the delivery timestamp. When specifying the return window like this, set the policy type to \"numberOfDaysAfterDelivery\". Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can only be applied to those items.", - "format": "int64", - "type": "string" - }, - "type": { - "description": "Policy type. Use \"lastReturnDate\" for seasonal overrides only. Note that for most items a minimum of 30 days is required for returns. Exceptions may be made for electronics or non-returnable items such as food, perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable values are: - \"`lastReturnDate`\" - \"`lifetimeReturns`\" - \"`noReturns`\" - \"`numberOfDaysAfterDelivery`\" ", - "type": "string" - } - }, - "type": "object" - }, - "ReturnPolicySeasonalOverride": { - "id": "ReturnPolicySeasonalOverride", - "properties": { - "endDate": { - "description": "Required. Last day on which the override applies. In ISO 8601 format.", - "type": "string" - }, - "name": { - "description": "Required. The name of the seasonal override as shown in Merchant Center.", - "type": "string" - }, - "policy": { - "$ref": "ReturnPolicyPolicy", - "description": "Required. The policy which is in effect during that time." - }, - "startDate": { - "description": "Required. First day on which the override applies. In ISO 8601 format.", - "type": "string" - } - }, - "type": "object" - }, - "ReturnaddressCustomBatchRequest": { - "id": "ReturnaddressCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "ReturnaddressCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReturnaddressCustomBatchRequestEntry": { - "id": "ReturnaddressCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "merchantId": { - "description": "The Merchant Center account ID.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "Method of the batch request entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" ", - "type": "string" - }, - "returnAddress": { - "$ref": "ReturnAddress", - "description": "The return address to submit. This should be set only if the method is `insert`." - }, - "returnAddressId": { - "description": "The return address ID. This should be set only if the method is `delete` or `get`.", - "type": "string" - } - }, - "type": "object" - }, - "ReturnaddressCustomBatchResponse": { - "id": "ReturnaddressCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "ReturnaddressCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnaddressCustomBatchResponse`\".", - "type": "string" - } - }, - "type": "object" - }, - "ReturnaddressCustomBatchResponseEntry": { - "id": "ReturnaddressCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry to which this entry responds.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if, and only if, the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnaddressCustomBatchResponseEntry`\"", - "type": "string" - }, - "returnAddress": { - "$ref": "ReturnAddress", - "description": "The retrieved return address." - } - }, - "type": "object" - }, - "ReturnaddressListResponse": { - "id": "ReturnaddressListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnaddressListResponse`\".", - "type": "string" - }, - "nextPageToken": { - "description": "The token for the retrieval of the next page of addresses.", - "type": "string" - }, - "resources": { - "items": { - "$ref": "ReturnAddress" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReturnpolicyCustomBatchRequest": { - "id": "ReturnpolicyCustomBatchRequest", - "properties": { - "entries": { - "description": "The request entries to be processed in the batch.", - "items": { - "$ref": "ReturnpolicyCustomBatchRequestEntry" - }, - "type": "array" - } - }, - "type": "object" - }, - "ReturnpolicyCustomBatchRequestEntry": { - "id": "ReturnpolicyCustomBatchRequestEntry", - "properties": { - "batchId": { - "description": "An entry ID, unique within the batch request.", - "format": "uint32", - "type": "integer" - }, - "merchantId": { - "description": "The Merchant Center account ID.", - "format": "uint64", - "type": "string" - }, - "method": { - "description": "Method of the batch request entry. Acceptable values are: - \"`delete`\" - \"`get`\" - \"`insert`\" ", - "type": "string" - }, - "returnPolicy": { - "$ref": "ReturnPolicy", - "description": "The return policy to submit. This should be set only if the method is `insert`." - }, - "returnPolicyId": { - "description": "The return policy ID. This should be set only if the method is `delete` or `get`.", - "type": "string" - } - }, - "type": "object" - }, - "ReturnpolicyCustomBatchResponse": { - "id": "ReturnpolicyCustomBatchResponse", - "properties": { - "entries": { - "description": "The result of the execution of the batch requests.", - "items": { - "$ref": "ReturnpolicyCustomBatchResponseEntry" - }, - "type": "array" - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnpolicyCustomBatchResponse`\".", - "type": "string" - } - }, - "type": "object" - }, - "ReturnpolicyCustomBatchResponseEntry": { - "id": "ReturnpolicyCustomBatchResponseEntry", - "properties": { - "batchId": { - "description": "The ID of the request entry to which this entry responds.", - "format": "uint32", - "type": "integer" - }, - "errors": { - "$ref": "Errors", - "description": "A list of errors defined if, and only if, the request failed." - }, - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnpolicyCustomBatchResponseEntry`\"", - "type": "string" - }, - "returnPolicy": { - "$ref": "ReturnPolicy", - "description": "The retrieved return policy." - } - }, - "type": "object" - }, - "ReturnpolicyListResponse": { - "id": "ReturnpolicyListResponse", - "properties": { - "kind": { - "description": "Identifies what kind of resource this is. Value: the fixed string \"`content#returnpolicyListResponse`\".", - "type": "string" - }, - "resources": { - "items": { - "$ref": "ReturnPolicy" - }, - "type": "array" - } - }, - "type": "object" - }, "Row": { "id": "Row", "properties": { diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs index 31f87a271e0..fd36bcab38a 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.cs @@ -59,8 +59,6 @@ public ShoppingContentService(Google.Apis.Services.BaseClientService.Initializer Regionalinventory = new RegionalinventoryResource(this); Regions = new RegionsResource(this); Reports = new ReportsResource(this); - Returnaddress = new ReturnaddressResource(this); - Returnpolicy = new ReturnpolicyResource(this); Returnpolicyonline = new ReturnpolicyonlineResource(this); Shippingsettings = new ShippingsettingsResource(this); Shoppingadsprogram = new ShoppingadsprogramResource(this); @@ -175,12 +173,6 @@ public static class ScopeConstants /// Gets the Reports resource. public virtual ReportsResource Reports { get; } - /// Gets the Returnaddress resource. - public virtual ReturnaddressResource Returnaddress { get; } - - /// Gets the Returnpolicy resource. - public virtual ReturnpolicyResource Returnpolicy { get; } - /// Gets the Returnpolicyonline resource. public virtual ReturnpolicyonlineResource Returnpolicyonline { get; } @@ -8459,85 +8451,107 @@ protected override void InitParameters() } } - /// The "returnaddress" collection of methods. - public class ReturnaddressResource + /// The "returnpolicyonline" collection of methods. + public class ReturnpolicyonlineResource { - private const string Resource = "returnaddress"; + private const string Resource = "returnpolicyonline"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. - public ReturnaddressResource(Google.Apis.Services.IClientService service) + public ReturnpolicyonlineResource(Google.Apis.Services.IClientService service) { this.service = service; } - /// Batches multiple return address related calls in a single request. + /// Creates a new return policy. /// The body of the request. - public virtual CustombatchRequest Custombatch(Google.Apis.ShoppingContent.v2_1.Data.ReturnaddressCustomBatchRequest body) + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// + public virtual CreateRequest Create(Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId) { - return new CustombatchRequest(this.service, body); + return new CreateRequest(this.service, body, merchantId); } - /// Batches multiple return address related calls in a single request. - public class CustombatchRequest : ShoppingContentBaseServiceRequest + /// Creates a new return policy. + public class CreateRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Custombatch request. - public CustombatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnaddressCustomBatchRequest body) : base(service) + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId) : base(service) { + MerchantId = merchantId; Body = body; InitParameters(); } + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// + [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] + public virtual long MerchantId { get; private set; } + /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ReturnaddressCustomBatchRequest Body { get; set; } + Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "custombatch"; + public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. - public override string RestPath => "returnaddress/batch"; + public override string RestPath => "{merchantId}/returnpolicyonline"; - /// Initializes Custombatch parameter list. + /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); + RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter + { + Name = "merchantId", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); } } - /// Deletes a return address for the given Merchant Center account. - /// The Merchant Center account from which to delete the given return address. - /// Return address ID generated by Google. - public virtual DeleteRequest Delete(ulong merchantId, string returnAddressId) + /// Deletes an existing return policy. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// + /// Required. The id of the return policy to delete. + public virtual DeleteRequest Delete(long merchantId, string returnPolicyId) { - return new DeleteRequest(this.service, merchantId, returnAddressId); + return new DeleteRequest(this.service, merchantId, returnPolicyId); } - /// Deletes a return address for the given Merchant Center account. + /// Deletes an existing return policy. public class DeleteRequest : ShoppingContentBaseServiceRequest { /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, ulong merchantId, string returnAddressId) : base(service) + public DeleteRequest(Google.Apis.Services.IClientService service, long merchantId, string returnPolicyId) : base(service) { MerchantId = merchantId; - ReturnAddressId = returnAddressId; + ReturnPolicyId = returnPolicyId; InitParameters(); } - /// The Merchant Center account from which to delete the given return address. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } + public virtual long MerchantId { get; private set; } - /// Return address ID generated by Google. - [Google.Apis.Util.RequestParameterAttribute("returnAddressId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnAddressId { get; private set; } + /// Required. The id of the return policy to delete. + [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ReturnPolicyId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; @@ -8546,7 +8560,7 @@ public DeleteRequest(Google.Apis.Services.IClientService service, ulong merchant public override string HttpMethod => "DELETE"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnaddress/{returnAddressId}"; + public override string RestPath => "{merchantId}/returnpolicyonline/{returnPolicyId}"; /// Initializes Delete parameter list. protected override void InitParameters() @@ -8560,9 +8574,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("returnAddressId", new Google.Apis.Discovery.Parameter + RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter { - Name = "returnAddressId", + Name = "returnPolicyId", IsRequired = true, ParameterType = "path", DefaultValue = null, @@ -8571,32 +8585,36 @@ protected override void InitParameters() } } - /// Gets a return address of the Merchant Center account. - /// The Merchant Center account to get a return address for. - /// Return address ID generated by Google. - public virtual GetRequest Get(ulong merchantId, string returnAddressId) + /// Gets an existing return policy. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// + /// Required. The id of the return policy to retrieve. + public virtual GetRequest Get(long merchantId, string returnPolicyId) { - return new GetRequest(this.service, merchantId, returnAddressId); + return new GetRequest(this.service, merchantId, returnPolicyId); } - /// Gets a return address of the Merchant Center account. - public class GetRequest : ShoppingContentBaseServiceRequest + /// Gets an existing return policy. + public class GetRequest : ShoppingContentBaseServiceRequest { /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, ulong merchantId, string returnAddressId) : base(service) + public GetRequest(Google.Apis.Services.IClientService service, long merchantId, string returnPolicyId) : base(service) { MerchantId = merchantId; - ReturnAddressId = returnAddressId; + ReturnPolicyId = returnPolicyId; InitParameters(); } - /// The Merchant Center account to get a return address for. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } + public virtual long MerchantId { get; private set; } - /// Return address ID generated by Google. - [Google.Apis.Util.RequestParameterAttribute("returnAddressId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnAddressId { get; private set; } + /// Required. The id of the return policy to retrieve. + [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ReturnPolicyId { get; private set; } /// Gets the method name. public override string MethodName => "get"; @@ -8605,7 +8623,7 @@ public GetRequest(Google.Apis.Services.IClientService service, ulong merchantId, public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnaddress/{returnAddressId}"; + public override string RestPath => "{merchantId}/returnpolicyonline/{returnPolicyId}"; /// Initializes Get parameter list. protected override void InitParameters() @@ -8619,9 +8637,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("returnAddressId", new Google.Apis.Discovery.Parameter + RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter { - Name = "returnAddressId", + Name = "returnPolicyId", IsRequired = true, ParameterType = "path", DefaultValue = null, @@ -8630,45 +8648,41 @@ protected override void InitParameters() } } - /// Inserts a return address for the Merchant Center account. - /// The body of the request. - /// The Merchant Center account to insert a return address for. - public virtual InsertRequest Insert(Google.Apis.ShoppingContent.v2_1.Data.ReturnAddress body, ulong merchantId) + /// Lists all existing return policies. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// + public virtual ListRequest List(long merchantId) { - return new InsertRequest(this.service, body, merchantId); + return new ListRequest(this.service, merchantId); } - /// Inserts a return address for the Merchant Center account. - public class InsertRequest : ShoppingContentBaseServiceRequest + /// Lists all existing return policies. + public class ListRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Insert request. - public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnAddress body, ulong merchantId) : base(service) + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, long merchantId) : base(service) { MerchantId = merchantId; - Body = body; InitParameters(); } - /// The Merchant Center account to insert a return address for. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ReturnAddress Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; + public virtual long MerchantId { get; private set; } /// Gets the method name. - public override string MethodName => "insert"; + public override string MethodName => "list"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnaddress"; + public override string RestPath => "{merchantId}/returnpolicyonline"; - /// Initializes Insert parameter list. + /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); @@ -8683,52 +8697,55 @@ protected override void InitParameters() } } - /// Lists the return addresses of the Merchant Center account. - /// The Merchant Center account to list return addresses for. - public virtual ListRequest List(ulong merchantId) + /// Updates an existing return policy. + /// The body of the request. + /// + /// Required. The id of the merchant for which to retrieve the return policy online object. + /// + /// Required. The id of the return policy to update. + public virtual PatchRequest Patch(Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId, string returnPolicyId) { - return new ListRequest(this.service, merchantId); + return new PatchRequest(this.service, body, merchantId, returnPolicyId); } - /// Lists the return addresses of the Merchant Center account. - public class ListRequest : ShoppingContentBaseServiceRequest + /// Updates an existing return policy. + public class PatchRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId, string returnPolicyId) : base(service) { MerchantId = merchantId; + ReturnPolicyId = returnPolicyId; + Body = body; InitParameters(); } - /// The Merchant Center account to list return addresses for. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - /// - /// List only return addresses applicable to the given country of sale. When omitted, all return addresses - /// are listed. + /// Required. The id of the merchant for which to retrieve the return policy online object. /// - [Google.Apis.Util.RequestParameterAttribute("country", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Country { get; set; } + [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] + public virtual long MerchantId { get; private set; } - /// The maximum number of addresses in the response, used for paging. - [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxResults { get; set; } + /// Required. The id of the return policy to update. + [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] + public virtual string ReturnPolicyId { get; private set; } - /// The token returned by the previous request. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } + /// Gets or sets the body of this request. + Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "list"; + public override string MethodName => "patch"; /// Gets the HTTP method. - public override string HttpMethod => "GET"; + public override string HttpMethod => "PATCH"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnaddress"; + public override string RestPath => "{merchantId}/returnpolicyonline/{returnPolicyId}"; - /// Initializes List parameter list. + /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); @@ -8740,27 +8757,11 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("country", new Google.Apis.Discovery.Parameter - { - Name = "country", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter - { - Name = "maxResults", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", + Name = "returnPolicyId", + IsRequired = true, + ParameterType = "path", DefaultValue = null, Pattern = null, }); @@ -8768,39 +8769,39 @@ protected override void InitParameters() } } - /// The "returnpolicy" collection of methods. - public class ReturnpolicyResource + /// The "shippingsettings" collection of methods. + public class ShippingsettingsResource { - private const string Resource = "returnpolicy"; + private const string Resource = "shippingsettings"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. - public ReturnpolicyResource(Google.Apis.Services.IClientService service) + public ShippingsettingsResource(Google.Apis.Services.IClientService service) { this.service = service; } - /// Batches multiple return policy related calls in a single request. + /// Retrieves and updates the shipping settings of multiple accounts in a single request. /// The body of the request. - public virtual CustombatchRequest Custombatch(Google.Apis.ShoppingContent.v2_1.Data.ReturnpolicyCustomBatchRequest body) + public virtual CustombatchRequest Custombatch(Google.Apis.ShoppingContent.v2_1.Data.ShippingsettingsCustomBatchRequest body) { return new CustombatchRequest(this.service, body); } - /// Batches multiple return policy related calls in a single request. - public class CustombatchRequest : ShoppingContentBaseServiceRequest + /// Retrieves and updates the shipping settings of multiple accounts in a single request. + public class CustombatchRequest : ShoppingContentBaseServiceRequest { /// Constructs a new Custombatch request. - public CustombatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnpolicyCustomBatchRequest body) : base(service) + public CustombatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ShippingsettingsCustomBatchRequest body) : base(service) { Body = body; InitParameters(); } /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ReturnpolicyCustomBatchRequest Body { get; set; } + Google.Apis.ShoppingContent.v2_1.Data.ShippingsettingsCustomBatchRequest Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; @@ -8812,7 +8813,7 @@ public CustombatchRequest(Google.Apis.Services.IClientService service, Google.Ap public override string HttpMethod => "POST"; /// Gets the REST path. - public override string RestPath => "returnpolicy/batch"; + public override string RestPath => "shippingsettings/batch"; /// Initializes Custombatch parameter list. protected override void InitParameters() @@ -8821,43 +8822,49 @@ protected override void InitParameters() } } - /// Deletes a return policy for the given Merchant Center account. - /// The Merchant Center account from which to delete the given return policy. - /// Return policy ID generated by Google. - public virtual DeleteRequest Delete(ulong merchantId, string returnPolicyId) + /// Retrieves the shipping settings of the account. + /// + /// The ID of the managing account. If this parameter is not the same as accountId, then this account must be a + /// multi-client account and `accountId` must be the ID of a sub-account of this account. + /// + /// The ID of the account for which to get/update shipping settings. + public virtual GetRequest Get(ulong merchantId, ulong accountId) { - return new DeleteRequest(this.service, merchantId, returnPolicyId); + return new GetRequest(this.service, merchantId, accountId); } - /// Deletes a return policy for the given Merchant Center account. - public class DeleteRequest : ShoppingContentBaseServiceRequest + /// Retrieves the shipping settings of the account. + public class GetRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, ulong merchantId, string returnPolicyId) : base(service) + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, ulong merchantId, ulong accountId) : base(service) { MerchantId = merchantId; - ReturnPolicyId = returnPolicyId; + AccountId = accountId; InitParameters(); } - /// The Merchant Center account from which to delete the given return policy. + /// + /// The ID of the managing account. If this parameter is not the same as accountId, then this account must + /// be a multi-client account and `accountId` must be the ID of a sub-account of this account. + /// [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] public virtual ulong MerchantId { get; private set; } - /// Return policy ID generated by Google. - [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnPolicyId { get; private set; } + /// The ID of the account for which to get/update shipping settings. + [Google.Apis.Util.RequestParameterAttribute("accountId", Google.Apis.Util.RequestParameterType.Path)] + public virtual ulong AccountId { get; private set; } /// Gets the method name. - public override string MethodName => "delete"; + public override string MethodName => "get"; /// Gets the HTTP method. - public override string HttpMethod => "DELETE"; + public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicy/{returnPolicyId}"; + public override string RestPath => "{merchantId}/shippingsettings/{accountId}"; - /// Initializes Delete parameter list. + /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); @@ -8869,9 +8876,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter + RequestParameters.Add("accountId", new Google.Apis.Discovery.Parameter { - Name = "returnPolicyId", + Name = "accountId", IsRequired = true, ParameterType = "path", DefaultValue = null, @@ -8880,43 +8887,37 @@ protected override void InitParameters() } } - /// Gets a return policy of the Merchant Center account. - /// The Merchant Center account to get a return policy for. - /// Return policy ID generated by Google. - public virtual GetRequest Get(ulong merchantId, string returnPolicyId) + /// Retrieves supported carriers and carrier services for an account. + /// The ID of the account for which to retrieve the supported carriers. + public virtual GetsupportedcarriersRequest Getsupportedcarriers(ulong merchantId) { - return new GetRequest(this.service, merchantId, returnPolicyId); + return new GetsupportedcarriersRequest(this.service, merchantId); } - /// Gets a return policy of the Merchant Center account. - public class GetRequest : ShoppingContentBaseServiceRequest + /// Retrieves supported carriers and carrier services for an account. + public class GetsupportedcarriersRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, ulong merchantId, string returnPolicyId) : base(service) + /// Constructs a new Getsupportedcarriers request. + public GetsupportedcarriersRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) { MerchantId = merchantId; - ReturnPolicyId = returnPolicyId; InitParameters(); } - /// The Merchant Center account to get a return policy for. + /// The ID of the account for which to retrieve the supported carriers. [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] public virtual ulong MerchantId { get; private set; } - /// Return policy ID generated by Google. - [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnPolicyId { get; private set; } - /// Gets the method name. - public override string MethodName => "get"; + public override string MethodName => "getsupportedcarriers"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicy/{returnPolicyId}"; + public override string RestPath => "{merchantId}/supportedCarriers"; - /// Initializes Get parameter list. + /// Initializes Getsupportedcarriers parameter list. protected override void InitParameters() { base.InitParameters(); @@ -8928,56 +8929,40 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter - { - Name = "returnPolicyId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); } } - /// Inserts a return policy for the Merchant Center account. - /// The body of the request. - /// The Merchant Center account to insert a return policy for. - public virtual InsertRequest Insert(Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicy body, ulong merchantId) + /// Retrieves supported holidays for an account. + /// The ID of the account for which to retrieve the supported holidays. + public virtual GetsupportedholidaysRequest Getsupportedholidays(ulong merchantId) { - return new InsertRequest(this.service, body, merchantId); + return new GetsupportedholidaysRequest(this.service, merchantId); } - /// Inserts a return policy for the Merchant Center account. - public class InsertRequest : ShoppingContentBaseServiceRequest + /// Retrieves supported holidays for an account. + public class GetsupportedholidaysRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Insert request. - public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicy body, ulong merchantId) : base(service) + /// Constructs a new Getsupportedholidays request. + public GetsupportedholidaysRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) { MerchantId = merchantId; - Body = body; InitParameters(); } - /// The Merchant Center account to insert a return policy for. + /// The ID of the account for which to retrieve the supported holidays. [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] public virtual ulong MerchantId { get; private set; } - /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicy Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - /// Gets the method name. - public override string MethodName => "insert"; + public override string MethodName => "getsupportedholidays"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicy"; + public override string RestPath => "{merchantId}/supportedHolidays"; - /// Initializes Insert parameter list. + /// Initializes Getsupportedholidays parameter list. protected override void InitParameters() { base.InitParameters(); @@ -8992,37 +8977,37 @@ protected override void InitParameters() } } - /// Lists the return policies of the Merchant Center account. - /// The Merchant Center account to list return policies for. - public virtual ListRequest List(ulong merchantId) + /// Retrieves supported pickup services for an account. + /// The ID of the account for which to retrieve the supported pickup services. + public virtual GetsupportedpickupservicesRequest Getsupportedpickupservices(ulong merchantId) { - return new ListRequest(this.service, merchantId); + return new GetsupportedpickupservicesRequest(this.service, merchantId); } - /// Lists the return policies of the Merchant Center account. - public class ListRequest : ShoppingContentBaseServiceRequest + /// Retrieves supported pickup services for an account. + public class GetsupportedpickupservicesRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) + /// Constructs a new Getsupportedpickupservices request. + public GetsupportedpickupservicesRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) { MerchantId = merchantId; InitParameters(); } - /// The Merchant Center account to list return policies for. + /// The ID of the account for which to retrieve the supported pickup services. [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] public virtual ulong MerchantId { get; private set; } /// Gets the method name. - public override string MethodName => "list"; + public override string MethodName => "getsupportedpickupservices"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicy"; + public override string RestPath => "{merchantId}/supportedPickupServices"; - /// Initializes List parameter list. + /// Initializes Getsupportedpickupservices parameter list. protected override void InitParameters() { base.InitParameters(); @@ -9036,65 +9021,46 @@ protected override void InitParameters() }); } } - } - - /// The "returnpolicyonline" collection of methods. - public class ReturnpolicyonlineResource - { - private const string Resource = "returnpolicyonline"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ReturnpolicyonlineResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - /// Creates a new return policy. - /// The body of the request. - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// - public virtual CreateRequest Create(Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId) + /// Lists the shipping settings of the sub-accounts in your Merchant Center account. + /// The ID of the managing account. This must be a multi-client account. + public virtual ListRequest List(ulong merchantId) { - return new CreateRequest(this.service, body, merchantId); + return new ListRequest(this.service, merchantId); } - /// Creates a new return policy. - public class CreateRequest : ShoppingContentBaseServiceRequest + /// Lists the shipping settings of the sub-accounts in your Merchant Center account. + public class ListRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Create request. - public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId) : base(service) + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) { MerchantId = merchantId; - Body = body; InitParameters(); } - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// + /// The ID of the managing account. This must be a multi-client account. [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long MerchantId { get; private set; } + public virtual ulong MerchantId { get; private set; } - /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline Body { get; set; } + /// The maximum number of shipping settings to return in the response, used for paging. + [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxResults { get; set; } - /// Returns the body of the request. - protected override object GetBody() => Body; + /// The token returned by the previous request. + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } /// Gets the method name. - public override string MethodName => "create"; + public override string MethodName => "list"; /// Gets the HTTP method. - public override string HttpMethod => "POST"; + public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicyonline"; + public override string RestPath => "{merchantId}/shippingsettings"; - /// Initializes Create parameter list. + /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); @@ -9106,50 +9072,82 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter + { + Name = "maxResults", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } - /// Deletes an existing return policy. + /// + /// Updates the shipping settings of the account. Any fields that are not provided are deleted from the + /// resource. + /// + /// The body of the request. /// - /// Required. The id of the merchant for which to retrieve the return policy online object. + /// The ID of the managing account. If this parameter is not the same as accountId, then this account must be a + /// multi-client account and `accountId` must be the ID of a sub-account of this account. /// - /// Required. The id of the return policy to delete. - public virtual DeleteRequest Delete(long merchantId, string returnPolicyId) + /// The ID of the account for which to get/update shipping settings. + public virtual UpdateRequest Update(Google.Apis.ShoppingContent.v2_1.Data.ShippingSettings body, ulong merchantId, ulong accountId) { - return new DeleteRequest(this.service, merchantId, returnPolicyId); + return new UpdateRequest(this.service, body, merchantId, accountId); } - /// Deletes an existing return policy. - public class DeleteRequest : ShoppingContentBaseServiceRequest + /// + /// Updates the shipping settings of the account. Any fields that are not provided are deleted from the + /// resource. + /// + public class UpdateRequest : ShoppingContentBaseServiceRequest { - /// Constructs a new Delete request. - public DeleteRequest(Google.Apis.Services.IClientService service, long merchantId, string returnPolicyId) : base(service) + /// Constructs a new Update request. + public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ShippingSettings body, ulong merchantId, ulong accountId) : base(service) { MerchantId = merchantId; - ReturnPolicyId = returnPolicyId; + AccountId = accountId; + Body = body; InitParameters(); } /// - /// Required. The id of the merchant for which to retrieve the return policy online object. + /// The ID of the managing account. If this parameter is not the same as accountId, then this account must + /// be a multi-client account and `accountId` must be the ID of a sub-account of this account. /// [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long MerchantId { get; private set; } + public virtual ulong MerchantId { get; private set; } - /// Required. The id of the return policy to delete. - [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnPolicyId { get; private set; } + /// The ID of the account for which to get/update shipping settings. + [Google.Apis.Util.RequestParameterAttribute("accountId", Google.Apis.Util.RequestParameterType.Path)] + public virtual ulong AccountId { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.ShoppingContent.v2_1.Data.ShippingSettings Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; /// Gets the method name. - public override string MethodName => "delete"; + public override string MethodName => "update"; /// Gets the HTTP method. - public override string HttpMethod => "DELETE"; + public override string HttpMethod => "PUT"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicyonline/{returnPolicyId}"; + public override string RestPath => "{merchantId}/shippingsettings/{accountId}"; - /// Initializes Delete parameter list. + /// Initializes Update parameter list. protected override void InitParameters() { base.InitParameters(); @@ -9161,9 +9159,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter + RequestParameters.Add("accountId", new Google.Apis.Discovery.Parameter { - Name = "returnPolicyId", + Name = "accountId", IsRequired = true, ParameterType = "path", DefaultValue = null, @@ -9171,38 +9169,51 @@ protected override void InitParameters() }); } } + } - /// Gets an existing return policy. - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// - /// Required. The id of the return policy to retrieve. - public virtual GetRequest Get(long merchantId, string returnPolicyId) + /// The "shoppingadsprogram" collection of methods. + public class ShoppingadsprogramResource + { + private const string Resource = "shoppingadsprogram"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ShoppingadsprogramResource(Google.Apis.Services.IClientService service) { - return new GetRequest(this.service, merchantId, returnPolicyId); + this.service = service; } - /// Gets an existing return policy. - public class GetRequest : ShoppingContentBaseServiceRequest + /// + /// Retrieves the status and review eligibility for the Shopping Ads program. Returns errors and warnings if + /// they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to + /// view all issues for an account. + /// + /// Required. The ID of the account. + public virtual GetRequest Get(long merchantId) + { + return new GetRequest(this.service, merchantId); + } + + /// + /// Retrieves the status and review eligibility for the Shopping Ads program. Returns errors and warnings if + /// they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to + /// view all issues for an account. + /// + public class GetRequest : ShoppingContentBaseServiceRequest { /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long merchantId, string returnPolicyId) : base(service) + public GetRequest(Google.Apis.Services.IClientService service, long merchantId) : base(service) { MerchantId = merchantId; - ReturnPolicyId = returnPolicyId; InitParameters(); } - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// + /// Required. The ID of the account. [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] public virtual long MerchantId { get; private set; } - /// Required. The id of the return policy to retrieve. - [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnPolicyId { get; private set; } - /// Gets the method name. public override string MethodName => "get"; @@ -9210,7 +9221,7 @@ public GetRequest(Google.Apis.Services.IClientService service, long merchantId, public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicyonline/{returnPolicyId}"; + public override string RestPath => "{merchantId}/shoppingadsprogram"; /// Initializes Get parameter list. protected override void InitParameters() @@ -9224,616 +9235,18 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter - { - Name = "returnPolicyId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); } } - /// Lists all existing return policies. - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// - public virtual ListRequest List(long merchantId) + /// + /// Requests a review of Shopping ads in a specific region. This method deprecated. Use the + /// `MerchantSupportService` to view product and account issues and request a review. + /// + /// The body of the request. + /// Required. The ID of the account. + public virtual RequestreviewRequest Requestreview(Google.Apis.ShoppingContent.v2_1.Data.RequestReviewShoppingAdsRequest body, long merchantId) { - return new ListRequest(this.service, merchantId); - } - - /// Lists all existing return policies. - public class ListRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, long merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long MerchantId { get; private set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicyonline"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Updates an existing return policy. - /// The body of the request. - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// - /// Required. The id of the return policy to update. - public virtual PatchRequest Patch(Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId, string returnPolicyId) - { - return new PatchRequest(this.service, body, merchantId, returnPolicyId); - } - - /// Updates an existing return policy. - public class PatchRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Patch request. - public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline body, long merchantId, string returnPolicyId) : base(service) - { - MerchantId = merchantId; - ReturnPolicyId = returnPolicyId; - Body = body; - InitParameters(); - } - - /// - /// Required. The id of the merchant for which to retrieve the return policy online object. - /// - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long MerchantId { get; private set; } - - /// Required. The id of the return policy to update. - [Google.Apis.Util.RequestParameterAttribute("returnPolicyId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string ReturnPolicyId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ReturnPolicyOnline Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "patch"; - - /// Gets the HTTP method. - public override string HttpMethod => "PATCH"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/returnpolicyonline/{returnPolicyId}"; - - /// Initializes Patch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("returnPolicyId", new Google.Apis.Discovery.Parameter - { - Name = "returnPolicyId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "shippingsettings" collection of methods. - public class ShippingsettingsResource - { - private const string Resource = "shippingsettings"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ShippingsettingsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Retrieves and updates the shipping settings of multiple accounts in a single request. - /// The body of the request. - public virtual CustombatchRequest Custombatch(Google.Apis.ShoppingContent.v2_1.Data.ShippingsettingsCustomBatchRequest body) - { - return new CustombatchRequest(this.service, body); - } - - /// Retrieves and updates the shipping settings of multiple accounts in a single request. - public class CustombatchRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Custombatch request. - public CustombatchRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ShippingsettingsCustomBatchRequest body) : base(service) - { - Body = body; - InitParameters(); - } - - /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ShippingsettingsCustomBatchRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "custombatch"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "shippingsettings/batch"; - - /// Initializes Custombatch parameter list. - protected override void InitParameters() - { - base.InitParameters(); - } - } - - /// Retrieves the shipping settings of the account. - /// - /// The ID of the managing account. If this parameter is not the same as accountId, then this account must be a - /// multi-client account and `accountId` must be the ID of a sub-account of this account. - /// - /// The ID of the account for which to get/update shipping settings. - public virtual GetRequest Get(ulong merchantId, ulong accountId) - { - return new GetRequest(this.service, merchantId, accountId); - } - - /// Retrieves the shipping settings of the account. - public class GetRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, ulong merchantId, ulong accountId) : base(service) - { - MerchantId = merchantId; - AccountId = accountId; - InitParameters(); - } - - /// - /// The ID of the managing account. If this parameter is not the same as accountId, then this account must - /// be a multi-client account and `accountId` must be the ID of a sub-account of this account. - /// - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// The ID of the account for which to get/update shipping settings. - [Google.Apis.Util.RequestParameterAttribute("accountId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong AccountId { get; private set; } - - /// Gets the method name. - public override string MethodName => "get"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/shippingsettings/{accountId}"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("accountId", new Google.Apis.Discovery.Parameter - { - Name = "accountId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Retrieves supported carriers and carrier services for an account. - /// The ID of the account for which to retrieve the supported carriers. - public virtual GetsupportedcarriersRequest Getsupportedcarriers(ulong merchantId) - { - return new GetsupportedcarriersRequest(this.service, merchantId); - } - - /// Retrieves supported carriers and carrier services for an account. - public class GetsupportedcarriersRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Getsupportedcarriers request. - public GetsupportedcarriersRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// The ID of the account for which to retrieve the supported carriers. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// Gets the method name. - public override string MethodName => "getsupportedcarriers"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/supportedCarriers"; - - /// Initializes Getsupportedcarriers parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Retrieves supported holidays for an account. - /// The ID of the account for which to retrieve the supported holidays. - public virtual GetsupportedholidaysRequest Getsupportedholidays(ulong merchantId) - { - return new GetsupportedholidaysRequest(this.service, merchantId); - } - - /// Retrieves supported holidays for an account. - public class GetsupportedholidaysRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Getsupportedholidays request. - public GetsupportedholidaysRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// The ID of the account for which to retrieve the supported holidays. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// Gets the method name. - public override string MethodName => "getsupportedholidays"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/supportedHolidays"; - - /// Initializes Getsupportedholidays parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Retrieves supported pickup services for an account. - /// The ID of the account for which to retrieve the supported pickup services. - public virtual GetsupportedpickupservicesRequest Getsupportedpickupservices(ulong merchantId) - { - return new GetsupportedpickupservicesRequest(this.service, merchantId); - } - - /// Retrieves supported pickup services for an account. - public class GetsupportedpickupservicesRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Getsupportedpickupservices request. - public GetsupportedpickupservicesRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// The ID of the account for which to retrieve the supported pickup services. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// Gets the method name. - public override string MethodName => "getsupportedpickupservices"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/supportedPickupServices"; - - /// Initializes Getsupportedpickupservices parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// Lists the shipping settings of the sub-accounts in your Merchant Center account. - /// The ID of the managing account. This must be a multi-client account. - public virtual ListRequest List(ulong merchantId) - { - return new ListRequest(this.service, merchantId); - } - - /// Lists the shipping settings of the sub-accounts in your Merchant Center account. - public class ListRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new List request. - public ListRequest(Google.Apis.Services.IClientService service, ulong merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// The ID of the managing account. This must be a multi-client account. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// The maximum number of shipping settings to return in the response, used for paging. - [Google.Apis.Util.RequestParameterAttribute("maxResults", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable MaxResults { get; set; } - - /// The token returned by the previous request. - [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] - public virtual string PageToken { get; set; } - - /// Gets the method name. - public override string MethodName => "list"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/shippingsettings"; - - /// Initializes List parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("maxResults", new Google.Apis.Discovery.Parameter - { - Name = "maxResults", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter - { - Name = "pageToken", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Updates the shipping settings of the account. Any fields that are not provided are deleted from the - /// resource. - /// - /// The body of the request. - /// - /// The ID of the managing account. If this parameter is not the same as accountId, then this account must be a - /// multi-client account and `accountId` must be the ID of a sub-account of this account. - /// - /// The ID of the account for which to get/update shipping settings. - public virtual UpdateRequest Update(Google.Apis.ShoppingContent.v2_1.Data.ShippingSettings body, ulong merchantId, ulong accountId) - { - return new UpdateRequest(this.service, body, merchantId, accountId); - } - - /// - /// Updates the shipping settings of the account. Any fields that are not provided are deleted from the - /// resource. - /// - public class UpdateRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Update request. - public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.ShoppingContent.v2_1.Data.ShippingSettings body, ulong merchantId, ulong accountId) : base(service) - { - MerchantId = merchantId; - AccountId = accountId; - Body = body; - InitParameters(); - } - - /// - /// The ID of the managing account. If this parameter is not the same as accountId, then this account must - /// be a multi-client account and `accountId` must be the ID of a sub-account of this account. - /// - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong MerchantId { get; private set; } - - /// The ID of the account for which to get/update shipping settings. - [Google.Apis.Util.RequestParameterAttribute("accountId", Google.Apis.Util.RequestParameterType.Path)] - public virtual ulong AccountId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.ShoppingContent.v2_1.Data.ShippingSettings Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "update"; - - /// Gets the HTTP method. - public override string HttpMethod => "PUT"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/shippingsettings/{accountId}"; - - /// Initializes Update parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("accountId", new Google.Apis.Discovery.Parameter - { - Name = "accountId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - } - - /// The "shoppingadsprogram" collection of methods. - public class ShoppingadsprogramResource - { - private const string Resource = "shoppingadsprogram"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public ShoppingadsprogramResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// - /// Retrieves the status and review eligibility for the Shopping Ads program. Returns errors and warnings if - /// they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to - /// view all issues for an account. - /// - /// Required. The ID of the account. - public virtual GetRequest Get(long merchantId) - { - return new GetRequest(this.service, merchantId); - } - - /// - /// Retrieves the status and review eligibility for the Shopping Ads program. Returns errors and warnings if - /// they require action to resolve, will become disapprovals, or impact impressions. Use `accountstatuses` to - /// view all issues for an account. - /// - public class GetRequest : ShoppingContentBaseServiceRequest - { - /// Constructs a new Get request. - public GetRequest(Google.Apis.Services.IClientService service, long merchantId) : base(service) - { - MerchantId = merchantId; - InitParameters(); - } - - /// Required. The ID of the account. - [Google.Apis.Util.RequestParameterAttribute("merchantId", Google.Apis.Util.RequestParameterType.Path)] - public virtual long MerchantId { get; private set; } - - /// Gets the method name. - public override string MethodName => "get"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "{merchantId}/shoppingadsprogram"; - - /// Initializes Get parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("merchantId", new Google.Apis.Discovery.Parameter - { - Name = "merchantId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } - - /// - /// Requests a review of Shopping ads in a specific region. This method deprecated. Use the - /// `MerchantSupportService` to view product and account issues and request a review. - /// - /// The body of the request. - /// Required. The ID of the account. - public virtual RequestreviewRequest Requestreview(Google.Apis.ShoppingContent.v2_1.Data.RequestReviewShoppingAdsRequest body, long merchantId) - { - return new RequestreviewRequest(this.service, body, merchantId); + return new RequestreviewRequest(this.service, body, merchantId); } /// @@ -18655,180 +18068,60 @@ public class RequestPhoneVerificationRequest : Google.Apis.Requests.IDirectRespo [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] public virtual string LanguageCode { get; set; } - /// Phone number to be verified. - [Newtonsoft.Json.JsonPropertyAttribute("phoneNumber")] - public virtual string PhoneNumber { get; set; } - - /// - /// Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO - /// 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially - /// assigned codes. - /// - [Newtonsoft.Json.JsonPropertyAttribute("phoneRegionCode")] - public virtual string PhoneRegionCode { get; set; } - - /// Verification method to receive verification code. - [Newtonsoft.Json.JsonPropertyAttribute("phoneVerificationMethod")] - public virtual string PhoneVerificationMethod { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response message for the RequestPhoneVerification method. - public class RequestPhoneVerificationResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The verification ID to use in subsequent calls to `verifyphonenumber`. - [Newtonsoft.Json.JsonPropertyAttribute("verificationId")] - public virtual string VerificationId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for the RequestReviewFreeListings Program method. - public class RequestReviewFreeListingsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which - /// review is to be requested. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] - public virtual string RegionCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for the RequestReviewShoppingAds program method. - public class RequestReviewShoppingAdsRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which - /// review is to be requested. - /// - [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] - public virtual string RegionCode { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Return address resource. - public class ReturnAddress : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The address. - [Newtonsoft.Json.JsonPropertyAttribute("address")] - public virtual ReturnAddressAddress Address { get; set; } - - /// Required. The country of sale where the return address is applicable. - [Newtonsoft.Json.JsonPropertyAttribute("country")] - public virtual string Country { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#returnAddress`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// - /// Required. The user-defined label of the return address. For the default address, use the label "default". - /// - [Newtonsoft.Json.JsonPropertyAttribute("label")] - public virtual string Label { get; set; } - - /// Required. The merchant's contact phone number regarding the return. + /// Phone number to be verified. [Newtonsoft.Json.JsonPropertyAttribute("phoneNumber")] public virtual string PhoneNumber { get; set; } - /// Return address ID generated by Google. - [Newtonsoft.Json.JsonPropertyAttribute("returnAddressId")] - public virtual string ReturnAddressId { get; set; } + /// + /// Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO + /// 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially + /// assigned codes. + /// + [Newtonsoft.Json.JsonPropertyAttribute("phoneRegionCode")] + public virtual string PhoneRegionCode { get; set; } + + /// Verification method to receive verification code. + [Newtonsoft.Json.JsonPropertyAttribute("phoneVerificationMethod")] + public virtual string PhoneVerificationMethod { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - public class ReturnAddressAddress : Google.Apis.Requests.IDirectResponseSchema + /// Response message for the RequestPhoneVerification method. + public class RequestPhoneVerificationResponse : Google.Apis.Requests.IDirectResponseSchema { - /// CLDR country code (for example, "US"). - [Newtonsoft.Json.JsonPropertyAttribute("country")] - public virtual string Country { get; set; } - - /// - /// City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or - /// suburbs). - /// - [Newtonsoft.Json.JsonPropertyAttribute("locality")] - public virtual string Locality { get; set; } - - /// Postal code or ZIP (for example, "94043"). - [Newtonsoft.Json.JsonPropertyAttribute("postalCode")] - public virtual string PostalCode { get; set; } - - /// Name of the recipient to address returns to. - [Newtonsoft.Json.JsonPropertyAttribute("recipientName")] - public virtual string RecipientName { get; set; } + /// The verification ID to use in subsequent calls to `verifyphonenumber`. + [Newtonsoft.Json.JsonPropertyAttribute("verificationId")] + public virtual string VerificationId { get; set; } - /// - /// Top-level administrative subdivision of the country. For example, a state like California ("CA") or a - /// province like Quebec ("QC"). - /// - [Newtonsoft.Json.JsonPropertyAttribute("region")] - public virtual string Region { get; set; } + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for the RequestReviewFreeListings Program method. + public class RequestReviewFreeListingsRequest : Google.Apis.Requests.IDirectResponseSchema + { /// - /// Street-level part of the address. May be up to two lines, each line specified as an array element. + /// The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which + /// review is to be requested. /// - [Newtonsoft.Json.JsonPropertyAttribute("streetAddress")] - public virtual System.Collections.Generic.IList StreetAddress { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] + public virtual string RegionCode { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Return policy resource. - public class ReturnPolicy : Google.Apis.Requests.IDirectResponseSchema + /// Request message for the RequestReviewShoppingAds program method. + public class RequestReviewShoppingAdsRequest : Google.Apis.Requests.IDirectResponseSchema { - /// Required. The country of sale where the return policy is applicable. - [Newtonsoft.Json.JsonPropertyAttribute("country")] - public virtual string Country { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#returnPolicy`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - /// - /// Required. The user-defined label of the return policy. For the default policy, use the label "default". + /// The code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the country for which + /// review is to be requested. /// - [Newtonsoft.Json.JsonPropertyAttribute("label")] - public virtual string Label { get; set; } - - /// Required. The name of the policy as shown in Merchant Center. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Return reasons that will incur return fees. - [Newtonsoft.Json.JsonPropertyAttribute("nonFreeReturnReasons")] - public virtual System.Collections.Generic.IList NonFreeReturnReasons { get; set; } - - /// Required. The policy. - [Newtonsoft.Json.JsonPropertyAttribute("policy")] - public virtual ReturnPolicyPolicy Policy { get; set; } - - /// Return policy ID generated by Google. - [Newtonsoft.Json.JsonPropertyAttribute("returnPolicyId")] - public virtual string ReturnPolicyId { get; set; } - - /// The return shipping fee that will apply to non free return reasons. - [Newtonsoft.Json.JsonPropertyAttribute("returnShippingFee")] - public virtual Price ReturnShippingFee { get; set; } - - /// An optional list of seasonal overrides. - [Newtonsoft.Json.JsonPropertyAttribute("seasonalOverrides")] - public virtual System.Collections.Generic.IList SeasonalOverrides { get; set; } + [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] + public virtual string RegionCode { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } @@ -18984,255 +18277,6 @@ public class ReturnPolicyOnlineReturnShippingFee : Google.Apis.Requests.IDirectR public virtual string ETag { get; set; } } - public class ReturnPolicyPolicy : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Required. Last day for returning the items. In ISO 8601 format. When specifying the return window like this, - /// set the policy type to "lastReturnDate". Use this for seasonal overrides only. - /// - [Newtonsoft.Json.JsonPropertyAttribute("lastReturnDate")] - public virtual string LastReturnDate { get; set; } - - /// - /// The number of days items can be returned after delivery, where one day is defined to be 24 hours after the - /// delivery timestamp. When specifying the return window like this, set the policy type to - /// "numberOfDaysAfterDelivery". Acceptable values are 30, 45, 60, 90, 100, 180, 270 and 365 for the default - /// policy. Additional policies further allow 14, 15, 21 and 28 days, but note that for most items a minimum of - /// 30 days is required for returns. Exceptions may be made for electronics. A policy of less than 30 days can - /// only be applied to those items. - /// - [Newtonsoft.Json.JsonPropertyAttribute("numberOfDays")] - public virtual System.Nullable NumberOfDays { get; set; } - - /// - /// Policy type. Use "lastReturnDate" for seasonal overrides only. Note that for most items a minimum of 30 days - /// is required for returns. Exceptions may be made for electronics or non-returnable items such as food, - /// perishables, and living things. A policy of less than 30 days can only be applied to those items. Acceptable - /// values are: - "`lastReturnDate`" - "`lifetimeReturns`" - "`noReturns`" - "`numberOfDaysAfterDelivery`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("type")] - public virtual string Type { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnPolicySeasonalOverride : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. Last day on which the override applies. In ISO 8601 format. - [Newtonsoft.Json.JsonPropertyAttribute("endDate")] - public virtual string EndDate { get; set; } - - /// Required. The name of the seasonal override as shown in Merchant Center. - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// Required. The policy which is in effect during that time. - [Newtonsoft.Json.JsonPropertyAttribute("policy")] - public virtual ReturnPolicyPolicy Policy { get; set; } - - /// Required. First day on which the override applies. In ISO 8601 format. - [Newtonsoft.Json.JsonPropertyAttribute("startDate")] - public virtual string StartDate { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnaddressCustomBatchRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The request entries to be processed in the batch. - [Newtonsoft.Json.JsonPropertyAttribute("entries")] - public virtual System.Collections.Generic.IList Entries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnaddressCustomBatchRequestEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// An entry ID, unique within the batch request. - [Newtonsoft.Json.JsonPropertyAttribute("batchId")] - public virtual System.Nullable BatchId { get; set; } - - /// The Merchant Center account ID. - [Newtonsoft.Json.JsonPropertyAttribute("merchantId")] - public virtual System.Nullable MerchantId { get; set; } - - /// - /// Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("method")] - public virtual string Method { get; set; } - - /// The return address to submit. This should be set only if the method is `insert`. - [Newtonsoft.Json.JsonPropertyAttribute("returnAddress")] - public virtual ReturnAddress ReturnAddress { get; set; } - - /// The return address ID. This should be set only if the method is `delete` or `get`. - [Newtonsoft.Json.JsonPropertyAttribute("returnAddressId")] - public virtual string ReturnAddressId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnaddressCustomBatchResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The result of the execution of the batch requests. - [Newtonsoft.Json.JsonPropertyAttribute("entries")] - public virtual System.Collections.Generic.IList Entries { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string - /// "`content#returnaddressCustomBatchResponse`". - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnaddressCustomBatchResponseEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the request entry to which this entry responds. - [Newtonsoft.Json.JsonPropertyAttribute("batchId")] - public virtual System.Nullable BatchId { get; set; } - - /// A list of errors defined if, and only if, the request failed. - [Newtonsoft.Json.JsonPropertyAttribute("errors")] - public virtual Errors Errors { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string - /// "`content#returnaddressCustomBatchResponseEntry`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The retrieved return address. - [Newtonsoft.Json.JsonPropertyAttribute("returnAddress")] - public virtual ReturnAddress ReturnAddress { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnaddressListResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#returnaddressListResponse`". - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The token for the retrieval of the next page of addresses. - [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] - public virtual string NextPageToken { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("resources")] - public virtual System.Collections.Generic.IList Resources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnpolicyCustomBatchRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// The request entries to be processed in the batch. - [Newtonsoft.Json.JsonPropertyAttribute("entries")] - public virtual System.Collections.Generic.IList Entries { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnpolicyCustomBatchRequestEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// An entry ID, unique within the batch request. - [Newtonsoft.Json.JsonPropertyAttribute("batchId")] - public virtual System.Nullable BatchId { get; set; } - - /// The Merchant Center account ID. - [Newtonsoft.Json.JsonPropertyAttribute("merchantId")] - public virtual System.Nullable MerchantId { get; set; } - - /// - /// Method of the batch request entry. Acceptable values are: - "`delete`" - "`get`" - "`insert`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("method")] - public virtual string Method { get; set; } - - /// The return policy to submit. This should be set only if the method is `insert`. - [Newtonsoft.Json.JsonPropertyAttribute("returnPolicy")] - public virtual ReturnPolicy ReturnPolicy { get; set; } - - /// The return policy ID. This should be set only if the method is `delete` or `get`. - [Newtonsoft.Json.JsonPropertyAttribute("returnPolicyId")] - public virtual string ReturnPolicyId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnpolicyCustomBatchResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The result of the execution of the batch requests. - [Newtonsoft.Json.JsonPropertyAttribute("entries")] - public virtual System.Collections.Generic.IList Entries { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string - /// "`content#returnpolicyCustomBatchResponse`". - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnpolicyCustomBatchResponseEntry : Google.Apis.Requests.IDirectResponseSchema - { - /// The ID of the request entry to which this entry responds. - [Newtonsoft.Json.JsonPropertyAttribute("batchId")] - public virtual System.Nullable BatchId { get; set; } - - /// A list of errors defined if, and only if, the request failed. - [Newtonsoft.Json.JsonPropertyAttribute("errors")] - public virtual Errors Errors { get; set; } - - /// - /// Identifies what kind of resource this is. Value: the fixed string - /// "`content#returnpolicyCustomBatchResponseEntry`" - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - /// The retrieved return policy. - [Newtonsoft.Json.JsonPropertyAttribute("returnPolicy")] - public virtual ReturnPolicy ReturnPolicy { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - public class ReturnpolicyListResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Identifies what kind of resource this is. Value: the fixed string "`content#returnpolicyListResponse`". - /// - [Newtonsoft.Json.JsonPropertyAttribute("kind")] - public virtual string Kind { get; set; } - - [Newtonsoft.Json.JsonPropertyAttribute("resources")] - public virtual System.Collections.Generic.IList Resources { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - public class Row : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj index 2fbaf7e9454..0e2f4282af5 100644 --- a/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj +++ b/Src/Generated/Google.Apis.ShoppingContent.v2_1/Google.Apis.ShoppingContent.v2_1.csproj @@ -3,7 +3,7 @@ Google.Apis.ShoppingContent.v2_1 Client Library - 1.72.0.3960 + 1.72.0.3968 Google LLC Copyright 2025 Google LLC Google From fc3cfe44dadc874111392710357371ad6e9e4138 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:35 +0000 Subject: [PATCH 035/106] feat: Generate Google.Apis.Dataform.v1 version 1.72.0.3967 --- DiscoveryJson/dataform.v1.json | 34 ++++++++++++++++++- .../Google.Apis.Dataform.v1.cs | 23 +++++++++++++ .../Google.Apis.Dataform.v1.csproj | 2 +- 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/dataform.v1.json b/DiscoveryJson/dataform.v1.json index 6f44cb61c3d..61469356286 100644 --- a/DiscoveryJson/dataform.v1.json +++ b/DiscoveryJson/dataform.v1.json @@ -2467,7 +2467,7 @@ } } }, - "revision": "20251102", + "revision": "20251111", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -4138,6 +4138,10 @@ }, "type": "array" }, + "connection": { + "description": "Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}\", or be set to DEFAULT.", + "type": "string" + }, "dependencyTargets": { "description": "A list of actions that this action depends on.", "items": { @@ -4149,6 +4153,18 @@ "description": "Whether this action is disabled (i.e. should not be run).", "type": "boolean" }, + "fileFormat": { + "description": "Optional. The file format for the BigQuery table.", + "enum": [ + "FILE_FORMAT_UNSPECIFIED", + "PARQUET" + ], + "enumDescriptions": [ + "Default value.", + "Apache Parquet format." + ], + "type": "string" + }, "incrementalTableConfig": { "$ref": "IncrementalTableConfig", "description": "Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`." @@ -4206,6 +4222,22 @@ "description": "The SELECT query which returns rows which this relation should contain.", "type": "string" }, + "storageUri": { + "description": "Optional. The fully qualified location prefix of the external folder where table data is stored. The URI should be in the format `gs://bucket/path_to_table/`.", + "type": "string" + }, + "tableFormat": { + "description": "Optional. The table format for the BigQuery table.", + "enum": [ + "TABLE_FORMAT_UNSPECIFIED", + "ICEBERG" + ], + "enumDescriptions": [ + "Default value.", + "Apache Iceberg format." + ], + "type": "string" + }, "tags": { "description": "Arbitrary, user-defined tags on this action.", "items": { diff --git a/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs index 6455bc2f0cf..172f777bd3a 100644 --- a/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs +++ b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.cs @@ -7321,6 +7321,14 @@ public class Relation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("clusterExpressions")] public virtual System.Collections.Generic.IList ClusterExpressions { get; set; } + /// + /// Optional. The connection specifying the credentials to be used to read and write to external storage, such + /// as Cloud Storage. The connection can have the form `{project}.{location}.{connection_id}` or + /// `projects/{project}/locations/{location}/connections/{connection_id}", or be set to DEFAULT. + /// + [Newtonsoft.Json.JsonPropertyAttribute("connection")] + public virtual string Connection { get; set; } + /// A list of actions that this action depends on. [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] public virtual System.Collections.Generic.IList DependencyTargets { get; set; } @@ -7329,6 +7337,10 @@ public class Relation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("disabled")] public virtual System.Nullable Disabled { get; set; } + /// Optional. The file format for the BigQuery table. + [Newtonsoft.Json.JsonPropertyAttribute("fileFormat")] + public virtual string FileFormat { get; set; } + /// /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is /// `INCREMENTAL_TABLE`. @@ -7371,6 +7383,17 @@ public class Relation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("selectQuery")] public virtual string SelectQuery { get; set; } + /// + /// Optional. The fully qualified location prefix of the external folder where table data is stored. The URI + /// should be in the format `gs://bucket/path_to_table/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("storageUri")] + public virtual string StorageUri { get; set; } + + /// Optional. The table format for the BigQuery table. + [Newtonsoft.Json.JsonPropertyAttribute("tableFormat")] + public virtual string TableFormat { get; set; } + /// Arbitrary, user-defined tags on this action. [Newtonsoft.Json.JsonPropertyAttribute("tags")] public virtual System.Collections.Generic.IList Tags { get; set; } diff --git a/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj index ec34074d102..6af093c8057 100644 --- a/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj +++ b/Src/Generated/Google.Apis.Dataform.v1/Google.Apis.Dataform.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataform.v1 Client Library - 1.72.0.3958 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From b43b5a7820076f608b83ef52e780e9fa63fef192 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:37 +0000 Subject: [PATCH 036/106] feat: Generate Google.Apis.Dataform.v1beta1 version 1.72.0.3967 --- DiscoveryJson/dataform.v1beta1.json | 34 ++++++++++++++++++- .../Google.Apis.Dataform.v1beta1.cs | 23 +++++++++++++ .../Google.Apis.Dataform.v1beta1.csproj | 2 +- 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/dataform.v1beta1.json b/DiscoveryJson/dataform.v1beta1.json index 656e2035cf6..fae55bf0e7c 100644 --- a/DiscoveryJson/dataform.v1beta1.json +++ b/DiscoveryJson/dataform.v1beta1.json @@ -2467,7 +2467,7 @@ } } }, - "revision": "20251102", + "revision": "20251111", "rootUrl": "https://dataform.googleapis.com/", "schemas": { "ActionErrorTable": { @@ -4138,6 +4138,10 @@ }, "type": "array" }, + "connection": { + "description": "Optional. The connection specifying the credentials to be used to read and write to external storage, such as Cloud Storage. The connection can have the form `{project}.{location}.{connection_id}` or `projects/{project}/locations/{location}/connections/{connection_id}\", or be set to DEFAULT.", + "type": "string" + }, "dependencyTargets": { "description": "A list of actions that this action depends on.", "items": { @@ -4149,6 +4153,18 @@ "description": "Whether this action is disabled (i.e. should not be run).", "type": "boolean" }, + "fileFormat": { + "description": "Optional. The file format for the BigQuery table.", + "enum": [ + "FILE_FORMAT_UNSPECIFIED", + "PARQUET" + ], + "enumDescriptions": [ + "Default value.", + "Apache Parquet format." + ], + "type": "string" + }, "incrementalTableConfig": { "$ref": "IncrementalTableConfig", "description": "Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is `INCREMENTAL_TABLE`." @@ -4206,6 +4222,22 @@ "description": "The SELECT query which returns rows which this relation should contain.", "type": "string" }, + "storageUri": { + "description": "Optional. The fully qualified location prefix of the external folder where table data is stored. The URI should be in the format `gs://bucket/path_to_table/`.", + "type": "string" + }, + "tableFormat": { + "description": "Optional. The table format for the BigQuery table.", + "enum": [ + "TABLE_FORMAT_UNSPECIFIED", + "ICEBERG" + ], + "enumDescriptions": [ + "Default value.", + "Apache Iceberg format." + ], + "type": "string" + }, "tags": { "description": "Arbitrary, user-defined tags on this action.", "items": { diff --git a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs index 0cad435b8a7..b2a6755c7e3 100644 --- a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs +++ b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.cs @@ -7324,6 +7324,14 @@ public class Relation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("clusterExpressions")] public virtual System.Collections.Generic.IList ClusterExpressions { get; set; } + /// + /// Optional. The connection specifying the credentials to be used to read and write to external storage, such + /// as Cloud Storage. The connection can have the form `{project}.{location}.{connection_id}` or + /// `projects/{project}/locations/{location}/connections/{connection_id}", or be set to DEFAULT. + /// + [Newtonsoft.Json.JsonPropertyAttribute("connection")] + public virtual string Connection { get; set; } + /// A list of actions that this action depends on. [Newtonsoft.Json.JsonPropertyAttribute("dependencyTargets")] public virtual System.Collections.Generic.IList DependencyTargets { get; set; } @@ -7332,6 +7340,10 @@ public class Relation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("disabled")] public virtual System.Nullable Disabled { get; set; } + /// Optional. The file format for the BigQuery table. + [Newtonsoft.Json.JsonPropertyAttribute("fileFormat")] + public virtual string FileFormat { get; set; } + /// /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if `relation_type` is /// `INCREMENTAL_TABLE`. @@ -7374,6 +7386,17 @@ public class Relation : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("selectQuery")] public virtual string SelectQuery { get; set; } + /// + /// Optional. The fully qualified location prefix of the external folder where table data is stored. The URI + /// should be in the format `gs://bucket/path_to_table/`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("storageUri")] + public virtual string StorageUri { get; set; } + + /// Optional. The table format for the BigQuery table. + [Newtonsoft.Json.JsonPropertyAttribute("tableFormat")] + public virtual string TableFormat { get; set; } + /// Arbitrary, user-defined tags on this action. [Newtonsoft.Json.JsonPropertyAttribute("tags")] public virtual System.Collections.Generic.IList Tags { get; set; } diff --git a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj index 7dfdc739003..f03e595227f 100644 --- a/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Dataform.v1beta1/Google.Apis.Dataform.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataform.v1beta1 Client Library - 1.72.0.3958 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From 6f99e39ffd068962475e0d3620455ba35a98f402 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:39 +0000 Subject: [PATCH 037/106] feat: Generate Google.Apis.DataManager.v1 version 1.72.0.3971 --- DiscoveryJson/datamanager.v1.json | 8 ++++---- .../Google.Apis.DataManager.v1.cs | 8 +++++--- .../Google.Apis.DataManager.v1.csproj | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/DiscoveryJson/datamanager.v1.json b/DiscoveryJson/datamanager.v1.json index dd84e291305..f793824701f 100644 --- a/DiscoveryJson/datamanager.v1.json +++ b/DiscoveryJson/datamanager.v1.json @@ -193,7 +193,7 @@ } } }, - "revision": "20251105", + "revision": "20251115", "rootUrl": "https://datamanager.googleapis.com/", "schemas": { "AdIdentifiers": { @@ -285,7 +285,7 @@ "type": "string" }, "kekUri": { - "description": "Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of \"arn:{partition}:kms:{region}:{account_id}:key/{key_id}\"", + "description": "Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of `arn:{partition}:kms:{region}:{account_id}:key/{key_id}` or `aws-kms://arn:{partition}:kms:{region}:{account_id}:key/{key_id}`", "type": "string" }, "keyType": { @@ -301,7 +301,7 @@ "type": "string" }, "roleArn": { - "description": "Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of \"arn:{partition}:iam::{account_id}:role/{role_name}\"", + "description": "Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of `arn:{partition}:iam::{account_id}:role/{role_name}`", "type": "string" } }, @@ -695,7 +695,7 @@ "type": "string" }, "kekUri": { - "description": "Required. Google Cloud Platform [Cloud Key Management Service resource ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the format of \"projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}\".", + "description": "Required. Google Cloud Platform [Cloud Key Management Service resource ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the format of `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}` or `gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}`", "type": "string" }, "keyType": { diff --git a/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.cs b/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.cs index 0d0b7b90e3d..97d0f095053 100644 --- a/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.cs +++ b/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.cs @@ -583,7 +583,8 @@ public class AwsWrappedKeyInfo : Google.Apis.Requests.IDirectResponseSchema /// /// Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of - /// "arn:{partition}:kms:{region}:{account_id}:key/{key_id}" + /// `arn:{partition}:kms:{region}:{account_id}:key/{key_id}` or + /// `aws-kms://arn:{partition}:kms:{region}:{account_id}:key/{key_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("kekUri")] public virtual string KekUri { get; set; } @@ -594,7 +595,7 @@ public class AwsWrappedKeyInfo : Google.Apis.Requests.IDirectResponseSchema /// /// Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the - /// format of "arn:{partition}:iam::{account_id}:role/{role_name}" + /// format of `arn:{partition}:iam::{account_id}:role/{role_name}` /// [Newtonsoft.Json.JsonPropertyAttribute("roleArn")] public virtual string RoleArn { get; set; } @@ -1000,7 +1001,8 @@ public class GcpWrappedKeyInfo : Google.Apis.Requests.IDirectResponseSchema /// /// Required. Google Cloud Platform [Cloud Key Management Service resource /// ID](//cloud.google.com/kms/docs/getting-resource-ids). Should be in the format of - /// "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}". + /// `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}` or + /// `gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}` /// [Newtonsoft.Json.JsonPropertyAttribute("kekUri")] public virtual string KekUri { get; set; } diff --git a/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.csproj b/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.csproj index bf817c836d5..e81294ebfbd 100644 --- a/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.csproj +++ b/Src/Generated/Google.Apis.DataManager.v1/Google.Apis.DataManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DataManager.v1 Client Library - 1.72.0.3961 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From 4e655c3d6447735750094fc9a75cf177fde0f0fa Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:42 +0000 Subject: [PATCH 038/106] feat: Generate Google.Apis.CloudDataplex.v1 version 1.72.0.3969 --- DiscoveryJson/dataplex.v1.json | 24 ++++++++++++++++--- .../Google.Apis.CloudDataplex.v1.cs | 20 ++++++++++++++++ .../Google.Apis.CloudDataplex.v1.csproj | 2 +- 3 files changed, 42 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/dataplex.v1.json b/DiscoveryJson/dataplex.v1.json index 52d88fd374d..0940e3a7f46 100644 --- a/DiscoveryJson/dataplex.v1.json +++ b/DiscoveryJson/dataplex.v1.json @@ -7229,7 +7229,7 @@ } } }, - "revision": "20251104", + "revision": "20251113", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -10005,12 +10005,14 @@ "enum": [ "TRIGGER_UNSPECIFIED", "ON_DEMAND", - "SCHEDULE" + "SCHEDULE", + "ONE_TIME" ], "enumDescriptions": [ "An unspecified trigger type.", "Data scan triggers on demand.", - "Data scan triggers as per schedule." + "Data scan triggers as per schedule.", + "Data scan is run one time on creation." ], "type": "string" }, @@ -13954,6 +13956,10 @@ "$ref": "GoogleCloudDataplexV1TriggerOnDemand", "description": "The scan runs once via RunDataScan API." }, + "oneTime": { + "$ref": "GoogleCloudDataplexV1TriggerOneTime", + "description": "The scan runs once, and does not create an associated ScanJob child resource." + }, "schedule": { "$ref": "GoogleCloudDataplexV1TriggerSchedule", "description": "The scan is scheduled to run periodically." @@ -13967,6 +13973,18 @@ "properties": {}, "type": "object" }, + "GoogleCloudDataplexV1TriggerOneTime": { + "description": "The scan runs once using create API.", + "id": "GoogleCloudDataplexV1TriggerOneTime", + "properties": { + "ttlAfterScanCompletion": { + "description": "Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0 seconds, and maximum value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded or failed.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1TriggerSchedule": { "description": "The scan is scheduled to run periodically.", "id": "GoogleCloudDataplexV1TriggerSchedule", diff --git a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs index 4ec9f41b970..fc9fa4e9edf 100644 --- a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs +++ b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.cs @@ -25005,6 +25005,10 @@ public class GoogleCloudDataplexV1Trigger : Google.Apis.Requests.IDirectResponse [Newtonsoft.Json.JsonPropertyAttribute("onDemand")] public virtual GoogleCloudDataplexV1TriggerOnDemand OnDemand { get; set; } + /// The scan runs once, and does not create an associated ScanJob child resource. + [Newtonsoft.Json.JsonPropertyAttribute("oneTime")] + public virtual GoogleCloudDataplexV1TriggerOneTime OneTime { get; set; } + /// The scan is scheduled to run periodically. [Newtonsoft.Json.JsonPropertyAttribute("schedule")] public virtual GoogleCloudDataplexV1TriggerSchedule Schedule { get; set; } @@ -25020,6 +25024,22 @@ public class GoogleCloudDataplexV1TriggerOnDemand : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// The scan runs once using create API. + public class GoogleCloudDataplexV1TriggerOneTime : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Time to live for OneTime scans. default value is 24 hours, minimum value is 0 seconds, and maximum + /// value is 365 days. The time is calculated from the data scan job completion time. If value is set as 0 + /// seconds, the scan will be immediately deleted upon job completion, regardless of whether the job succeeded + /// or failed. + /// + [Newtonsoft.Json.JsonPropertyAttribute("ttlAfterScanCompletion")] + public virtual object TtlAfterScanCompletion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The scan is scheduled to run periodically. public class GoogleCloudDataplexV1TriggerSchedule : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj index f65098a02e0..416d4226903 100644 --- a/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDataplex.v1/Google.Apis.CloudDataplex.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDataplex.v1 Client Library - 1.72.0.3960 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From abdfc96e9722832986063428b0403b585a77fa94 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:44 +0000 Subject: [PATCH 039/106] feat: Generate Google.Apis.DeveloperConnect.v1 version 1.72.0.3969 --- DiscoveryJson/developerconnect.v1.json | 6 +++--- .../Google.Apis.DeveloperConnect.v1.cs | 10 +++++----- .../Google.Apis.DeveloperConnect.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/developerconnect.v1.json b/DiscoveryJson/developerconnect.v1.json index ce7f67f6e95..c7866111103 100644 --- a/DiscoveryJson/developerconnect.v1.json +++ b/DiscoveryJson/developerconnect.v1.json @@ -1586,7 +1586,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1606,7 +1606,7 @@ } } }, - "revision": "20251030", + "revision": "20251113", "rootUrl": "https://developerconnect.googleapis.com/", "schemas": { "AccountConnector": { @@ -2644,7 +2644,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.cs b/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.cs index bfe51386e5f..b2700c290f9 100644 --- a/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.cs +++ b/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.cs @@ -3344,9 +3344,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -5052,8 +5052,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.csproj b/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.csproj index 120d9aa94ca..8fa0bbe58d3 100644 --- a/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.csproj +++ b/Src/Generated/Google.Apis.DeveloperConnect.v1/Google.Apis.DeveloperConnect.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DeveloperConnect.v1 Client Library - 1.72.0.3955 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From 4fccc5257c48a799a3d38249ed89eb332740cb4d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:46 +0000 Subject: [PATCH 040/106] feat: Generate Google.Apis.Dialogflow.v2 version 1.72.0.3966 --- DiscoveryJson/dialogflow.v2.json | 24 +++++++++++++++++-- .../Google.Apis.Dialogflow.v2.cs | 12 +++++++++- .../Google.Apis.Dialogflow.v2.csproj | 2 +- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/dialogflow.v2.json b/DiscoveryJson/dialogflow.v2.json index dc48042f8d5..68c5d2de76b 100644 --- a/DiscoveryJson/dialogflow.v2.json +++ b/DiscoveryJson/dialogflow.v2.json @@ -9258,7 +9258,7 @@ } } }, - "revision": "20251105", + "revision": "20251110", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -17345,7 +17345,7 @@ "type": "object" }, "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig": { - "description": "Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.", + "description": "Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION", "id": "GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig", "properties": { "baselineModelVersion": { @@ -19756,6 +19756,26 @@ "description": "Represents a conversation participant (human agent, virtual agent, end-user).", "id": "GoogleCloudDialogflowV2Participant", "properties": { + "agentDesktopSource": { + "description": "Optional. For tracking the utilization of prebuilt Agent Assist integration modules. This field is only inscope for Integration type that include UI Modules, Backend Modules, and Agent Desktop connector, it is out of scope for CCaaS and Direct Integration. For each human agent, prebuilt UI Modules needs to trigger the UpdateParticipant API to update this field. Both CreateParticipantRequest and UpdateParticipantRequest will be supported.", + "enum": [ + "AGENT_DESKTOP_SOURCE_UNSPECIFIED", + "LIVE_PERSON", + "GENESYS_CLOUD", + "TWILIO", + "SALESFORCE", + "OTHER" + ], + "enumDescriptions": [ + "Agent Desktop Source is not specified.", + "Agent Desktop Source is Live Person.", + "Agent Desktop Source is Genesys Cloud.", + "Agent Desktop Source is Twilio.", + "Agent Desktop Source is Salesforce.", + "UI Modules are in use but the desktop is either not currently released or setting this field to the applicable desktop." + ], + "type": "string" + }, "documentsMetadataFilters": { "additionalProperties": { "type": "string" diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs index b4eed9014b3..4e09fbcfb94 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.cs @@ -31370,7 +31370,7 @@ public class GoogleCloudDialogflowV2HumanAgentAssistantConfig : Google.Apis.Requ /// /// Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, - /// SMART_REPLY, CONVERSATION_SUMMARIZATION. + /// SMART_REPLY, CONVERSATION_SUMMARIZATION /// public class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -33948,6 +33948,16 @@ public class GoogleCloudDialogflowV2OutputAudioConfig : Google.Apis.Requests.IDi /// Represents a conversation participant (human agent, virtual agent, end-user). public class GoogleCloudDialogflowV2Participant : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. For tracking the utilization of prebuilt Agent Assist integration modules. This field is only + /// inscope for Integration type that include UI Modules, Backend Modules, and Agent Desktop connector, it is + /// out of scope for CCaaS and Direct Integration. For each human agent, prebuilt UI Modules needs to trigger + /// the UpdateParticipant API to update this field. Both CreateParticipantRequest and UpdateParticipantRequest + /// will be supported. + /// + [Newtonsoft.Json.JsonPropertyAttribute("agentDesktopSource")] + public virtual string AgentDesktopSource { get; set; } + /// /// Optional. Key-value filters on the metadata of documents returned by article suggestion. If specified, /// article suggestion only returns suggested documents that match all filters in their Document.metadata. diff --git a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj index 1c390ddf03a..9d2645ca56b 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2/Google.Apis.Dialogflow.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2 Client Library - 1.72.0.3961 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google From 354c2d69aa31a6b82f9f1d63409f409943e78d9a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:49 +0000 Subject: [PATCH 041/106] feat: Generate Google.Apis.Dialogflow.v2beta1 version 1.72.0.3966 --- DiscoveryJson/dialogflow.v2beta1.json | 22 ++++++++++++++++++- .../Google.Apis.Dialogflow.v2beta1.cs | 10 +++++++++ .../Google.Apis.Dialogflow.v2beta1.csproj | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/dialogflow.v2beta1.json b/DiscoveryJson/dialogflow.v2beta1.json index 8ec0b16c028..d01a3218838 100644 --- a/DiscoveryJson/dialogflow.v2beta1.json +++ b/DiscoveryJson/dialogflow.v2beta1.json @@ -8898,7 +8898,7 @@ } } }, - "revision": "20251105", + "revision": "20251110", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -22297,6 +22297,26 @@ "description": "Represents a conversation participant (human agent, virtual agent, end-user).", "id": "GoogleCloudDialogflowV2beta1Participant", "properties": { + "agentDesktopSource": { + "description": "Optional. For tracking the utilization of prebuilt Agent Assist integration modules. This field is only inscope for Integration type that include UI Modules, Backend Modules, and Agent Desktop connector, it is out of scope for CCaaS and Direct Integration. For each human agent, prebuilt UI Modules needs to trigger the UpdateParticipant API to update this field. Both CreateParticipantRequest and UpdateParticipantRequest will be supported.", + "enum": [ + "AGENT_DESKTOP_SOURCE_UNSPECIFIED", + "LIVE_PERSON", + "GENESYS_CLOUD", + "TWILIO", + "SALESFORCE", + "OTHER" + ], + "enumDescriptions": [ + "Agent Desktop Source is not specified.", + "Agent Desktop Source is Live Person.", + "Agent Desktop Source is Genesys Cloud.", + "Agent Desktop Source is Twilio.", + "Agent Desktop Source is Salesforce.", + "UI Modules are in use but the desktop is either not currently released or setting this field to the applicable desktop." + ], + "type": "string" + }, "documentsMetadataFilters": { "additionalProperties": { "type": "string" diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs index 5a7f18d66fd..1011d35519b 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.cs @@ -36932,6 +36932,16 @@ public class GoogleCloudDialogflowV2beta1OutputAudioConfig : Google.Apis.Request /// Represents a conversation participant (human agent, virtual agent, end-user). public class GoogleCloudDialogflowV2beta1Participant : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. For tracking the utilization of prebuilt Agent Assist integration modules. This field is only + /// inscope for Integration type that include UI Modules, Backend Modules, and Agent Desktop connector, it is + /// out of scope for CCaaS and Direct Integration. For each human agent, prebuilt UI Modules needs to trigger + /// the UpdateParticipant API to update this field. Both CreateParticipantRequest and UpdateParticipantRequest + /// will be supported. + /// + [Newtonsoft.Json.JsonPropertyAttribute("agentDesktopSource")] + public virtual string AgentDesktopSource { get; set; } + /// /// Optional. Key-value filters on the metadata of documents returned by article suggestion. If specified, /// article suggestion only returns suggested documents that match all filters in their Document.metadata. diff --git a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj index 3080dfc6ba4..ba4a2c44db8 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v2beta1/Google.Apis.Dialogflow.v2beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v2beta1 Client Library - 1.72.0.3961 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google From a6cc9397dc0645d4bfc8f037f329e7e79cbf7628 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:51 +0000 Subject: [PATCH 042/106] feat: Generate Google.Apis.DiscoveryEngine.v1 version 1.72.0.3972 --- DiscoveryJson/discoveryengine.v1.json | 823 +++++------ .../Google.Apis.DiscoveryEngine.v1.cs | 1301 ++++++++--------- .../Google.Apis.DiscoveryEngine.v1.csproj | 2 +- 3 files changed, 914 insertions(+), 1212 deletions(-) diff --git a/DiscoveryJson/discoveryengine.v1.json b/DiscoveryJson/discoveryengine.v1.json index 74bf208245a..55f9e23b9f9 100644 --- a/DiscoveryJson/discoveryengine.v1.json +++ b/DiscoveryJson/discoveryengine.v1.json @@ -141,49 +141,6 @@ }, "protocol": "rest", "resources": { - "media": { - "methods": { - "download": { - "description": "Downloads a file from the session.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}:downloadFile", - "httpMethod": "GET", - "id": "discoveryengine.media.download", - "parameterOrder": [ - "name" - ], - "parameters": { - "fileId": { - "description": "Required. The ID of the file to be downloaded.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - "required": true, - "type": "string" - }, - "viewId": { - "description": "Optional. The ID of the view to be downloaded.", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}:downloadFile", - "response": { - "$ref": "GdataMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", - "https://www.googleapis.com/auth/discoveryengine.readwrite" - ], - "supportsMediaDownload": true, - "useMediaDownloadService": true - } - } - }, "projects": { "methods": { "provision": { @@ -678,7 +635,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1342,7 +1299,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1915,7 +1872,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1994,7 +1951,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2232,7 +2189,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2926,7 +2883,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3274,7 +3231,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3748,6 +3705,68 @@ "resources": { "assistants": { "methods": { + "create": { + "description": "Creates an Assistant.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.engines.assistants.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "assistantId": { + "description": "Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/assistants", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1Assistant" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1Assistant" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "delete": { + "description": "Deletes an Assistant.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", + "httpMethod": "DELETE", + "id": "discoveryengine.projects.locations.collections.engines.assistants.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "get": { "description": "Gets an Assistant.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", @@ -3775,6 +3794,44 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "list": { + "description": "Lists all Assistants under an Engine.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.collections.engines.assistants.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/assistants", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1ListAssistantsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "patch": { "description": "Updates an Assistant", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", @@ -3841,6 +3898,42 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } + }, + "resources": { + "agents": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + } + } + } + } + } } }, "completionConfig": { @@ -4331,7 +4424,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -4945,7 +5038,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -5580,7 +5673,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -6123,7 +6216,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -6202,7 +6295,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -7812,7 +7905,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -7990,7 +8083,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -8380,8 +8473,8 @@ "parent" ], "parameters": { - "filter": { - "description": "Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.", + "orderBy": { + "description": "Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a \" desc\" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order.", "location": "query", "type": "string" }, @@ -8509,7 +8602,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -8528,439 +8621,9 @@ } } }, - "revision": "20251109", + "revision": "20251116", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { - "GdataBlobstore2Info": { - "description": "Information to read/write to blobstore2.", - "id": "GdataBlobstore2Info", - "properties": { - "blobGeneration": { - "description": "The blob generation id.", - "format": "int64", - "type": "string" - }, - "blobId": { - "description": "The blob id, e.g., /blobstore/prod/playground/scotty", - "type": "string" - }, - "downloadReadHandle": { - "description": "Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.", - "format": "byte", - "type": "string" - }, - "readToken": { - "description": "The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.", - "type": "string" - }, - "uploadMetadataContainer": { - "description": "Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GdataCompositeMedia": { - "description": "A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.", - "id": "GdataCompositeMedia", - "properties": { - "blobRef": { - "deprecated": true, - "description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", - "format": "byte", - "type": "string" - }, - "blobstore2Info": { - "$ref": "GdataBlobstore2Info", - "description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." - }, - "cosmoBinaryReference": { - "description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", - "format": "byte", - "type": "string" - }, - "crc32cHash": { - "description": "crc32.c hash for the payload.", - "format": "uint32", - "type": "integer" - }, - "inline": { - "description": "Media data, set if reference_type is INLINE", - "format": "byte", - "type": "string" - }, - "length": { - "description": "Size of the data, in bytes", - "format": "int64", - "type": "string" - }, - "md5Hash": { - "description": "MD5 hash for the payload.", - "format": "byte", - "type": "string" - }, - "objectId": { - "$ref": "GdataObjectId", - "description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." - }, - "path": { - "description": "Path to the data, set if reference_type is PATH", - "type": "string" - }, - "referenceType": { - "description": "Describes what the field reference contains.", - "enum": [ - "PATH", - "BLOB_REF", - "INLINE", - "BIGSTORE_REF", - "COSMO_BINARY_REFERENCE" - ], - "enumDescriptions": [ - "Reference contains a GFS path or a local path.", - "Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", - "Data is included into this proto buffer", - "Reference points to a bigstore object", - "Indicates the data is stored in cosmo_binary_reference." - ], - "type": "string" - }, - "sha1Hash": { - "description": "SHA-1 hash for the payload.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GdataContentTypeInfo": { - "description": "Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.", - "id": "GdataContentTypeInfo", - "properties": { - "bestGuess": { - "description": "Scotty's best guess of what the content type of the file is.", - "type": "string" - }, - "fromBytes": { - "description": "The content type of the file derived by looking at specific bytes (i.e. \"magic bytes\") of the actual file.", - "type": "string" - }, - "fromFileName": { - "description": "The content type of the file derived from the file extension of the original file name used by the client.", - "type": "string" - }, - "fromHeader": { - "description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.", - "type": "string" - }, - "fromUrlPath": { - "description": "The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffChecksumsResponse": { - "description": "Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffChecksumsResponse", - "properties": { - "checksumsLocation": { - "$ref": "GdataCompositeMedia", - "description": "Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol." - }, - "chunkSizeBytes": { - "description": "The chunk size of checksums. Must be a multiple of 256KB.", - "format": "int64", - "type": "string" - }, - "objectLocation": { - "$ref": "GdataCompositeMedia", - "description": "If set, calculate the checksums based on the contents and return them to the caller." - }, - "objectSizeBytes": { - "description": "The total size of the server object.", - "format": "int64", - "type": "string" - }, - "objectVersion": { - "description": "The object version of the object the checksums are being returned for.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffDownloadResponse": { - "description": "Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffDownloadResponse", - "properties": { - "objectLocation": { - "$ref": "GdataCompositeMedia", - "description": "The original object location." - } - }, - "type": "object" - }, - "GdataDiffUploadRequest": { - "description": "A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffUploadRequest", - "properties": { - "checksumsInfo": { - "$ref": "GdataCompositeMedia", - "description": "The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol." - }, - "objectInfo": { - "$ref": "GdataCompositeMedia", - "description": "The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received." - }, - "objectVersion": { - "description": "The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffUploadResponse": { - "description": "Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffUploadResponse", - "properties": { - "objectVersion": { - "description": "The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.", - "type": "string" - }, - "originalObject": { - "$ref": "GdataCompositeMedia", - "description": "The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification." - } - }, - "type": "object" - }, - "GdataDiffVersionResponse": { - "description": "Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffVersionResponse", - "properties": { - "objectSizeBytes": { - "description": "The total size of the server object.", - "format": "int64", - "type": "string" - }, - "objectVersion": { - "description": "The version of the object stored at the server.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDownloadParameters": { - "description": "Parameters specific to media downloads.", - "id": "GdataDownloadParameters", - "properties": { - "allowGzipCompression": { - "description": "A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.", - "type": "boolean" - }, - "ignoreRange": { - "description": "Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.", - "type": "boolean" - } - }, - "type": "object" - }, - "GdataMedia": { - "description": "A reference to data stored on the filesystem, on GFS or in blobstore.", - "id": "GdataMedia", - "properties": { - "algorithm": { - "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, \"MD5\" is the only possible value for this field. New values may be added at any time.", - "type": "string" - }, - "bigstoreObjectRef": { - "deprecated": true, - "description": "Use object_id instead.", - "format": "byte", - "type": "string" - }, - "blobRef": { - "deprecated": true, - "description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", - "format": "byte", - "type": "string" - }, - "blobstore2Info": { - "$ref": "GdataBlobstore2Info", - "description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." - }, - "compositeMedia": { - "description": "A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.", - "items": { - "$ref": "GdataCompositeMedia" - }, - "type": "array" - }, - "contentType": { - "description": "MIME type of the data", - "type": "string" - }, - "contentTypeInfo": { - "$ref": "GdataContentTypeInfo", - "description": "Extended content type information provided for Scotty uploads." - }, - "cosmoBinaryReference": { - "description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", - "format": "byte", - "type": "string" - }, - "crc32cHash": { - "description": "For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.", - "format": "uint32", - "type": "integer" - }, - "diffChecksumsResponse": { - "$ref": "GdataDiffChecksumsResponse", - "description": "Set if reference_type is DIFF_CHECKSUMS_RESPONSE." - }, - "diffDownloadResponse": { - "$ref": "GdataDiffDownloadResponse", - "description": "Set if reference_type is DIFF_DOWNLOAD_RESPONSE." - }, - "diffUploadRequest": { - "$ref": "GdataDiffUploadRequest", - "description": "Set if reference_type is DIFF_UPLOAD_REQUEST." - }, - "diffUploadResponse": { - "$ref": "GdataDiffUploadResponse", - "description": "Set if reference_type is DIFF_UPLOAD_RESPONSE." - }, - "diffVersionResponse": { - "$ref": "GdataDiffVersionResponse", - "description": "Set if reference_type is DIFF_VERSION_RESPONSE." - }, - "downloadParameters": { - "$ref": "GdataDownloadParameters", - "description": "Parameters for a media download." - }, - "filename": { - "description": "Original file name", - "type": "string" - }, - "hash": { - "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", - "type": "string" - }, - "hashVerified": { - "description": "For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.", - "type": "boolean" - }, - "inline": { - "description": "Media data, set if reference_type is INLINE", - "format": "byte", - "type": "string" - }, - "isPotentialRetry": { - "description": "|is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.", - "type": "boolean" - }, - "length": { - "description": "Size of the data, in bytes", - "format": "int64", - "type": "string" - }, - "md5Hash": { - "description": "Scotty-provided MD5 hash for an upload.", - "format": "byte", - "type": "string" - }, - "mediaId": { - "description": "Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.", - "format": "byte", - "type": "string" - }, - "objectId": { - "$ref": "GdataObjectId", - "description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." - }, - "path": { - "description": "Path to the data, set if reference_type is PATH", - "type": "string" - }, - "referenceType": { - "description": "Describes what the field reference contains.", - "enum": [ - "PATH", - "BLOB_REF", - "INLINE", - "GET_MEDIA", - "COMPOSITE_MEDIA", - "BIGSTORE_REF", - "DIFF_VERSION_RESPONSE", - "DIFF_CHECKSUMS_RESPONSE", - "DIFF_DOWNLOAD_RESPONSE", - "DIFF_UPLOAD_REQUEST", - "DIFF_UPLOAD_RESPONSE", - "COSMO_BINARY_REFERENCE", - "ARBITRARY_BYTES" - ], - "enumDescriptions": [ - "Reference contains a GFS path or a local path.", - "Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", - "Data is included into this proto buffer", - "Data should be accessed from the current service using the operation GetMedia.", - "The content for this media object is stored across multiple partial media objects under the composite_media field.", - "Reference points to a bigstore object", - "Indicates the data is stored in diff_version_response.", - "Indicates the data is stored in diff_checksums_response.", - "Indicates the data is stored in diff_download_response.", - "Indicates the data is stored in diff_upload_request.", - "Indicates the data is stored in diff_upload_response.", - "Indicates the data is stored in cosmo_binary_reference.", - "Informs Scotty to generate a response payload with the size specified in the length field. The contents of the payload are generated by Scotty and are undefined. This is useful for testing download speeds between the user and Scotty without involving a real payload source. Note: range is not supported when using arbitrary_bytes." - ], - "type": "string" - }, - "sha1Hash": { - "description": "Scotty-provided SHA1 hash for an upload.", - "format": "byte", - "type": "string" - }, - "sha256Hash": { - "description": "Scotty-provided SHA256 hash for an upload.", - "format": "byte", - "type": "string" - }, - "timestamp": { - "description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", - "format": "uint64", - "type": "string" - }, - "token": { - "description": "A unique fingerprint/version id for the media data", - "type": "string" - } - }, - "type": "object" - }, - "GdataObjectId": { - "description": "This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.", - "id": "GdataObjectId", - "properties": { - "bucketName": { - "description": "The name of the bucket to which this object belongs.", - "type": "string" - }, - "generation": { - "description": "Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions", - "format": "int64", - "type": "string" - }, - "objectName": { - "description": "The name of the object.", - "type": "string" - } - }, - "type": "object" - }, "GoogleApiDistribution": { "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.", "id": "GoogleApiDistribution", @@ -11183,6 +10846,14 @@ "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "description": { + "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", + "type": "string" + }, + "displayName": { + "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.", + "type": "string" + }, "enabledTools": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1AssistantToolList" @@ -11401,10 +11072,21 @@ "description": "Configuration for the generation of the assistant response.", "id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig", "properties": { + "allowedModelIds": { + "description": "Optional. The list of models that are allowed to be used for assistant.", + "items": { + "type": "string" + }, + "type": "array" + }, "defaultLanguage": { "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.", "type": "string" }, + "defaultModelId": { + "description": "Optional. The default model to use for assistant.", + "type": "string" + }, "systemInstruction": { "$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction", "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions" @@ -15698,6 +15380,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1ListAssistantsResponse": { + "description": "Response message for the AssistantService.ListAssistants method.", + "id": "GoogleCloudDiscoveryengineV1ListAssistantsResponse", + "properties": { + "assistants": { + "description": "All the customer's Assistants.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1Assistant" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1ListCmekConfigsResponse": { "description": "Response message for CmekConfigService.ListCmekConfigs method.", "id": "GoogleCloudDiscoveryengineV1ListCmekConfigsResponse", @@ -16858,6 +16558,13 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec" + }, + "type": "array" + }, "dataStoreSpecs": { "description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", "items": { @@ -16906,6 +16613,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -17290,6 +17004,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec", @@ -18486,6 +18230,13 @@ "description": "A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.", "type": "string" }, + "invocationTools": { + "description": "The tool names of the tools that were invoked.", + "items": { + "type": "string" + }, + "type": "array" + }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo", "description": "Session information. Only included in the final StreamAssistResponse of the response stream." @@ -25158,6 +24909,13 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec" + }, + "type": "array" + }, "customFineTuningSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", "description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec." @@ -25214,6 +24972,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -25645,6 +25410,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec", @@ -29135,6 +28930,13 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec" + }, + "type": "array" + }, "dataStoreSpecs": { "description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", "items": { @@ -29187,6 +28989,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -29614,6 +29423,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec", @@ -30444,7 +30283,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs index ef05fe66edc..145357f305d 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.cs @@ -34,7 +34,6 @@ public DiscoveryEngineService() : this(new Google.Apis.Services.BaseClientServic /// The service initializer. public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { - Media = new MediaResource(this); Projects = new ProjectsResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://discoveryengine.googleapis.com/"); BatchUri = GetEffectiveUri(null, "https://discoveryengine.googleapis.com/batch"); @@ -110,9 +109,6 @@ public static class ScopeConstants public const string DiscoveryengineReadwrite = "https://www.googleapis.com/auth/discoveryengine.readwrite"; } - /// Gets the Media resource. - public virtual MediaResource Media { get; } - /// Gets the Projects resource. public virtual ProjectsResource Projects { get; } } @@ -298,182 +294,6 @@ protected override void InitParameters() } } - /// The "media" collection of methods. - public class MediaResource - { - private const string Resource = "media"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public MediaResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Downloads a file from the session. - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - public virtual DownloadRequest Download(string name) - { - return new DownloadRequest(this.service, name); - } - - /// Downloads a file from the session. - public class DownloadRequest : DiscoveryEngineBaseServiceRequest - { - /// Constructs a new Download request. - public DownloadRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - MediaDownloader = new Google.Apis.Download.MediaDownloader(service); - InitParameters(); - } - - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Required. The ID of the file to be downloaded. - [Google.Apis.Util.RequestParameterAttribute("fileId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string FileId { get; set; } - - /// Optional. The ID of the view to be downloaded. - [Google.Apis.Util.RequestParameterAttribute("viewId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ViewId { get; set; } - - /// Gets the method name. - public override string MethodName => "download"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/{+name}:downloadFile"; - - /// Initializes Download parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - }); - RequestParameters.Add("fileId", new Google.Apis.Discovery.Parameter - { - Name = "fileId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("viewId", new Google.Apis.Discovery.Parameter - { - Name = "viewId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - - /// Gets the media downloader. - public Google.Apis.Download.IMediaDownloader MediaDownloader { get; private set; } - - /// - /// Synchronously download the media into the given stream. - /// - /// Warning: This method hides download errors; use - /// instead. - /// - /// - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual void Download(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Synchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - /// The final status of the download; including whether the download succeeded or failed. - public virtual Google.Apis.Download.IDownloadProgress DownloadWithStatus(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream, - System.Threading.CancellationToken cancellationToken) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - - /// Synchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.Stream stream, System.Net.Http.Headers.RangeHeaderValue range) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadRangeAsync(System.IO.Stream stream, - System.Net.Http.Headers.RangeHeaderValue range, - System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - } - } - /// The "projects" collection of methods. public class ProjectsResource { @@ -925,9 +745,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -1754,11 +1574,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -3162,11 +2982,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -3338,9 +3158,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -3531,11 +3351,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5127,11 +4947,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5518,9 +5338,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and /// those that are unreachable are returned in the - /// [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and + /// ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and /// will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// @@ -7688,6 +7508,227 @@ public class AssistantsResource public AssistantsResource(Google.Apis.Services.IClientService service) { this.service = service; + Agents = new AgentsResource(service); + } + + /// Gets the Agents resource. + public virtual AgentsResource Agents { get; } + + /// The "agents" collection of methods. + public class AgentsResource + { + private const string Resource = "agents"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public AgentsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Operations = new OperationsResource(service); + } + + /// Gets the Operations resource. + public virtual OperationsResource Operations { get; } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to + /// poll the operation result at intervals as recommended by the API service. + /// + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to + /// poll the operation result at intervals as recommended by the API service. + /// + public class GetRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", + }); + } + } + } + } + + /// Creates an Assistant. + /// The body of the request. + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + public virtual CreateRequest Create(Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1Assistant body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates an Assistant. + public class CreateRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1Assistant body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the Assistant, which will become the final component of the + /// Assistant's resource name. This field must conform to + /// [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("assistantId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AssistantId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1.Data.GoogleCloudDiscoveryengineV1Assistant Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/assistants"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + }); + RequestParameters.Add("assistantId", new Google.Apis.Discovery.Parameter + { + Name = "assistantId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes an Assistant. + /// + /// Required. Resource name of Assistant. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// If the caller does not have permission to delete the Assistant, regardless of whether or not + /// it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, + /// a NOT_FOUND error is returned. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes an Assistant. + public class DeleteRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Resource name of Assistant. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// If the caller does not have permission to delete the Assistant, regardless of whether or + /// not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does + /// not exist, a NOT_FOUND error is returned. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", + }); + } } /// Gets an Assistant. @@ -7741,6 +7782,89 @@ protected override void InitParameters() } } + /// Lists all Assistants under an Engine. + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists all Assistants under an Engine. + public class ListRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum + /// allowed value is 1000; anything above that will be coerced down to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token ListAssistantsResponse.next_page_token, received from a previous + /// AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When + /// paginating, all other parameters provided to ListAssistants must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/assistants"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Updates an Assistant /// The body of the request. /// @@ -8977,9 +9101,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -10748,9 +10872,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -11764,9 +11888,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -13097,9 +13221,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -13273,9 +13397,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -17027,9 +17151,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -17910,9 +18034,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -18551,15 +18675,20 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string Parent { get; private set; } /// - /// Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * - /// `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to - /// list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not - /// licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users - /// who attempted login but no license assigned. * `license`_`assignment`_`state != - /// NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. + /// Optional. The order in which the UserLicenses are listed. The value must be a + /// comma-separated list of fields. Default sorting order is ascending. To specify descending + /// order for a field, append a " desc" suffix. Redundant space characters in the syntax are + /// insignificant. Supported fields: * `license_assignment_state` * `user_principal` * + /// `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by + /// `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in + /// descending order. * `license_assignment_state` to order by `license_assignment_state` in + /// ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. + /// * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, + /// user_principal` to order by `last_login_date` in descending order and then by + /// `user_principal` in ascending order. /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } /// /// Optional. Requested page size. Server may return fewer items than requested. If unspecified, @@ -18598,9 +18727,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", }); - RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -19529,10 +19658,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` - /// when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This - /// field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless - /// explicitly documented otherwise in service or product specific documentation. + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + /// when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + /// documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -19660,479 +19790,6 @@ protected override void InitParameters() } namespace Google.Apis.DiscoveryEngine.v1.Data { - /// Information to read/write to blobstore2. - public class GdataBlobstore2Info : Google.Apis.Requests.IDirectResponseSchema - { - /// The blob generation id. - [Newtonsoft.Json.JsonPropertyAttribute("blobGeneration")] - public virtual System.Nullable BlobGeneration { get; set; } - - /// The blob id, e.g., /blobstore/prod/playground/scotty - [Newtonsoft.Json.JsonPropertyAttribute("blobId")] - public virtual string BlobId { get; set; } - - /// - /// Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized - /// blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS - /// media downloads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("downloadReadHandle")] - public virtual string DownloadReadHandle { get; set; } - - /// - /// The blob read token. Needed to read blobs that have not been replicated. Might not be available until the - /// final call. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readToken")] - public virtual string ReadToken { get; set; } - - /// - /// Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized - /// blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not - /// applicable to non-GCS media uploads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("uploadMetadataContainer")] - public virtual string UploadMetadataContainer { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A sequence of media data references representing composite data. Introduced to support Bigstore composite - /// objects. For details, visit http://go/bigstore-composites. - /// - public class GdataCompositeMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a - /// blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will - /// also be represented in this field as v1 BlobRef. - /// - [Newtonsoft.Json.JsonPropertyAttribute("blobRef")] - public virtual string BlobRef { get; set; } - - /// Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. - [Newtonsoft.Json.JsonPropertyAttribute("blobstore2Info")] - public virtual GdataBlobstore2Info Blobstore2Info { get; set; } - - /// - /// A binary data reference for a media download. Serves as a technology-agnostic binary reference in some - /// Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes - /// is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support - /// JavaScript. This prevents us from including the actual type of this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cosmoBinaryReference")] - public virtual string CosmoBinaryReference { get; set; } - - /// crc32.c hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("crc32cHash")] - public virtual System.Nullable Crc32cHash { get; set; } - - /// Media data, set if reference_type is INLINE - [Newtonsoft.Json.JsonPropertyAttribute("inline")] - public virtual string Inline { get; set; } - - /// Size of the data, in bytes - [Newtonsoft.Json.JsonPropertyAttribute("length")] - public virtual System.Nullable Length { get; set; } - - /// MD5 hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("md5Hash")] - public virtual string Md5Hash { get; set; } - - /// Reference to a TI Blob, set if reference_type is BIGSTORE_REF. - [Newtonsoft.Json.JsonPropertyAttribute("objectId")] - public virtual GdataObjectId ObjectId { get; set; } - - /// Path to the data, set if reference_type is PATH - [Newtonsoft.Json.JsonPropertyAttribute("path")] - public virtual string Path { get; set; } - - /// Describes what the field reference contains. - [Newtonsoft.Json.JsonPropertyAttribute("referenceType")] - public virtual string ReferenceType { get; set; } - - /// SHA-1 hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("sha1Hash")] - public virtual string Sha1Hash { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the - /// header or Scotty's best_guess, but this extended information provides the backend with more information so that - /// it can make a better decision if needed. This is only used on media upload requests from Scotty. - /// - public class GdataContentTypeInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// Scotty's best guess of what the content type of the file is. - [Newtonsoft.Json.JsonPropertyAttribute("bestGuess")] - public virtual string BestGuess { get; set; } - - /// - /// The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromBytes")] - public virtual string FromBytes { get; set; } - - /// - /// The content type of the file derived from the file extension of the original file name used by the client. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromFileName")] - public virtual string FromFileName { get; set; } - - /// - /// The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromHeader")] - public virtual string FromHeader { get; set; } - - /// - /// The content type of the file derived from the file extension of the URL path. The URL path is assumed to - /// represent a file name (which is typically only true for agents that are providing a REST API). - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromUrlPath")] - public virtual string FromUrlPath { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffChecksumsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Exactly one of these fields must be populated. If checksums_location is filled, the server will return the - /// corresponding contents to the user. If object_location is filled, the server will calculate the checksums - /// based on the content there and return that to the user. For details on the format of the checksums, see - /// http://go/scotty-diff-protocol. - /// - [Newtonsoft.Json.JsonPropertyAttribute("checksumsLocation")] - public virtual GdataCompositeMedia ChecksumsLocation { get; set; } - - /// The chunk size of checksums. Must be a multiple of 256KB. - [Newtonsoft.Json.JsonPropertyAttribute("chunkSizeBytes")] - public virtual System.Nullable ChunkSizeBytes { get; set; } - - /// If set, calculate the checksums based on the contents and return them to the caller. - [Newtonsoft.Json.JsonPropertyAttribute("objectLocation")] - public virtual GdataCompositeMedia ObjectLocation { get; set; } - - /// The total size of the server object. - [Newtonsoft.Json.JsonPropertyAttribute("objectSizeBytes")] - public virtual System.Nullable ObjectSizeBytes { get; set; } - - /// The object version of the object the checksums are being returned for. - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff download response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffDownloadResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The original object location. - [Newtonsoft.Json.JsonPropertyAttribute("objectLocation")] - public virtual GdataCompositeMedia ObjectLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol. - /// - public class GdataDiffUploadRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The location of the checksums for the new object. Agents must clone the object located here, as the upload - /// server will delete the contents once a response is received. For details on the format of the checksums, see - /// http://go/scotty-diff-protocol. - /// - [Newtonsoft.Json.JsonPropertyAttribute("checksumsInfo")] - public virtual GdataCompositeMedia ChecksumsInfo { get; set; } - - /// - /// The location of the new object. Agents must clone the object located here, as the upload server will delete - /// the contents once a response is received. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectInfo")] - public virtual GdataCompositeMedia ObjectInfo { get; set; } - - /// - /// The object version of the object that is the base version the incoming diff script will be applied to. This - /// field will always be filled in. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffUploadResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The object version of the object at the server. Must be included in the end notification response. The - /// version in the end notification response must correspond to the new version of the object that is now stored - /// at the server, after the upload. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// - /// The location of the original file for a diff upload request. Must be filled in if responding to an upload - /// start notification. - /// - [Newtonsoft.Json.JsonPropertyAttribute("originalObject")] - public virtual GdataCompositeMedia OriginalObject { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffVersionResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The total size of the server object. - [Newtonsoft.Json.JsonPropertyAttribute("objectSizeBytes")] - public virtual System.Nullable ObjectSizeBytes { get; set; } - - /// The version of the object stored at the server. - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Parameters specific to media downloads. - public class GdataDownloadParameters : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content - /// when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip - /// the response to the client. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowGzipCompression")] - public virtual System.Nullable AllowGzipCompression { get; set; } - - /// - /// Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to - /// Scotty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ignoreRange")] - public virtual System.Nullable IgnoreRange { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A reference to data stored on the filesystem, on GFS or in blobstore. - public class GdataMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of - /// 2011/01/21, "MD5" is the only possible value for this field. New values may be added at any time. - /// - [Newtonsoft.Json.JsonPropertyAttribute("algorithm")] - public virtual string Algorithm { get; set; } - - /// Use object_id instead. - [Newtonsoft.Json.JsonPropertyAttribute("bigstoreObjectRef")] - public virtual string BigstoreObjectRef { get; set; } - - /// - /// Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a - /// blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will - /// also be represented in this field as v1 BlobRef. - /// - [Newtonsoft.Json.JsonPropertyAttribute("blobRef")] - public virtual string BlobRef { get; set; } - - /// Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. - [Newtonsoft.Json.JsonPropertyAttribute("blobstore2Info")] - public virtual GdataBlobstore2Info Blobstore2Info { get; set; } - - /// - /// A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media - /// length field must be set to the sum of the lengths of all composite media objects. Note: All composite media - /// must have length specified. - /// - [Newtonsoft.Json.JsonPropertyAttribute("compositeMedia")] - public virtual System.Collections.Generic.IList CompositeMedia { get; set; } - - /// MIME type of the data - [Newtonsoft.Json.JsonPropertyAttribute("contentType")] - public virtual string ContentType { get; set; } - - /// Extended content type information provided for Scotty uploads. - [Newtonsoft.Json.JsonPropertyAttribute("contentTypeInfo")] - public virtual GdataContentTypeInfo ContentTypeInfo { get; set; } - - /// - /// A binary data reference for a media download. Serves as a technology-agnostic binary reference in some - /// Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes - /// is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support - /// JavaScript. This prevents us from including the actual type of this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cosmoBinaryReference")] - public virtual string CosmoBinaryReference { get; set; } - - /// - /// For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT - /// PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being - /// downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported. - /// - [Newtonsoft.Json.JsonPropertyAttribute("crc32cHash")] - public virtual System.Nullable Crc32cHash { get; set; } - - /// Set if reference_type is DIFF_CHECKSUMS_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffChecksumsResponse")] - public virtual GdataDiffChecksumsResponse DiffChecksumsResponse { get; set; } - - /// Set if reference_type is DIFF_DOWNLOAD_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffDownloadResponse")] - public virtual GdataDiffDownloadResponse DiffDownloadResponse { get; set; } - - /// Set if reference_type is DIFF_UPLOAD_REQUEST. - [Newtonsoft.Json.JsonPropertyAttribute("diffUploadRequest")] - public virtual GdataDiffUploadRequest DiffUploadRequest { get; set; } - - /// Set if reference_type is DIFF_UPLOAD_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffUploadResponse")] - public virtual GdataDiffUploadResponse DiffUploadResponse { get; set; } - - /// Set if reference_type is DIFF_VERSION_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffVersionResponse")] - public virtual GdataDiffVersionResponse DiffVersionResponse { get; set; } - - /// Parameters for a media download. - [Newtonsoft.Json.JsonPropertyAttribute("downloadParameters")] - public virtual GdataDownloadParameters DownloadParameters { get; set; } - - /// Original file name - [Newtonsoft.Json.JsonPropertyAttribute("filename")] - public virtual string Filename { get; set; } - - /// - /// Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be - /// populated on Scotty based media uploads and will contain the content of the hash group in the - /// NotificationRequest: - /// http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex - /// encoded hash value of the uploaded media. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hash")] - public virtual string Hash { get; set; } - - /// - /// For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the - /// upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if - /// the hashes don't match. This is set to true if Scotty performed this verification. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashVerified")] - public virtual System.Nullable HashVerified { get; set; } - - /// Media data, set if reference_type is INLINE - [Newtonsoft.Json.JsonPropertyAttribute("inline")] - public virtual string Inline { get; set; } - - /// - /// |is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When - /// a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain - /// that it has never sent the request before due to potential failure in the session state persistence. - /// - [Newtonsoft.Json.JsonPropertyAttribute("isPotentialRetry")] - public virtual System.Nullable IsPotentialRetry { get; set; } - - /// Size of the data, in bytes - [Newtonsoft.Json.JsonPropertyAttribute("length")] - public virtual System.Nullable Length { get; set; } - - /// Scotty-provided MD5 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("md5Hash")] - public virtual string Md5Hash { get; set; } - - /// Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA. - [Newtonsoft.Json.JsonPropertyAttribute("mediaId")] - public virtual string MediaId { get; set; } - - /// Reference to a TI Blob, set if reference_type is BIGSTORE_REF. - [Newtonsoft.Json.JsonPropertyAttribute("objectId")] - public virtual GdataObjectId ObjectId { get; set; } - - /// Path to the data, set if reference_type is PATH - [Newtonsoft.Json.JsonPropertyAttribute("path")] - public virtual string Path { get; set; } - - /// Describes what the field reference contains. - [Newtonsoft.Json.JsonPropertyAttribute("referenceType")] - public virtual string ReferenceType { get; set; } - - /// Scotty-provided SHA1 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("sha1Hash")] - public virtual string Sha1Hash { get; set; } - - /// Scotty-provided SHA256 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("sha256Hash")] - public virtual string Sha256Hash { get; set; } - - /// Time at which the media data was last updated, in milliseconds since UNIX epoch - [Newtonsoft.Json.JsonPropertyAttribute("timestamp")] - public virtual System.Nullable Timestamp { get; set; } - - /// A unique fingerprint/version id for the media data - [Newtonsoft.Json.JsonPropertyAttribute("token")] - public virtual string Token { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure - /// issues with JavaScript support; see http://b/8801763. - /// - public class GdataObjectId : Google.Apis.Requests.IDirectResponseSchema - { - /// The name of the bucket to which this object belongs. - [Newtonsoft.Json.JsonPropertyAttribute("bucketName")] - public virtual string BucketName { get; set; } - - /// - /// Generation of the object. Generations are monotonically increasing across writes, allowing them to be be - /// compared to determine which generation is newer. If this is omitted in a request, then you are requesting - /// the live object. See http://go/bigstore-versions - /// - [Newtonsoft.Json.JsonPropertyAttribute("generation")] - public virtual System.Nullable Generation { get; set; } - - /// The name of the object. - [Newtonsoft.Json.JsonPropertyAttribute("objectName")] - public virtual string ObjectName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// `Distribution` contains summary statistics for a population of values. It optionally contains a histogram /// representing the distribution of those values across a set of buckets. The summary statistics are the count, @@ -22502,6 +22159,20 @@ public class GoogleCloudDiscoveryengineV1Assistant : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("customerPolicy")] public virtual GoogleCloudDiscoveryengineV1AssistantCustomerPolicy CustomerPolicy { get; set; } + /// + /// Optional. Description for additional information. Expected to be shown on the configuration UI, not to the + /// users of the assistant. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// + /// Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + /// /// Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The /// keys are connector name, for example @@ -22701,6 +22372,10 @@ public class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig /// Configuration for the generation of the assistant response. public class GoogleCloudDiscoveryengineV1AssistantGenerationConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. The list of models that are allowed to be used for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("allowedModelIds")] + public virtual System.Collections.Generic.IList AllowedModelIds { get; set; } + /// /// The default language to use for the generation of the assistant response. Use an ISO 639-1 language code /// such as `en`. If not specified, the language will be automatically detected. @@ -22708,6 +22383,10 @@ public class GoogleCloudDiscoveryengineV1AssistantGenerationConfig : Google.Apis [Newtonsoft.Json.JsonPropertyAttribute("defaultLanguage")] public virtual string DefaultLanguage { get; set; } + /// Optional. The default model to use for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("defaultModelId")] + public virtual string DefaultModelId { get; set; } + /// /// System instruction, also known as the prompt preamble for LLM calls. See also /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions @@ -29005,6 +28684,24 @@ public class GoogleCloudDiscoveryengineV1LicenseConfigUsageStats : Google.Apis.R public virtual string ETag { get; set; } } + /// Response message for the AssistantService.ListAssistants method. + public class GoogleCloudDiscoveryengineV1ListAssistantsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// All the customer's Assistants. + [Newtonsoft.Json.JsonPropertyAttribute("assistants")] + public virtual System.Collections.Generic.IList Assistants { get; set; } + + /// + /// A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is + /// omitted, there are no subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response message for CmekConfigService.ListCmekConfigs method. public class GoogleCloudDiscoveryengineV1ListCmekConfigsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -30641,6 +30338,17 @@ public class GoogleCloudDiscoveryengineV1SearchRequest : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Specifications that define the specific DataStores to be searched, along with configurations for those data /// stores. This is only considered for Engines with multiple data stores. For engines with a single data store, @@ -30724,6 +30432,19 @@ public class GoogleCloudDiscoveryengineV1SearchRequest : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -31253,6 +30974,36 @@ public class GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySp public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1SearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -32752,6 +32503,10 @@ public class GoogleCloudDiscoveryengineV1StreamAssistResponse : Google.Apis.Requ [Newtonsoft.Json.JsonPropertyAttribute("assistToken")] public virtual string AssistToken { get; set; } + /// The tool names of the tools that were invoked. + [Newtonsoft.Json.JsonPropertyAttribute("invocationTools")] + public virtual System.Collections.Generic.IList InvocationTools { get; set; } + /// /// Session information. Only included in the final StreamAssistResponse of the response stream. /// @@ -42446,6 +42201,17 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequest : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Custom fine tuning configs. If set, it has higher priority than the configs set in /// ServingConfig.custom_fine_tuning_spec. @@ -42546,6 +42312,19 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequest : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -43134,6 +42913,36 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSumm public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -49373,6 +49182,17 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Specifications that define the specific DataStores to be searched, along with configurations for those data /// stores. This is only considered for Engines with multiple data stores. For engines with a single data store, @@ -49466,6 +49286,19 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -50046,6 +49879,36 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSumma public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -51338,8 +51201,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj index df919a36350..5428e43a81e 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1/Google.Apis.DiscoveryEngine.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.DiscoveryEngine.v1 Client Library - 1.72.0.3965 + 1.72.0.3972 Google LLC Copyright 2025 Google LLC Google From 720119f153ae5b86d73e02ad7f4036495a85e659 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:54 +0000 Subject: [PATCH 043/106] feat: Generate Google.Apis.DiscoveryEngine.v1alpha version 1.72.0.3972 --- DiscoveryJson/discoveryengine.v1alpha.json | 1363 +++------ EnumStorage/discoveryengine.v1alpha.json | 8 + .../Google.Apis.DiscoveryEngine.v1alpha.cs | 2577 ++++++----------- ...Google.Apis.DiscoveryEngine.v1alpha.csproj | 2 +- 4 files changed, 1346 insertions(+), 2604 deletions(-) diff --git a/DiscoveryJson/discoveryengine.v1alpha.json b/DiscoveryJson/discoveryengine.v1alpha.json index c3b93b3727a..e1b18e891f2 100644 --- a/DiscoveryJson/discoveryengine.v1alpha.json +++ b/DiscoveryJson/discoveryengine.v1alpha.json @@ -270,91 +270,6 @@ } } }, - "media": { - "methods": { - "download": { - "description": "Downloads a file from the session.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}:downloadFile", - "httpMethod": "GET", - "id": "discoveryengine.media.download", - "parameterOrder": [ - "name" - ], - "parameters": { - "fileId": { - "description": "Required. The ID of the file to be downloaded.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - "required": true, - "type": "string" - }, - "viewId": { - "description": "Optional. The ID of the view to be downloaded.", - "location": "query", - "type": "string" - } - }, - "path": "v1alpha/{+name}:downloadFile", - "response": { - "$ref": "GdataMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", - "https://www.googleapis.com/auth/discoveryengine.readwrite" - ], - "supportsMediaDownload": true, - "useMediaDownloadService": true - }, - "upload": { - "description": "Uploads a file for the assistant to use as a source of information within the session.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}:uploadFile", - "httpMethod": "POST", - "id": "discoveryengine.media.upload", - "mediaUpload": { - "accept": [ - "*/*" - ], - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/v1alpha/{+name}:uploadFile" - } - } - }, - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+name}:uploadFile", - "request": { - "$ref": "GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest" - }, - "response": { - "$ref": "GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", - "https://www.googleapis.com/auth/discoveryengine.readwrite" - ], - "supportsMediaUpload": true - } - } - }, "projects": { "methods": { "get": { @@ -561,15 +476,51 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, - "getConfigurablePricingUsageStats": { - "description": "Gets configurable pricing usage stats.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/configurablePricingUsageStats", + "obtainCrawlRate": { + "description": "Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:obtainCrawlRate", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.obtainCrawlRate", + "parameterOrder": [ + "location" + ], + "parameters": { + "location": { + "description": "Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+location}:obtainCrawlRate", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "queryConfigurablePricingUsageStats": { + "description": "Queries configurable pricing usage stats for a project.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{location}:queryConfigurablePricingUsageStats", "httpMethod": "GET", - "id": "discoveryengine.projects.locations.getConfigurablePricingUsageStats", + "id": "discoveryengine.projects.locations.queryConfigurablePricingUsageStats", "parameterOrder": [ - "name" + "project", + "location" ], "parameters": { + "location": { + "description": "Required. The location to query usage stats for.", + "location": "path", + "required": true, + "type": "string" + }, "metricTypes": { "description": "Optional. The metric types to return usage for.", "enum": [ @@ -592,10 +543,10 @@ "repeated": true, "type": "string" }, - "name": { - "description": "Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project}/locations/{location}/configurablePricingUsageStats", + "project": { + "description": "Required. The project to query usage stats for. Format: projects/{project}", "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/configurablePricingUsageStats$", + "pattern": "^projects/[^/]+$", "required": true, "type": "string" }, @@ -636,38 +587,9 @@ "type": "integer" } }, - "path": "v1alpha/{+name}", + "path": "v1alpha/{+project}/locations/{location}:queryConfigurablePricingUsageStats", "response": { - "$ref": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/discoveryengine.readwrite" - ] - }, - "obtainCrawlRate": { - "description": "Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}:obtainCrawlRate", - "httpMethod": "POST", - "id": "discoveryengine.projects.locations.obtainCrawlRate", - "parameterOrder": [ - "location" - ], - "parameters": { - "location": { - "description": "Required. The location resource where crawl rate management will be performed. Format: `projects/{project}/locations/{location}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+location}:obtainCrawlRate", - "request": { - "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest" - }, - "response": { - "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse" + "$ref": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", @@ -1563,7 +1485,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2502,7 +2424,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3075,7 +2997,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3154,7 +3076,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3392,7 +3314,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -4141,7 +4063,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -4489,7 +4411,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -5109,6 +5031,68 @@ }, "assistants": { "methods": { + "create": { + "description": "Creates an Assistant.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.engines.assistants.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "assistantId": { + "description": "Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/assistants", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "delete": { + "description": "Deletes an Assistant.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", + "httpMethod": "DELETE", + "id": "discoveryengine.projects.locations.collections.engines.assistants.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "get": { "description": "Gets an Assistant.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", @@ -5136,6 +5120,44 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "list": { + "description": "Lists all Assistants under an Engine.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.collections.engines.assistants.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/assistants", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaListAssistantsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "listAvailableAgentViews": { "description": "Lists the data for displaying the Agents under an Assistant which are available to the caller.", "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}:listAvailableAgentViews", @@ -5667,6 +5689,36 @@ ] } } + }, + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + } + } } } }, @@ -6333,7 +6385,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -6999,7 +7051,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -7909,7 +7961,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -8452,7 +8504,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -8531,7 +8583,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -10306,7 +10358,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -10721,42 +10773,6 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/discoveryengine.readwrite" ] - }, - "uploadFile": { - "description": "Uploads a file for Notebook LM to use. Creates a Source.", - "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/notebooks/{notebooksId}/sources/{sourceId}:uploadFile", - "httpMethod": "POST", - "id": "discoveryengine.projects.locations.notebooks.sources.uploadFile", - "parameterOrder": [ - "parent", - "sourceId" - ], - "parameters": { - "parent": { - "description": "Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook}", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$", - "required": true, - "type": "string" - }, - "sourceId": { - "description": "The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created.", - "location": "path", - "required": true, - "type": "string" - } - }, - "path": "v1alpha/{+parent}/sources/{sourceId}:uploadFile", - "request": { - "$ref": "GoogleCloudNotebooklmV1alphaUploadSourceFileRequest" - }, - "response": { - "$ref": "GoogleCloudNotebooklmV1alphaUploadSourceFileResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/discoveryengine.readwrite" - ] } } } @@ -10823,7 +10839,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -11681,7 +11697,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -11708,8 +11724,8 @@ "parent" ], "parameters": { - "filter": { - "description": "Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.", + "orderBy": { + "description": "Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a \" desc\" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order.", "location": "query", "type": "string" }, @@ -11808,7 +11824,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -11827,606 +11843,9 @@ } } }, - "revision": "20251109", + "revision": "20251116", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { - "ApiservingMediaRequestInfo": { - "description": "Extra information added to operations that support Scotty media requests.", - "id": "ApiservingMediaRequestInfo", - "properties": { - "currentBytes": { - "description": "The number of current bytes uploaded or downloaded.", - "format": "int64", - "type": "string" - }, - "customData": { - "description": "Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.", - "type": "string" - }, - "diffObjectVersion": { - "description": "Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information.", - "type": "string" - }, - "finalStatus": { - "description": "The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929", - "format": "int32", - "type": "integer" - }, - "notificationType": { - "description": "The type of notification received from Scotty.", - "enum": [ - "START", - "PROGRESS", - "END", - "RESPONSE_SENT", - "ERROR" - ], - "enumDescriptions": [ - "Such requests signals the start of a request containing media upload. Only the media field(s) in the inserted/updated resource are set. The response should either return an error or succeed. On success, responses don't need to contain anything.", - "Such requests signals that the upload has progressed and that the backend might want to access the media file specified in relevant fields in the resource. Only the media field(s) in the inserted/updated resource are set. The response should either return an error or succeed. On success, responses don't need to contain anything.", - "Such requests signals the end of a request containing media upload. END should be handled just like normal Insert/Upload requests, that is, they should process the request and return a complete resource in the response. Pointers to media data (a GFS path usually) appear in the relevant fields in the inserted/updated resource. See gdata.Media in data.proto.", - "Such requests occur after an END and signal that the response has been sent back to the client. RESPONSE_SENT is only sent to the backend if it is configured to receive them. The response does not need to contain anything.", - "Such requests indicate that an error occurred while processing the request. ERROR is only sent to the backend if it is configured to receive them. It is not guaranteed that all errors will result in this notification to the backend, even if the backend requests them. Since these requests are just for informational purposes, the response does not need to contain anything." - ], - "type": "string" - }, - "physicalHeaders": { - "description": "The physical headers provided by RequestReceivedParameters in Scotty request. type is uploader_service.KeyValuePairs.", - "format": "byte", - "type": "string" - }, - "requestId": { - "description": "The Scotty request ID.", - "type": "string" - }, - "requestReceivedParamsServingInfo": { - "description": "The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange()", - "format": "byte", - "type": "string" - }, - "totalBytes": { - "description": "The total size of the file.", - "format": "int64", - "type": "string" - }, - "totalBytesIsEstimated": { - "description": "Whether the total bytes field contains an estimated data.", - "type": "boolean" - } - }, - "type": "object" - }, - "ApiservingMediaResponseInfo": { - "description": "This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse { optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info = 2 }", - "id": "ApiservingMediaResponseInfo", - "properties": { - "customData": { - "description": "Data to copy from backend response to the next backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.", - "type": "string" - }, - "dataStorageTransform": { - "description": "Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform.", - "format": "byte", - "type": "string" - }, - "destinationBlobMintIndex": { - "description": "For the first notification of a |diff_encoded| HttpRequestInfo, this is the index of the blob mint that Scotty should use when writing the resulting blob. This field is optional. It's not required ever, even if `original_object_blob_mint_index` is set. In situations like that, we will use the destination blob's mint for the destination blob and regular blob ACL checks for the original object. Note: This field is only for use by Drive API for diff uploads.", - "format": "int32", - "type": "integer" - }, - "dynamicDropTarget": { - "description": "Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the identified field in the response must be of the type uploader.agent.DropTarget.", - "format": "byte", - "type": "string" - }, - "dynamicDropzone": { - "description": "Specifies the Scotty dropzone to use for uploads.", - "type": "string" - }, - "mediaForDiff": { - "$ref": "GdataMedia", - "description": "Diff Updates must respond to a START notification with this Media proto to tell Scotty to decode the diff encoded payload and apply the diff against this field. If the request was diff encoded, but this field is not set, Scotty will treat the encoding as identity. This is corresponding to Apiary's DiffUploadResponse.original_object (//depot/google3/gdata/rosy/proto/data.proto?l=413). See go/esf-scotty-diff-upload for more information." - }, - "originalObjectBlobMintIndex": { - "description": "For the first notification of a |diff_encoded| HttpRequestInfo, this is the index of the blob mint that Scotty should use when reading the original blob. This field is optional. It's not required ever, even if `destination_blob_mint_index` is set. In situations like that, we will use the destination blob's mint for the destination blob and regular blob ACL checks for the original object. Note: This field is only for use by Drive API for diff uploads.", - "format": "int32", - "type": "integer" - }, - "requestClass": { - "description": "Request class to use for all Blobstore operations for this request.", - "enum": [ - "UNKNOWN_REQUEST_CLASS", - "LATENCY_SENSITIVE", - "PRODUCTION_BATCH", - "BEST_EFFORT" - ], - "enumDescriptions": [ - "Unpopulated request_class in log files will be taken as 0 in dremel query. GoogleSQL will try to cast it to enum by default. An unused 0 value is added to avoid GoogleSQL casting error. Please refer to b/69677280.", - "A latency-sensitive request.", - "A request generated by a batch process.", - "A best-effort request." - ], - "type": "string" - }, - "scottyAgentUserId": { - "description": "Requester ID passed along to be recorded in the Scotty logs", - "format": "int64", - "type": "string" - }, - "scottyCustomerLog": { - "description": "Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog", - "format": "byte", - "type": "string" - }, - "trafficClassField": { - "description": "Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.", - "enum": [ - "BE1", - "AF1", - "AF2", - "AF3", - "AF4", - "NC1", - "NC0", - "BE0", - "LLQ", - "LLQ1", - "LLQ2", - "LLQ3" - ], - "enumDescriptions": [ - "Application-selectable traffic classes Best effort", - "Assured forwarding priority 1", - "Assured forwarding priority 2", - "Assured forwarding priority 3", - "Assured forwarding priority 4", - "Network control", - "Network control", - "Best effort at high packet loss", - "Low-latency queue (LLQ) best effort (go/llq)", - "LLQ assured forwarding priority 1 (go/llq2)", - "LLQ assured forwarding priority 2 (go/llq2)", - "LLQ assured forwarding priority 3 (go/llq3)" - ], - "type": "string" - }, - "verifyHashFromHeader": { - "description": "Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header.", - "type": "boolean" - } - }, - "type": "object" - }, - "GdataBlobstore2Info": { - "description": "Information to read/write to blobstore2.", - "id": "GdataBlobstore2Info", - "properties": { - "blobGeneration": { - "description": "The blob generation id.", - "format": "int64", - "type": "string" - }, - "blobId": { - "description": "The blob id, e.g., /blobstore/prod/playground/scotty", - "type": "string" - }, - "downloadReadHandle": { - "description": "Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.", - "format": "byte", - "type": "string" - }, - "readToken": { - "description": "The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.", - "type": "string" - }, - "uploadMetadataContainer": { - "description": "Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GdataCompositeMedia": { - "description": "A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.", - "id": "GdataCompositeMedia", - "properties": { - "blobRef": { - "deprecated": true, - "description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", - "format": "byte", - "type": "string" - }, - "blobstore2Info": { - "$ref": "GdataBlobstore2Info", - "description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." - }, - "cosmoBinaryReference": { - "description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", - "format": "byte", - "type": "string" - }, - "crc32cHash": { - "description": "crc32.c hash for the payload.", - "format": "uint32", - "type": "integer" - }, - "inline": { - "description": "Media data, set if reference_type is INLINE", - "format": "byte", - "type": "string" - }, - "length": { - "description": "Size of the data, in bytes", - "format": "int64", - "type": "string" - }, - "md5Hash": { - "description": "MD5 hash for the payload.", - "format": "byte", - "type": "string" - }, - "objectId": { - "$ref": "GdataObjectId", - "description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." - }, - "path": { - "description": "Path to the data, set if reference_type is PATH", - "type": "string" - }, - "referenceType": { - "description": "Describes what the field reference contains.", - "enum": [ - "PATH", - "BLOB_REF", - "INLINE", - "BIGSTORE_REF", - "COSMO_BINARY_REFERENCE" - ], - "enumDescriptions": [ - "Reference contains a GFS path or a local path.", - "Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", - "Data is included into this proto buffer", - "Reference points to a bigstore object", - "Indicates the data is stored in cosmo_binary_reference." - ], - "type": "string" - }, - "sha1Hash": { - "description": "SHA-1 hash for the payload.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GdataContentTypeInfo": { - "description": "Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.", - "id": "GdataContentTypeInfo", - "properties": { - "bestGuess": { - "description": "Scotty's best guess of what the content type of the file is.", - "type": "string" - }, - "fromBytes": { - "description": "The content type of the file derived by looking at specific bytes (i.e. \"magic bytes\") of the actual file.", - "type": "string" - }, - "fromFileName": { - "description": "The content type of the file derived from the file extension of the original file name used by the client.", - "type": "string" - }, - "fromHeader": { - "description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.", - "type": "string" - }, - "fromUrlPath": { - "description": "The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffChecksumsResponse": { - "description": "Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffChecksumsResponse", - "properties": { - "checksumsLocation": { - "$ref": "GdataCompositeMedia", - "description": "Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol." - }, - "chunkSizeBytes": { - "description": "The chunk size of checksums. Must be a multiple of 256KB.", - "format": "int64", - "type": "string" - }, - "objectLocation": { - "$ref": "GdataCompositeMedia", - "description": "If set, calculate the checksums based on the contents and return them to the caller." - }, - "objectSizeBytes": { - "description": "The total size of the server object.", - "format": "int64", - "type": "string" - }, - "objectVersion": { - "description": "The object version of the object the checksums are being returned for.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffDownloadResponse": { - "description": "Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffDownloadResponse", - "properties": { - "objectLocation": { - "$ref": "GdataCompositeMedia", - "description": "The original object location." - } - }, - "type": "object" - }, - "GdataDiffUploadRequest": { - "description": "A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffUploadRequest", - "properties": { - "checksumsInfo": { - "$ref": "GdataCompositeMedia", - "description": "The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol." - }, - "objectInfo": { - "$ref": "GdataCompositeMedia", - "description": "The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received." - }, - "objectVersion": { - "description": "The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffUploadResponse": { - "description": "Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffUploadResponse", - "properties": { - "objectVersion": { - "description": "The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.", - "type": "string" - }, - "originalObject": { - "$ref": "GdataCompositeMedia", - "description": "The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification." - } - }, - "type": "object" - }, - "GdataDiffVersionResponse": { - "description": "Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffVersionResponse", - "properties": { - "objectSizeBytes": { - "description": "The total size of the server object.", - "format": "int64", - "type": "string" - }, - "objectVersion": { - "description": "The version of the object stored at the server.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDownloadParameters": { - "description": "Parameters specific to media downloads.", - "id": "GdataDownloadParameters", - "properties": { - "allowGzipCompression": { - "description": "A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.", - "type": "boolean" - }, - "ignoreRange": { - "description": "Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.", - "type": "boolean" - } - }, - "type": "object" - }, - "GdataMedia": { - "description": "A reference to data stored on the filesystem, on GFS or in blobstore.", - "id": "GdataMedia", - "properties": { - "algorithm": { - "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, \"MD5\" is the only possible value for this field. New values may be added at any time.", - "type": "string" - }, - "bigstoreObjectRef": { - "deprecated": true, - "description": "Use object_id instead.", - "format": "byte", - "type": "string" - }, - "blobRef": { - "deprecated": true, - "description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", - "format": "byte", - "type": "string" - }, - "blobstore2Info": { - "$ref": "GdataBlobstore2Info", - "description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." - }, - "compositeMedia": { - "description": "A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.", - "items": { - "$ref": "GdataCompositeMedia" - }, - "type": "array" - }, - "contentType": { - "description": "MIME type of the data", - "type": "string" - }, - "contentTypeInfo": { - "$ref": "GdataContentTypeInfo", - "description": "Extended content type information provided for Scotty uploads." - }, - "cosmoBinaryReference": { - "description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", - "format": "byte", - "type": "string" - }, - "crc32cHash": { - "description": "For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.", - "format": "uint32", - "type": "integer" - }, - "diffChecksumsResponse": { - "$ref": "GdataDiffChecksumsResponse", - "description": "Set if reference_type is DIFF_CHECKSUMS_RESPONSE." - }, - "diffDownloadResponse": { - "$ref": "GdataDiffDownloadResponse", - "description": "Set if reference_type is DIFF_DOWNLOAD_RESPONSE." - }, - "diffUploadRequest": { - "$ref": "GdataDiffUploadRequest", - "description": "Set if reference_type is DIFF_UPLOAD_REQUEST." - }, - "diffUploadResponse": { - "$ref": "GdataDiffUploadResponse", - "description": "Set if reference_type is DIFF_UPLOAD_RESPONSE." - }, - "diffVersionResponse": { - "$ref": "GdataDiffVersionResponse", - "description": "Set if reference_type is DIFF_VERSION_RESPONSE." - }, - "downloadParameters": { - "$ref": "GdataDownloadParameters", - "description": "Parameters for a media download." - }, - "filename": { - "description": "Original file name", - "type": "string" - }, - "hash": { - "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", - "type": "string" - }, - "hashVerified": { - "description": "For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.", - "type": "boolean" - }, - "inline": { - "description": "Media data, set if reference_type is INLINE", - "format": "byte", - "type": "string" - }, - "isPotentialRetry": { - "description": "|is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.", - "type": "boolean" - }, - "length": { - "description": "Size of the data, in bytes", - "format": "int64", - "type": "string" - }, - "md5Hash": { - "description": "Scotty-provided MD5 hash for an upload.", - "format": "byte", - "type": "string" - }, - "mediaId": { - "description": "Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.", - "format": "byte", - "type": "string" - }, - "objectId": { - "$ref": "GdataObjectId", - "description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." - }, - "path": { - "description": "Path to the data, set if reference_type is PATH", - "type": "string" - }, - "referenceType": { - "description": "Describes what the field reference contains.", - "enum": [ - "PATH", - "BLOB_REF", - "INLINE", - "GET_MEDIA", - "COMPOSITE_MEDIA", - "BIGSTORE_REF", - "DIFF_VERSION_RESPONSE", - "DIFF_CHECKSUMS_RESPONSE", - "DIFF_DOWNLOAD_RESPONSE", - "DIFF_UPLOAD_REQUEST", - "DIFF_UPLOAD_RESPONSE", - "COSMO_BINARY_REFERENCE", - "ARBITRARY_BYTES" - ], - "enumDescriptions": [ - "Reference contains a GFS path or a local path.", - "Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", - "Data is included into this proto buffer", - "Data should be accessed from the current service using the operation GetMedia.", - "The content for this media object is stored across multiple partial media objects under the composite_media field.", - "Reference points to a bigstore object", - "Indicates the data is stored in diff_version_response.", - "Indicates the data is stored in diff_checksums_response.", - "Indicates the data is stored in diff_download_response.", - "Indicates the data is stored in diff_upload_request.", - "Indicates the data is stored in diff_upload_response.", - "Indicates the data is stored in cosmo_binary_reference.", - "Informs Scotty to generate a response payload with the size specified in the length field. The contents of the payload are generated by Scotty and are undefined. This is useful for testing download speeds between the user and Scotty without involving a real payload source. Note: range is not supported when using arbitrary_bytes." - ], - "type": "string" - }, - "sha1Hash": { - "description": "Scotty-provided SHA1 hash for an upload.", - "format": "byte", - "type": "string" - }, - "sha256Hash": { - "description": "Scotty-provided SHA256 hash for an upload.", - "format": "byte", - "type": "string" - }, - "timestamp": { - "description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", - "format": "uint64", - "type": "string" - }, - "token": { - "description": "A unique fingerprint/version id for the media data", - "type": "string" - } - }, - "type": "object" - }, - "GdataObjectId": { - "description": "This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.", - "id": "GdataObjectId", - "properties": { - "bucketName": { - "description": "The name of the bucket to which this object belongs.", - "type": "string" - }, - "generation": { - "description": "Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions", - "format": "int64", - "type": "string" - }, - "objectName": { - "description": "The name of the object.", - "type": "string" - } - }, - "type": "object" - }, "GoogleApiDistribution": { "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.", "id": "GoogleApiDistribution", @@ -13007,6 +12426,14 @@ "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "description": { + "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", + "type": "string" + }, + "displayName": { + "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.", + "type": "string" + }, "enabledTools": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1AssistantToolList" @@ -13121,10 +12548,21 @@ "description": "Configuration for the generation of the assistant response.", "id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig", "properties": { + "allowedModelIds": { + "description": "Optional. The list of models that are allowed to be used for assistant.", + "items": { + "type": "string" + }, + "type": "array" + }, "defaultLanguage": { "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.", "type": "string" }, + "defaultModelId": { + "description": "Optional. The default model to use for assistant.", + "type": "string" + }, "systemInstruction": { "$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction", "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions" @@ -19072,6 +18510,14 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "description": { + "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", + "type": "string" + }, + "displayName": { + "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.", + "type": "string" + }, "enabledTools": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantToolList" @@ -19290,10 +18736,21 @@ "description": "Configuration for the generation of the assistant response.", "id": "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig", "properties": { + "allowedModelIds": { + "description": "Optional. The list of models that are allowed to be used for assistant.", + "items": { + "type": "string" + }, + "type": "array" + }, "defaultLanguage": { "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.", "type": "string" }, + "defaultModelId": { + "description": "Optional. The default model to use for assistant.", + "type": "string" + }, "systemInstruction": { "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfigSystemInstruction", "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions" @@ -20949,82 +20406,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats": { - "description": "Response for [EstimateBillingService.GetConfigurablePricingUsageStats] method.", - "id": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats", - "properties": { - "metricUsages": { - "description": "A list of metric usages, one for each requested resource type that has data in the requested time range.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage" - }, - "type": "array" - }, - "name": { - "description": "Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/{project}/locations/{location}/configurablePricingUsageStats", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage": { - "description": "A list of usages for a specific day.", - "id": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage", - "properties": { - "date": { - "$ref": "GoogleTypeDate", - "description": "The date of the usage." - }, - "usage": { - "description": "The usage value on the date.", - "format": "double", - "type": "number" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage": { - "description": "The usage of a metric over a list of days.", - "id": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage", - "properties": { - "datedUsages": { - "description": "The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage" - }, - "type": "array" - }, - "metricType": { - "description": "The metric type.", - "enum": [ - "BILLING_METRIC_TYPE_UNSPECIFIED", - "DAILY_MDN_QPM", - "DAILY_MIN_QPM", - "DAILY_MAX_QPM", - "DAILY_SEARCH_REQUEST", - "TOTAL_STORAGE" - ], - "enumDescriptions": [ - "Default value.", - "Daily median search request QPM.", - "Daily min search request QPM.", - "Daily max search request QPM.", - "Daily search request total.", - "Total storage bytes for indexing core." - ], - "type": "string" - }, - "totalUsages": { - "description": "The list of total usages for this resource type", - "items": { - "format": "double", - "type": "number" - }, - "type": "array" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaConnectorRun": { "description": "A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the moment. //", "id": "GoogleCloudDiscoveryengineV1alphaConnectorRun", @@ -25412,6 +24793,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaListAssistantsResponse": { + "description": "Response message for the AssistantService.ListAssistants method.", + "id": "GoogleCloudDiscoveryengineV1alphaListAssistantsResponse", + "properties": { + "assistants": { + "description": "All the customer's Assistants.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse": { "description": "Response message for the AuthorizationService.ListAuthorizations method.", "id": "GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse", @@ -26682,6 +26081,75 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse": { + "description": "Response for [ProjectService.QueryConfigurablePricingUsageStats] method.", + "id": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse", + "properties": { + "metricUsages": { + "description": "A list of metric usages, one for each requested resource type that has data in the requested time range.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage": { + "description": "A list of usages for a specific day.", + "id": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage", + "properties": { + "date": { + "$ref": "GoogleTypeDate", + "description": "The date of the usage." + }, + "usage": { + "description": "The usage value on the date.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage": { + "description": "The usage of a metric over a list of days.", + "id": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage", + "properties": { + "datedUsages": { + "description": "The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage" + }, + "type": "array" + }, + "metricType": { + "description": "The metric type.", + "enum": [ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE" + ], + "enumDescriptions": [ + "Default value.", + "Daily median search request QPM.", + "Daily min search request QPM.", + "Daily max search request QPM.", + "Daily search request total.", + "Total storage bytes for indexing core." + ], + "type": "string" + }, + "totalUsage": { + "description": "The total usage for this resource type. This is populated for metrics like TOTAL_STORAGE.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaRankRequest": { "description": "Request message for RankService.Rank method.", "id": "GoogleCloudDiscoveryengineV1alphaRankRequest", @@ -27630,6 +27098,13 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec" + }, + "type": "array" + }, "customFineTuningSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", "description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec." @@ -27686,6 +27161,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -28117,6 +27599,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec", @@ -29937,6 +29449,13 @@ "description": "A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.", "type": "string" }, + "invocationTools": { + "description": "The tool names of the tools that were invoked.", + "items": { + "type": "string" + }, + "type": "array" + }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo", "description": "Session information. Only included in the final StreamAssistResponse of the response stream." @@ -30359,66 +29878,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1alphaUploadAgentFileRequest": { - "description": "Request message for the AgentService.UploadAgentFile method.", - "id": "GoogleCloudDiscoveryengineV1alphaUploadAgentFileRequest", - "properties": { - "blob": { - "$ref": "GdataMedia", - "description": "Information about the file being uploaded." - }, - "mediaRequestInfo": { - "$ref": "ApiservingMediaRequestInfo", - "description": "Media upload request metadata." - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1alphaUploadAgentFileResponse": { - "description": "Response message for the AgentService.UploadAgentFile method.", - "id": "GoogleCloudDiscoveryengineV1alphaUploadAgentFileResponse", - "properties": { - "agentFile": { - "$ref": "GoogleCloudDiscoveryengineV1alphaAgentFile", - "description": "The uploaded AgentFile." - }, - "mediaResponseInfo": { - "$ref": "ApiservingMediaResponseInfo", - "description": "Media upload response metadata." - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest": { - "description": "Request for the AssistantService.UploadSessionFile method.", - "id": "GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest", - "properties": { - "blob": { - "$ref": "GdataMedia", - "description": "Information about the file being uploaded." - }, - "mediaRequestInfo": { - "$ref": "ApiservingMediaRequestInfo", - "description": "Media upload request metadata." - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse": { - "description": "Response for the AssistantService.UploadSessionFile method.", - "id": "GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse", - "properties": { - "fileId": { - "description": "The ID of the uploaded file.", - "type": "string" - }, - "mediaResponseInfo": { - "$ref": "ApiservingMediaResponseInfo", - "description": "Media upload response metadata." - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1alphaUserAnnotations": { "description": "Per-user annotations for an Agent, based on UserAnnotation.", "id": "GoogleCloudDiscoveryengineV1alphaUserAnnotations", @@ -34079,6 +33538,13 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec" + }, + "type": "array" + }, "dataStoreSpecs": { "description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", "items": { @@ -34131,6 +33597,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -34558,6 +34031,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec", @@ -36018,40 +35521,6 @@ }, "type": "object" }, - "GoogleCloudNotebooklmV1alphaUploadSourceFileRequest": { - "description": "Request for the SourceService.UploadSourceFile method.", - "id": "GoogleCloudNotebooklmV1alphaUploadSourceFileRequest", - "properties": { - "blob": { - "$ref": "GdataMedia", - "description": "Information about the file being uploaded." - }, - "mediaRequestInfo": { - "$ref": "ApiservingMediaRequestInfo", - "description": "Media upload request metadata." - }, - "sourceId": { - "description": "The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created.", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudNotebooklmV1alphaUploadSourceFileResponse": { - "description": "Response for the SourceService.UploadSourceFile method.", - "id": "GoogleCloudNotebooklmV1alphaUploadSourceFileResponse", - "properties": { - "mediaResponseInfo": { - "$ref": "ApiservingMediaResponseInfo", - "description": "Media upload response metadata." - }, - "sourceId": { - "$ref": "GoogleCloudNotebooklmV1alphaSourceId", - "description": "The source id of the uploaded source." - } - }, - "type": "object" - }, "GoogleCloudNotebooklmV1alphaUserContent": { "description": "The \"Content\" messages refer to data the user wants to upload.", "id": "GoogleCloudNotebooklmV1alphaUserContent", @@ -36254,7 +35723,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/EnumStorage/discoveryengine.v1alpha.json b/EnumStorage/discoveryengine.v1alpha.json index dabc138edb4..e173629bdfc 100644 --- a/EnumStorage/discoveryengine.v1alpha.json +++ b/EnumStorage/discoveryengine.v1alpha.json @@ -74,5 +74,13 @@ "DAILY_MAX_QPM", "DAILY_SEARCH_REQUEST", "TOTAL_STORAGE" + ], + "Google.Apis.DiscoveryEngine.v1alpha.ProjectsResource+LocationsResource+QueryConfigurablePricingUsageStatsRequest.MetricTypesEnum": [ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE" ] } \ No newline at end of file diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs index e76de63f8d2..68eae2fa9bb 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.cs @@ -35,7 +35,6 @@ public DiscoveryEngineService() : this(new Google.Apis.Services.BaseClientServic public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { BillingAccounts = new BillingAccountsResource(this); - Media = new MediaResource(this); Projects = new ProjectsResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://discoveryengine.googleapis.com/"); BatchUri = GetEffectiveUri(null, "https://discoveryengine.googleapis.com/batch"); @@ -114,9 +113,6 @@ public static class ScopeConstants /// Gets the BillingAccounts resource. public virtual BillingAccountsResource BillingAccounts { get; } - /// Gets the Media resource. - public virtual MediaResource Media { get; } - /// Gets the Projects resource. public virtual ProjectsResource Projects { get; } } @@ -580,386 +576,6 @@ protected override void InitParameters() } } - /// The "media" collection of methods. - public class MediaResource - { - private const string Resource = "media"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public MediaResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Downloads a file from the session. - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - public virtual DownloadRequest Download(string name) - { - return new DownloadRequest(this.service, name); - } - - /// Downloads a file from the session. - public class DownloadRequest : DiscoveryEngineBaseServiceRequest - { - /// Constructs a new Download request. - public DownloadRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - MediaDownloader = new Google.Apis.Download.MediaDownloader(service); - InitParameters(); - } - - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Required. The ID of the file to be downloaded. - [Google.Apis.Util.RequestParameterAttribute("fileId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string FileId { get; set; } - - /// Optional. The ID of the view to be downloaded. - [Google.Apis.Util.RequestParameterAttribute("viewId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ViewId { get; set; } - - /// Gets the method name. - public override string MethodName => "download"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+name}:downloadFile"; - - /// Initializes Download parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - }); - RequestParameters.Add("fileId", new Google.Apis.Discovery.Parameter - { - Name = "fileId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("viewId", new Google.Apis.Discovery.Parameter - { - Name = "viewId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - - /// Gets the media downloader. - public Google.Apis.Download.IMediaDownloader MediaDownloader { get; private set; } - - /// - /// Synchronously download the media into the given stream. - /// - /// Warning: This method hides download errors; use - /// instead. - /// - /// - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual void Download(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Synchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - /// The final status of the download; including whether the download succeeded or failed. - public virtual Google.Apis.Download.IDownloadProgress DownloadWithStatus(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream, - System.Threading.CancellationToken cancellationToken) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - - /// Synchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.Stream stream, System.Net.Http.Headers.RangeHeaderValue range) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadRangeAsync(System.IO.Stream stream, - System.Net.Http.Headers.RangeHeaderValue range, - System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - } - - /// Uploads a file for the assistant to use as a source of information within the session. - /// The body of the request. - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - public virtual UploadRequest Upload(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest body, string name) - { - return new UploadRequest(this.service, body, name); - } - - /// Uploads a file for the assistant to use as a source of information within the session. - public class UploadRequest : DiscoveryEngineBaseServiceRequest - { - /// Constructs a new Upload request. - public UploadRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest body, string name) : base(service) - { - Name = name; - Body = body; - InitParameters(); - } - - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "upload"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+name}:uploadFile"; - - /// Initializes Upload parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - }); - } - } - - /// Uploads a file for the assistant to use as a source of information within the session. - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before reading - /// commences. If is not seekable, then it will be read from its current position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - /// The body of the request. - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - /// The stream to upload. See remarks for further information. - /// The content type of the stream to upload. - public virtual UploadMediaUpload Upload(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest body, string name, System.IO.Stream stream, string contentType) - { - return new UploadMediaUpload(service, body, name, stream, contentType); - } - - /// Upload media upload which supports resumable upload. - public class UploadMediaUpload : Google.Apis.Upload.ResumableUpload - { - /// V1 error format. - [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Xgafv { get; set; } - - /// V1 error format. - public enum XgafvEnum - { - /// v1 error format - [Google.Apis.Util.StringValueAttribute("1")] - Value1 = 0, - - /// v2 error format - [Google.Apis.Util.StringValueAttribute("2")] - Value2 = 1, - } - - /// OAuth access token. - [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] - public virtual string AccessToken { get; set; } - - /// Data format for response. - [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable Alt { get; set; } - - /// Data format for response. - public enum AltEnum - { - /// Responses with Content-Type of application/json - [Google.Apis.Util.StringValueAttribute("json")] - Json = 0, - - /// Media download with context-dependent Content-Type - [Google.Apis.Util.StringValueAttribute("media")] - Media = 1, - - /// Responses with Content-Type of application/x-protobuf - [Google.Apis.Util.StringValueAttribute("proto")] - Proto = 2, - } - - /// JSONP - [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Callback { get; set; } - - /// Selector specifying which fields to include in a partial response. - [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Fields { get; set; } - - /// - /// API key. Your API key identifies your project and provides you with API access, quota, and reports. - /// Required unless you provide an OAuth 2.0 token. - /// - [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Key { get; set; } - - /// OAuth 2.0 token for the current user. - [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] - public virtual string OauthToken { get; set; } - - /// Returns response with indentations and line breaks. - [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable PrettyPrint { get; set; } - - /// - /// Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned - /// to a user, but should not exceed 40 characters. - /// - [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] - public virtual string QuotaUser { get; set; } - - /// Legacy upload protocol for media (e.g. "media", "multipart"). - [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] - public virtual string UploadType { get; set; } - - /// Upload protocol for media (e.g. "raw", "multipart"). - [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] - public virtual string UploadProtocol { get; set; } - - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Constructs a new Upload media upload instance. - /// - /// Considerations regarding : - /// - /// - /// - /// If is seekable, then the stream position will be reset to 0 before - /// reading commences. If is not seekable, then it will be read from its current - /// position - /// - /// - /// - /// - /// Caller is responsible for maintaining the open until the upload is completed - /// - /// - /// Caller is responsible for closing the - /// - /// - public UploadMediaUpload(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest body, string name, System.IO.Stream stream, string contentType) - : base(service, string.Format("/{0}/{1}{2}", "upload", service.BasePath, "v1alpha/{+name}:uploadFile"), "POST", stream, contentType) - { - Name = name; - Body = body; - } - } - } - /// The "projects" collection of methods. public class ProjectsResource { @@ -1876,9 +1492,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -3251,11 +2867,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -4833,11 +4449,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5009,9 +4625,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -5202,11 +4818,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -6798,11 +6414,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -7189,9 +6805,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and /// those that are unreachable are returned in the - /// [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and + /// ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and /// will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// @@ -9711,6 +9327,7 @@ public AgentsResource(Google.Apis.Services.IClientService service) { this.service = service; Files = new FilesResource(service); + Operations = new OperationsResource(service); } /// Gets the Files resource. @@ -9794,6 +9411,75 @@ protected override void InitParameters() } } + /// Gets the Operations resource. + public virtual OperationsResource Operations { get; } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to + /// poll the operation result at intervals as recommended by the API service. + /// + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to + /// poll the operation result at intervals as recommended by the API service. + /// + public class GetRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", + }); + } + } + } + /// Creates an Agent. /// The body of the request. /// @@ -10935,6 +10621,138 @@ protected override void InitParameters() } } + /// Creates an Assistant. + /// The body of the request. + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + public virtual CreateRequest Create(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaAssistant body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates an Assistant. + public class CreateRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaAssistant body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the Assistant, which will become the final component of the + /// Assistant's resource name. This field must conform to + /// [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("assistantId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AssistantId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaAssistant Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+parent}/assistants"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + }); + RequestParameters.Add("assistantId", new Google.Apis.Discovery.Parameter + { + Name = "assistantId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes an Assistant. + /// + /// Required. Resource name of Assistant. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// If the caller does not have permission to delete the Assistant, regardless of whether or not + /// it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, + /// a NOT_FOUND error is returned. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes an Assistant. + public class DeleteRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Resource name of Assistant. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// If the caller does not have permission to delete the Assistant, regardless of whether or + /// not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does + /// not exist, a NOT_FOUND error is returned. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", + }); + } + } + /// Gets an Assistant. /// /// Required. Resource name of Assistant. Format: @@ -10986,6 +10804,89 @@ protected override void InitParameters() } } + /// Lists all Assistants under an Engine. + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists all Assistants under an Engine. + public class ListRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum + /// allowed value is 1000; anything above that will be coerced down to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token ListAssistantsResponse.next_page_token, received from a previous + /// AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When + /// paginating, all other parameters provided to ListAssistants must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+parent}/assistants"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Lists the data for displaying the Agents under an Assistant which are available to the /// caller. @@ -12408,9 +12309,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -14574,9 +14475,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -16113,9 +16014,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -17620,9 +17521,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -17796,9 +17697,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -22065,9 +21966,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -23171,85 +23072,6 @@ protected override void InitParameters() }); } } - - /// Uploads a file for Notebook LM to use. Creates a Source. - /// The body of the request. - /// - /// Required. The parent resource where the sources will be created. Format: - /// projects/{project}/locations/{location}/notebooks/{notebook} - /// - /// - /// The source id of the associated file. If not set, a source id will be generated and a new - /// tentative source will be created. - /// - public virtual UploadFileRequest UploadFile(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudNotebooklmV1alphaUploadSourceFileRequest body, string parent, string sourceId) - { - return new UploadFileRequest(this.service, body, parent, sourceId); - } - - /// Uploads a file for Notebook LM to use. Creates a Source. - public class UploadFileRequest : DiscoveryEngineBaseServiceRequest - { - /// Constructs a new UploadFile request. - public UploadFileRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudNotebooklmV1alphaUploadSourceFileRequest body, string parent, string sourceId) : base(service) - { - Parent = parent; - SourceId = sourceId; - Body = body; - InitParameters(); - } - - /// - /// Required. The parent resource where the sources will be created. Format: - /// projects/{project}/locations/{location}/notebooks/{notebook} - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } - - /// - /// The source id of the associated file. If not set, a source id will be generated and a new - /// tentative source will be created. - /// - [Google.Apis.Util.RequestParameterAttribute("sourceId", Google.Apis.Util.RequestParameterType.Path)] - public virtual string SourceId { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudNotebooklmV1alphaUploadSourceFileRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "uploadFile"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+parent}/sources/{sourceId}:uploadFile"; - - /// Initializes UploadFile parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter - { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/notebooks/[^/]+$", - }); - RequestParameters.Add("sourceId", new Google.Apis.Discovery.Parameter - { - Name = "sourceId", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = null, - }); - } - } } /// Batch deletes Notebooks. @@ -23662,9 +23484,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -25331,9 +25153,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -25442,15 +25264,20 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string Parent { get; private set; } /// - /// Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * - /// `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to - /// list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not - /// licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users - /// who attempted login but no license assigned. * `license`_`assignment`_`state != - /// NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. + /// Optional. The order in which the UserLicenses are listed. The value must be a + /// comma-separated list of fields. Default sorting order is ascending. To specify descending + /// order for a field, append a " desc" suffix. Redundant space characters in the syntax are + /// insignificant. Supported fields: * `license_assignment_state` * `user_principal` * + /// `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by + /// `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in + /// descending order. * `license_assignment_state` to order by `license_assignment_state` in + /// ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. + /// * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, + /// user_principal` to order by `last_login_date` in descending order and then by + /// `user_principal` in ascending order. /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } /// /// Optional. Requested page size. Server may return fewer items than requested. If unspecified, @@ -25489,9 +25316,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", }); - RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -25992,32 +25819,101 @@ protected override void InitParameters() } } - /// Gets configurable pricing usage stats. - /// - /// Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: - /// projects/{project}/locations/{location}/configurablePricingUsageStats + /// + /// Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl + /// rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google + /// automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will + /// return vertex AI's dedicated crawl rate time series. + /// + /// The body of the request. + /// + /// Required. The location resource where crawl rate management will be performed. Format: + /// `projects/{project}/locations/{location}` /// - public virtual GetConfigurablePricingUsageStatsRequest GetConfigurablePricingUsageStats(string name) + public virtual ObtainCrawlRateRequest ObtainCrawlRate(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest body, string location) { - return new GetConfigurablePricingUsageStatsRequest(this.service, name); + return new ObtainCrawlRateRequest(this.service, body, location); } - /// Gets configurable pricing usage stats. - public class GetConfigurablePricingUsageStatsRequest : DiscoveryEngineBaseServiceRequest + /// + /// Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl + /// rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google + /// automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will + /// return vertex AI's dedicated crawl rate time series. + /// + public class ObtainCrawlRateRequest : DiscoveryEngineBaseServiceRequest { - /// Constructs a new GetConfigurablePricingUsageStats request. - public GetConfigurablePricingUsageStatsRequest(Google.Apis.Services.IClientService service, string name) : base(service) + /// Constructs a new ObtainCrawlRate request. + public ObtainCrawlRateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest body, string location) : base(service) { - Name = name; + Location = location; + Body = body; InitParameters(); } /// - /// Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: - /// projects/{project}/locations/{location}/configurablePricingUsageStats + /// Required. The location resource where crawl rate management will be performed. Format: + /// `projects/{project}/locations/{location}` /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Location { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "obtainCrawlRate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1alpha/{+location}:obtainCrawlRate"; + + /// Initializes ObtainCrawlRate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("location", new Google.Apis.Discovery.Parameter + { + Name = "location", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+$", + }); + } + } + + /// Queries configurable pricing usage stats for a project. + /// Required. The project to query usage stats for. Format: projects/{project} + /// Required. The location to query usage stats for. + public virtual QueryConfigurablePricingUsageStatsRequest QueryConfigurablePricingUsageStats(string project, string location) + { + return new QueryConfigurablePricingUsageStatsRequest(this.service, project, location); + } + + /// Queries configurable pricing usage stats for a project. + public class QueryConfigurablePricingUsageStatsRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new QueryConfigurablePricingUsageStats request. + public QueryConfigurablePricingUsageStatsRequest(Google.Apis.Services.IClientService service, string project, string location) : base(service) + { + Project = project; + Location = location; + InitParameters(); + } + + /// Required. The project to query usage stats for. Format: projects/{project} + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Required. The location to query usage stats for. + [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Location { get; private set; } /// Optional. The metric types to return usage for. /// @@ -26098,25 +25994,33 @@ public enum MetricTypesEnum public virtual System.Nullable TimeRangeStartDateYear { get; set; } /// Gets the method name. - public override string MethodName => "getConfigurablePricingUsageStats"; + public override string MethodName => "queryConfigurablePricingUsageStats"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. - public override string RestPath => "v1alpha/{+name}"; + public override string RestPath => "v1alpha/{+project}/locations/{location}:queryConfigurablePricingUsageStats"; - /// Initializes GetConfigurablePricingUsageStats parameter list. + /// Initializes QueryConfigurablePricingUsageStats parameter list. protected override void InitParameters() { base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter { - Name = "name", + Name = "project", IsRequired = true, ParameterType = "path", DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/configurablePricingUsageStats$", + Pattern = @"^projects/[^/]+$", + }); + RequestParameters.Add("location", new Google.Apis.Discovery.Parameter + { + Name = "location", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, }); RequestParameters.Add("metricTypes", new Google.Apis.Discovery.Parameter { @@ -26177,75 +26081,6 @@ protected override void InitParameters() } } - /// - /// Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl - /// rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google - /// automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will - /// return vertex AI's dedicated crawl rate time series. - /// - /// The body of the request. - /// - /// Required. The location resource where crawl rate management will be performed. Format: - /// `projects/{project}/locations/{location}` - /// - public virtual ObtainCrawlRateRequest ObtainCrawlRate(Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest body, string location) - { - return new ObtainCrawlRateRequest(this.service, body, location); - } - - /// - /// Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl - /// rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google - /// automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will - /// return vertex AI's dedicated crawl rate time series. - /// - public class ObtainCrawlRateRequest : DiscoveryEngineBaseServiceRequest - { - /// Constructs a new ObtainCrawlRate request. - public ObtainCrawlRateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest body, string location) : base(service) - { - Location = location; - Body = body; - InitParameters(); - } - - /// - /// Required. The location resource where crawl rate management will be performed. Format: - /// `projects/{project}/locations/{location}` - /// - [Google.Apis.Util.RequestParameterAttribute("location", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Location { get; private set; } - - /// Gets or sets the body of this request. - Google.Apis.DiscoveryEngine.v1alpha.Data.GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest Body { get; set; } - - /// Returns the body of the request. - protected override object GetBody() => Body; - - /// Gets the method name. - public override string MethodName => "obtainCrawlRate"; - - /// Gets the HTTP method. - public override string HttpMethod => "POST"; - - /// Gets the REST path. - public override string RestPath => "v1alpha/{+location}:obtainCrawlRate"; - - /// Initializes ObtainCrawlRate parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("location", new Google.Apis.Discovery.Parameter - { - Name = "location", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+$", - }); - } - } - /// /// Removes the dedicated crawl rate for a craw_rate_scope. If the dedicated crawl rate was set, this will /// disable vertex AI's crawl bot from using the dedicated crawl rate for crawling. If the dedicated crawl @@ -26800,10 +26635,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` - /// when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This - /// field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless - /// explicitly documented otherwise in service or product specific documentation. + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + /// when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + /// documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -27114,647 +26950,6 @@ protected override void InitParameters() } namespace Google.Apis.DiscoveryEngine.v1alpha.Data { - /// Extra information added to operations that support Scotty media requests. - public class ApiservingMediaRequestInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// The number of current bytes uploaded or downloaded. - [Newtonsoft.Json.JsonPropertyAttribute("currentBytes")] - public virtual System.Nullable CurrentBytes { get; set; } - - /// - /// Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which - /// Scotty will then provide in subsequent upload notifications. - /// - [Newtonsoft.Json.JsonPropertyAttribute("customData")] - public virtual string CustomData { get; set; } - - /// - /// Set if the http request info is diff encoded. The value of this field is the version number of the base - /// revision. This is corresponding to Apiary's mediaDiffObjectVersion - /// (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See - /// go/esf-scotty-diff-upload for more information. - /// - [Newtonsoft.Json.JsonPropertyAttribute("diffObjectVersion")] - public virtual string DiffObjectVersion { get; set; } - - /// - /// The existence of the final_status field indicates that this is the last call to the agent for this - /// request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929 - /// - [Newtonsoft.Json.JsonPropertyAttribute("finalStatus")] - public virtual System.Nullable FinalStatus { get; set; } - - /// The type of notification received from Scotty. - [Newtonsoft.Json.JsonPropertyAttribute("notificationType")] - public virtual string NotificationType { get; set; } - - /// - /// The physical headers provided by RequestReceivedParameters in Scotty request. type is - /// uploader_service.KeyValuePairs. - /// - [Newtonsoft.Json.JsonPropertyAttribute("physicalHeaders")] - public virtual string PhysicalHeaders { get; set; } - - /// The Scotty request ID. - [Newtonsoft.Json.JsonPropertyAttribute("requestId")] - public virtual string RequestId { get; set; } - - /// - /// The partition of the Scotty server handling this request. type is - /// uploader_service.RequestReceivedParamsServingInfo - /// LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange() - /// - [Newtonsoft.Json.JsonPropertyAttribute("requestReceivedParamsServingInfo")] - public virtual string RequestReceivedParamsServingInfo { get; set; } - - /// The total size of the file. - [Newtonsoft.Json.JsonPropertyAttribute("totalBytes")] - public virtual System.Nullable TotalBytes { get; set; } - - /// Whether the total bytes field contains an estimated data. - [Newtonsoft.Json.JsonPropertyAttribute("totalBytesIsEstimated")] - public virtual System.Nullable TotalBytesIsEstimated { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// This message is for backends to pass their scotty media specific fields to ESF. Backend will include this in - /// their response message to ESF. Example: ExportFile is an rpc defined for upload using scotty from ESF. rpc - /// ExportFile(ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse will include - /// apiserving.MediaResponseInfo to tell ESF about data like dynamic_dropzone it needs to pass to Scotty. message - /// ExportFileResponse { optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo media_response_info = - /// 2 } - /// - public class ApiservingMediaResponseInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Data to copy from backend response to the next backend requests. Custom data is returned to Scotty in the - /// agent_state field, which Scotty will then provide in subsequent upload notifications. - /// - [Newtonsoft.Json.JsonPropertyAttribute("customData")] - public virtual string CustomData { get; set; } - - /// - /// Specifies any transformation to be applied to data before persisting it or retrieving from storage. E.g., - /// encryption options for blobstore2. This should be of the form uploader_service.DataStorageTransform. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dataStorageTransform")] - public virtual string DataStorageTransform { get; set; } - - /// - /// For the first notification of a |diff_encoded| HttpRequestInfo, this is the index of the blob mint that - /// Scotty should use when writing the resulting blob. This field is optional. It's not required ever, even if - /// `original_object_blob_mint_index` is set. In situations like that, we will use the destination blob's mint - /// for the destination blob and regular blob ACL checks for the original object. Note: This field is only for - /// use by Drive API for diff uploads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("destinationBlobMintIndex")] - public virtual System.Nullable DestinationBlobMintIndex { get; set; } - - /// - /// Specifies the Scotty Drop Target to use for uploads. If present in a media response, Scotty does not upload - /// to a standard drop zone. Instead, Scotty saves the upload directly to the location specified in this drop - /// target. Unlike drop zones, the drop target is the final storage location for an upload. So, the agent does - /// not need to clone the blob at the end of the upload. The agent is responsible for garbage collecting any - /// orphaned blobs that may occur due to aborted uploads. For more information, see the drop target design doc - /// here: http://goto/ScottyDropTarget This field will be preferred to dynamicDropzone. If provided, the - /// identified field in the response must be of the type uploader.agent.DropTarget. - /// - [Newtonsoft.Json.JsonPropertyAttribute("dynamicDropTarget")] - public virtual string DynamicDropTarget { get; set; } - - /// Specifies the Scotty dropzone to use for uploads. - [Newtonsoft.Json.JsonPropertyAttribute("dynamicDropzone")] - public virtual string DynamicDropzone { get; set; } - - /// - /// Diff Updates must respond to a START notification with this Media proto to tell Scotty to decode the diff - /// encoded payload and apply the diff against this field. If the request was diff encoded, but this field is - /// not set, Scotty will treat the encoding as identity. This is corresponding to Apiary's - /// DiffUploadResponse.original_object (//depot/google3/gdata/rosy/proto/data.proto?l=413). See - /// go/esf-scotty-diff-upload for more information. - /// - [Newtonsoft.Json.JsonPropertyAttribute("mediaForDiff")] - public virtual GdataMedia MediaForDiff { get; set; } - - /// - /// For the first notification of a |diff_encoded| HttpRequestInfo, this is the index of the blob mint that - /// Scotty should use when reading the original blob. This field is optional. It's not required ever, even if - /// `destination_blob_mint_index` is set. In situations like that, we will use the destination blob's mint for - /// the destination blob and regular blob ACL checks for the original object. Note: This field is only for use - /// by Drive API for diff uploads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("originalObjectBlobMintIndex")] - public virtual System.Nullable OriginalObjectBlobMintIndex { get; set; } - - /// Request class to use for all Blobstore operations for this request. - [Newtonsoft.Json.JsonPropertyAttribute("requestClass")] - public virtual string RequestClass { get; set; } - - /// Requester ID passed along to be recorded in the Scotty logs - [Newtonsoft.Json.JsonPropertyAttribute("scottyAgentUserId")] - public virtual System.Nullable ScottyAgentUserId { get; set; } - - /// - /// Customer-specific data to be recorded in the Scotty logs type is logs_proto_scotty.CustomerLog - /// - [Newtonsoft.Json.JsonPropertyAttribute("scottyCustomerLog")] - public virtual string ScottyCustomerLog { get; set; } - - /// - /// Specifies the TrafficClass that Scotty should use for any RPCs to fetch the response bytes. Will override - /// the traffic class GTOS of the incoming http request. This is a temporary field to facilitate whitelisting - /// and experimentation by the bigstore agent only. For instance, this does not apply to RTMP reads. WARNING: DO - /// NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM. - /// - [Newtonsoft.Json.JsonPropertyAttribute("trafficClassField")] - public virtual string TrafficClassField { get; set; } - - /// - /// Tells Scotty to verify hashes on the agent's behalf by parsing out the X-Goog-Hash header. - /// - [Newtonsoft.Json.JsonPropertyAttribute("verifyHashFromHeader")] - public virtual System.Nullable VerifyHashFromHeader { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Information to read/write to blobstore2. - public class GdataBlobstore2Info : Google.Apis.Requests.IDirectResponseSchema - { - /// The blob generation id. - [Newtonsoft.Json.JsonPropertyAttribute("blobGeneration")] - public virtual System.Nullable BlobGeneration { get; set; } - - /// The blob id, e.g., /blobstore/prod/playground/scotty - [Newtonsoft.Json.JsonPropertyAttribute("blobId")] - public virtual string BlobId { get; set; } - - /// - /// Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized - /// blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS - /// media downloads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("downloadReadHandle")] - public virtual string DownloadReadHandle { get; set; } - - /// - /// The blob read token. Needed to read blobs that have not been replicated. Might not be available until the - /// final call. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readToken")] - public virtual string ReadToken { get; set; } - - /// - /// Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized - /// blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not - /// applicable to non-GCS media uploads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("uploadMetadataContainer")] - public virtual string UploadMetadataContainer { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A sequence of media data references representing composite data. Introduced to support Bigstore composite - /// objects. For details, visit http://go/bigstore-composites. - /// - public class GdataCompositeMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a - /// blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will - /// also be represented in this field as v1 BlobRef. - /// - [Newtonsoft.Json.JsonPropertyAttribute("blobRef")] - public virtual string BlobRef { get; set; } - - /// Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. - [Newtonsoft.Json.JsonPropertyAttribute("blobstore2Info")] - public virtual GdataBlobstore2Info Blobstore2Info { get; set; } - - /// - /// A binary data reference for a media download. Serves as a technology-agnostic binary reference in some - /// Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes - /// is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support - /// JavaScript. This prevents us from including the actual type of this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cosmoBinaryReference")] - public virtual string CosmoBinaryReference { get; set; } - - /// crc32.c hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("crc32cHash")] - public virtual System.Nullable Crc32cHash { get; set; } - - /// Media data, set if reference_type is INLINE - [Newtonsoft.Json.JsonPropertyAttribute("inline")] - public virtual string Inline { get; set; } - - /// Size of the data, in bytes - [Newtonsoft.Json.JsonPropertyAttribute("length")] - public virtual System.Nullable Length { get; set; } - - /// MD5 hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("md5Hash")] - public virtual string Md5Hash { get; set; } - - /// Reference to a TI Blob, set if reference_type is BIGSTORE_REF. - [Newtonsoft.Json.JsonPropertyAttribute("objectId")] - public virtual GdataObjectId ObjectId { get; set; } - - /// Path to the data, set if reference_type is PATH - [Newtonsoft.Json.JsonPropertyAttribute("path")] - public virtual string Path { get; set; } - - /// Describes what the field reference contains. - [Newtonsoft.Json.JsonPropertyAttribute("referenceType")] - public virtual string ReferenceType { get; set; } - - /// SHA-1 hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("sha1Hash")] - public virtual string Sha1Hash { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the - /// header or Scotty's best_guess, but this extended information provides the backend with more information so that - /// it can make a better decision if needed. This is only used on media upload requests from Scotty. - /// - public class GdataContentTypeInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// Scotty's best guess of what the content type of the file is. - [Newtonsoft.Json.JsonPropertyAttribute("bestGuess")] - public virtual string BestGuess { get; set; } - - /// - /// The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromBytes")] - public virtual string FromBytes { get; set; } - - /// - /// The content type of the file derived from the file extension of the original file name used by the client. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromFileName")] - public virtual string FromFileName { get; set; } - - /// - /// The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromHeader")] - public virtual string FromHeader { get; set; } - - /// - /// The content type of the file derived from the file extension of the URL path. The URL path is assumed to - /// represent a file name (which is typically only true for agents that are providing a REST API). - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromUrlPath")] - public virtual string FromUrlPath { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffChecksumsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Exactly one of these fields must be populated. If checksums_location is filled, the server will return the - /// corresponding contents to the user. If object_location is filled, the server will calculate the checksums - /// based on the content there and return that to the user. For details on the format of the checksums, see - /// http://go/scotty-diff-protocol. - /// - [Newtonsoft.Json.JsonPropertyAttribute("checksumsLocation")] - public virtual GdataCompositeMedia ChecksumsLocation { get; set; } - - /// The chunk size of checksums. Must be a multiple of 256KB. - [Newtonsoft.Json.JsonPropertyAttribute("chunkSizeBytes")] - public virtual System.Nullable ChunkSizeBytes { get; set; } - - /// If set, calculate the checksums based on the contents and return them to the caller. - [Newtonsoft.Json.JsonPropertyAttribute("objectLocation")] - public virtual GdataCompositeMedia ObjectLocation { get; set; } - - /// The total size of the server object. - [Newtonsoft.Json.JsonPropertyAttribute("objectSizeBytes")] - public virtual System.Nullable ObjectSizeBytes { get; set; } - - /// The object version of the object the checksums are being returned for. - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff download response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffDownloadResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The original object location. - [Newtonsoft.Json.JsonPropertyAttribute("objectLocation")] - public virtual GdataCompositeMedia ObjectLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol. - /// - public class GdataDiffUploadRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The location of the checksums for the new object. Agents must clone the object located here, as the upload - /// server will delete the contents once a response is received. For details on the format of the checksums, see - /// http://go/scotty-diff-protocol. - /// - [Newtonsoft.Json.JsonPropertyAttribute("checksumsInfo")] - public virtual GdataCompositeMedia ChecksumsInfo { get; set; } - - /// - /// The location of the new object. Agents must clone the object located here, as the upload server will delete - /// the contents once a response is received. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectInfo")] - public virtual GdataCompositeMedia ObjectInfo { get; set; } - - /// - /// The object version of the object that is the base version the incoming diff script will be applied to. This - /// field will always be filled in. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffUploadResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The object version of the object at the server. Must be included in the end notification response. The - /// version in the end notification response must correspond to the new version of the object that is now stored - /// at the server, after the upload. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// - /// The location of the original file for a diff upload request. Must be filled in if responding to an upload - /// start notification. - /// - [Newtonsoft.Json.JsonPropertyAttribute("originalObject")] - public virtual GdataCompositeMedia OriginalObject { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffVersionResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The total size of the server object. - [Newtonsoft.Json.JsonPropertyAttribute("objectSizeBytes")] - public virtual System.Nullable ObjectSizeBytes { get; set; } - - /// The version of the object stored at the server. - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Parameters specific to media downloads. - public class GdataDownloadParameters : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content - /// when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip - /// the response to the client. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowGzipCompression")] - public virtual System.Nullable AllowGzipCompression { get; set; } - - /// - /// Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to - /// Scotty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ignoreRange")] - public virtual System.Nullable IgnoreRange { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A reference to data stored on the filesystem, on GFS or in blobstore. - public class GdataMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of - /// 2011/01/21, "MD5" is the only possible value for this field. New values may be added at any time. - /// - [Newtonsoft.Json.JsonPropertyAttribute("algorithm")] - public virtual string Algorithm { get; set; } - - /// Use object_id instead. - [Newtonsoft.Json.JsonPropertyAttribute("bigstoreObjectRef")] - public virtual string BigstoreObjectRef { get; set; } - - /// - /// Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a - /// blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will - /// also be represented in this field as v1 BlobRef. - /// - [Newtonsoft.Json.JsonPropertyAttribute("blobRef")] - public virtual string BlobRef { get; set; } - - /// Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. - [Newtonsoft.Json.JsonPropertyAttribute("blobstore2Info")] - public virtual GdataBlobstore2Info Blobstore2Info { get; set; } - - /// - /// A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media - /// length field must be set to the sum of the lengths of all composite media objects. Note: All composite media - /// must have length specified. - /// - [Newtonsoft.Json.JsonPropertyAttribute("compositeMedia")] - public virtual System.Collections.Generic.IList CompositeMedia { get; set; } - - /// MIME type of the data - [Newtonsoft.Json.JsonPropertyAttribute("contentType")] - public virtual string ContentType { get; set; } - - /// Extended content type information provided for Scotty uploads. - [Newtonsoft.Json.JsonPropertyAttribute("contentTypeInfo")] - public virtual GdataContentTypeInfo ContentTypeInfo { get; set; } - - /// - /// A binary data reference for a media download. Serves as a technology-agnostic binary reference in some - /// Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes - /// is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support - /// JavaScript. This prevents us from including the actual type of this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cosmoBinaryReference")] - public virtual string CosmoBinaryReference { get; set; } - - /// - /// For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT - /// PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being - /// downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported. - /// - [Newtonsoft.Json.JsonPropertyAttribute("crc32cHash")] - public virtual System.Nullable Crc32cHash { get; set; } - - /// Set if reference_type is DIFF_CHECKSUMS_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffChecksumsResponse")] - public virtual GdataDiffChecksumsResponse DiffChecksumsResponse { get; set; } - - /// Set if reference_type is DIFF_DOWNLOAD_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffDownloadResponse")] - public virtual GdataDiffDownloadResponse DiffDownloadResponse { get; set; } - - /// Set if reference_type is DIFF_UPLOAD_REQUEST. - [Newtonsoft.Json.JsonPropertyAttribute("diffUploadRequest")] - public virtual GdataDiffUploadRequest DiffUploadRequest { get; set; } - - /// Set if reference_type is DIFF_UPLOAD_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffUploadResponse")] - public virtual GdataDiffUploadResponse DiffUploadResponse { get; set; } - - /// Set if reference_type is DIFF_VERSION_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffVersionResponse")] - public virtual GdataDiffVersionResponse DiffVersionResponse { get; set; } - - /// Parameters for a media download. - [Newtonsoft.Json.JsonPropertyAttribute("downloadParameters")] - public virtual GdataDownloadParameters DownloadParameters { get; set; } - - /// Original file name - [Newtonsoft.Json.JsonPropertyAttribute("filename")] - public virtual string Filename { get; set; } - - /// - /// Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be - /// populated on Scotty based media uploads and will contain the content of the hash group in the - /// NotificationRequest: - /// http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex - /// encoded hash value of the uploaded media. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hash")] - public virtual string Hash { get; set; } - - /// - /// For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the - /// upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if - /// the hashes don't match. This is set to true if Scotty performed this verification. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashVerified")] - public virtual System.Nullable HashVerified { get; set; } - - /// Media data, set if reference_type is INLINE - [Newtonsoft.Json.JsonPropertyAttribute("inline")] - public virtual string Inline { get; set; } - - /// - /// |is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When - /// a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain - /// that it has never sent the request before due to potential failure in the session state persistence. - /// - [Newtonsoft.Json.JsonPropertyAttribute("isPotentialRetry")] - public virtual System.Nullable IsPotentialRetry { get; set; } - - /// Size of the data, in bytes - [Newtonsoft.Json.JsonPropertyAttribute("length")] - public virtual System.Nullable Length { get; set; } - - /// Scotty-provided MD5 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("md5Hash")] - public virtual string Md5Hash { get; set; } - - /// Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA. - [Newtonsoft.Json.JsonPropertyAttribute("mediaId")] - public virtual string MediaId { get; set; } - - /// Reference to a TI Blob, set if reference_type is BIGSTORE_REF. - [Newtonsoft.Json.JsonPropertyAttribute("objectId")] - public virtual GdataObjectId ObjectId { get; set; } - - /// Path to the data, set if reference_type is PATH - [Newtonsoft.Json.JsonPropertyAttribute("path")] - public virtual string Path { get; set; } - - /// Describes what the field reference contains. - [Newtonsoft.Json.JsonPropertyAttribute("referenceType")] - public virtual string ReferenceType { get; set; } - - /// Scotty-provided SHA1 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("sha1Hash")] - public virtual string Sha1Hash { get; set; } - - /// Scotty-provided SHA256 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("sha256Hash")] - public virtual string Sha256Hash { get; set; } - - /// Time at which the media data was last updated, in milliseconds since UNIX epoch - [Newtonsoft.Json.JsonPropertyAttribute("timestamp")] - public virtual System.Nullable Timestamp { get; set; } - - /// A unique fingerprint/version id for the media data - [Newtonsoft.Json.JsonPropertyAttribute("token")] - public virtual string Token { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure - /// issues with JavaScript support; see http://b/8801763. - /// - public class GdataObjectId : Google.Apis.Requests.IDirectResponseSchema - { - /// The name of the bucket to which this object belongs. - [Newtonsoft.Json.JsonPropertyAttribute("bucketName")] - public virtual string BucketName { get; set; } - - /// - /// Generation of the object. Generations are monotonically increasing across writes, allowing them to be be - /// compared to determine which generation is newer. If this is omitted in a request, then you are requesting - /// the live object. See http://go/bigstore-versions - /// - [Newtonsoft.Json.JsonPropertyAttribute("generation")] - public virtual System.Nullable Generation { get; set; } - - /// The name of the object. - [Newtonsoft.Json.JsonPropertyAttribute("objectName")] - public virtual string ObjectName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// `Distribution` contains summary statistics for a population of values. It optionally contains a histogram /// representing the distribution of those values across a set of buckets. The summary statistics are the count, @@ -28516,6 +27711,20 @@ public class GoogleCloudDiscoveryengineV1Assistant : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("customerPolicy")] public virtual GoogleCloudDiscoveryengineV1AssistantCustomerPolicy CustomerPolicy { get; set; } + /// + /// Optional. Description for additional information. Expected to be shown on the configuration UI, not to the + /// users of the assistant. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// + /// Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + /// /// Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The /// keys are connector name, for example @@ -28622,6 +27831,10 @@ public class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig /// Configuration for the generation of the assistant response. public class GoogleCloudDiscoveryengineV1AssistantGenerationConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. The list of models that are allowed to be used for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("allowedModelIds")] + public virtual System.Collections.Generic.IList AllowedModelIds { get; set; } + /// /// The default language to use for the generation of the assistant response. Use an ISO 639-1 language code /// such as `en`. If not specified, the language will be automatically detected. @@ -28629,6 +27842,10 @@ public class GoogleCloudDiscoveryengineV1AssistantGenerationConfig : Google.Apis [Newtonsoft.Json.JsonPropertyAttribute("defaultLanguage")] public virtual string DefaultLanguage { get; set; } + /// Optional. The default model to use for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("defaultModelId")] + public virtual string DefaultModelId { get; set; } + /// /// System instruction, also known as the prompt preamble for LLM calls. See also /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions @@ -37131,6 +36348,20 @@ public class GoogleCloudDiscoveryengineV1alphaAssistant : Google.Apis.Requests.I [Newtonsoft.Json.JsonPropertyAttribute("customerPolicy")] public virtual GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy CustomerPolicy { get; set; } + /// + /// Optional. Description for additional information. Expected to be shown on the configuration UI, not to the + /// users of the assistant. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// + /// Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + /// /// Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The /// keys are connector name, for example @@ -37330,6 +36561,10 @@ public class GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicyModelArmorC /// Configuration for the generation of the assistant response. public class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. The list of models that are allowed to be used for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("allowedModelIds")] + public virtual System.Collections.Generic.IList AllowedModelIds { get; set; } + /// /// The default language to use for the generation of the assistant response. Use an ISO 639-1 language code /// such as `en`. If not specified, the language will be automatically detected. @@ -37337,6 +36572,10 @@ public class GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig : Google [Newtonsoft.Json.JsonPropertyAttribute("defaultLanguage")] public virtual string DefaultLanguage { get; set; } + /// Optional. The default model to use for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("defaultModelId")] + public virtual string DefaultModelId { get; set; } + /// /// System instruction, also known as the prompt preamble for LLM calls. See also /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions @@ -39300,63 +38539,6 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset public virtual string ETag { get; set; } } - /// Response for [EstimateBillingService.GetConfigurablePricingUsageStats] method. - public class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A list of metric usages, one for each requested resource type that has data in the requested time range. - /// - [Newtonsoft.Json.JsonPropertyAttribute("metricUsages")] - public virtual System.Collections.Generic.IList MetricUsages { get; set; } - - /// - /// Identifier. The name of the ConfigurablePricingUsageStats. Format: - /// projects/{project}/locations/{location}/configurablePricingUsageStats - /// - [Newtonsoft.Json.JsonPropertyAttribute("name")] - public virtual string Name { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A list of usages for a specific day. - public class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage : Google.Apis.Requests.IDirectResponseSchema - { - /// The date of the usage. - [Newtonsoft.Json.JsonPropertyAttribute("date")] - public virtual GoogleTypeDate Date { get; set; } - - /// The usage value on the date. - [Newtonsoft.Json.JsonPropertyAttribute("usage")] - public virtual System.Nullable Usage { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// The usage of a metric over a list of days. - public class GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The list of usages for this resource type, chronologically sorted by date. This is populated for metrics - /// with daily aggregation like DAILY_MDN_QPM. - /// - [Newtonsoft.Json.JsonPropertyAttribute("datedUsages")] - public virtual System.Collections.Generic.IList DatedUsages { get; set; } - - /// The metric type. - [Newtonsoft.Json.JsonPropertyAttribute("metricType")] - public virtual string MetricType { get; set; } - - /// The list of total usages for this resource type - [Newtonsoft.Json.JsonPropertyAttribute("totalUsages")] - public virtual System.Collections.Generic.IList> TotalUsages { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at /// DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the @@ -46064,6 +45246,24 @@ public class GoogleCloudDiscoveryengineV1alphaListAgentsResponse : Google.Apis.R public virtual string ETag { get; set; } } + /// Response message for the AssistantService.ListAssistants method. + public class GoogleCloudDiscoveryengineV1alphaListAssistantsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// All the customer's Assistants. + [Newtonsoft.Json.JsonPropertyAttribute("assistants")] + public virtual System.Collections.Generic.IList Assistants { get; set; } + + /// + /// A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is + /// omitted, there are no subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response message for the AuthorizationService.ListAuthorizations method. public class GoogleCloudDiscoveryengineV1alphaListAuthorizationsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -47871,6 +47071,56 @@ public class GoogleCloudDiscoveryengineV1alphaQuery : Google.Apis.Requests.IDire public virtual string ETag { get; set; } } + /// Response for [ProjectService.QueryConfigurablePricingUsageStats] method. + public class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A list of metric usages, one for each requested resource type that has data in the requested time range. + /// + [Newtonsoft.Json.JsonPropertyAttribute("metricUsages")] + public virtual System.Collections.Generic.IList MetricUsages { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A list of usages for a specific day. + public class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseDatedUsage : Google.Apis.Requests.IDirectResponseSchema + { + /// The date of the usage. + [Newtonsoft.Json.JsonPropertyAttribute("date")] + public virtual GoogleTypeDate Date { get; set; } + + /// The usage value on the date. + [Newtonsoft.Json.JsonPropertyAttribute("usage")] + public virtual System.Nullable Usage { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The usage of a metric over a list of days. + public class GoogleCloudDiscoveryengineV1alphaQueryConfigurablePricingUsageStatsResponseMetricUsage : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The list of usages for this resource type, chronologically sorted by date. This is populated for metrics + /// with daily aggregation like DAILY_MDN_QPM. + /// + [Newtonsoft.Json.JsonPropertyAttribute("datedUsages")] + public virtual System.Collections.Generic.IList DatedUsages { get; set; } + + /// The metric type. + [Newtonsoft.Json.JsonPropertyAttribute("metricType")] + public virtual string MetricType { get; set; } + + /// The total usage for this resource type. This is populated for metrics like TOTAL_STORAGE. + [Newtonsoft.Json.JsonPropertyAttribute("totalUsage")] + public virtual System.Nullable TotalUsage { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for RankService.Rank method. public class GoogleCloudDiscoveryengineV1alphaRankRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -49096,6 +48346,17 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequest : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Custom fine tuning configs. If set, it has higher priority than the configs set in /// ServingConfig.custom_fine_tuning_spec. @@ -49196,6 +48457,19 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequest : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -49784,6 +49058,36 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSumm public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -52014,6 +51318,10 @@ public class GoogleCloudDiscoveryengineV1alphaStreamAssistResponse : Google.Apis [Newtonsoft.Json.JsonPropertyAttribute("assistToken")] public virtual string AssistToken { get; set; } + /// The tool names of the tools that were invoked. + [Newtonsoft.Json.JsonPropertyAttribute("invocationTools")] + public virtual System.Collections.Generic.IList InvocationTools { get; set; } + /// /// Session information. Only included in the final StreamAssistResponse of the response stream. /// @@ -52559,328 +51867,268 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// - /// Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by - /// the google.longrunning.Operation.metadata field. - /// - public class GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata : Google.Apis.Requests.IDirectResponseSchema - { - private string _createTimeRaw; - - private object _createTime; - - /// Operation create time. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Operation last update time. If the operation is done, this is also the finish time. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Metadata for UpdateSchema LRO. - public class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata : Google.Apis.Requests.IDirectResponseSchema - { - private string _createTimeRaw; - - private object _createTime; - - /// Operation create time. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Operation last update time. If the operation is done, this is also the finish time. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request for UpdateSession method. - public class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Required. The Session to update. - [Newtonsoft.Json.JsonPropertyAttribute("session")] - public virtual GoogleCloudDiscoveryengineV1alphaSession Session { get; set; } - - /// - /// Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If - /// not set or empty, all supported fields are updated. - /// - [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] - public virtual object UpdateMask { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be - /// returned by the google.longrunning.Operation.metadata field. - /// - public class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata : Google.Apis.Requests.IDirectResponseSchema - { - private string _createTimeRaw; - - private object _createTime; - - /// Operation create time. - [Newtonsoft.Json.JsonPropertyAttribute("createTime")] - public virtual string CreateTimeRaw - { - get => _createTimeRaw; - set - { - _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _createTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] - public virtual object CreateTime - { - get => _createTime; - set - { - _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _createTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? CreateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); - set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - private string _updateTimeRaw; - - private object _updateTime; - - /// Operation last update time. If the operation is done, this is also the finish time. - [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] - public virtual string UpdateTimeRaw - { - get => _updateTimeRaw; - set - { - _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); - _updateTimeRaw = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] - public virtual object UpdateTime - { - get => _updateTime; - set - { - _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); - _updateTime = value; - } - } - - /// representation of . - [Newtonsoft.Json.JsonIgnoreAttribute] - public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset - { - get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); - set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); - } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Request message for the AgentService.UploadAgentFile method. - public class GoogleCloudDiscoveryengineV1alphaUploadAgentFileRequest : Google.Apis.Requests.IDirectResponseSchema + /// + /// Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by + /// the google.longrunning.Operation.metadata field. + /// + public class GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata : Google.Apis.Requests.IDirectResponseSchema { - /// Information about the file being uploaded. - [Newtonsoft.Json.JsonPropertyAttribute("blob")] - public virtual GdataMedia Blob { get; set; } + private string _createTimeRaw; + + private object _createTime; + + /// Operation create time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Operation last update time. If the operation is done, this is also the finish time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } - /// Media upload request metadata. - [Newtonsoft.Json.JsonPropertyAttribute("mediaRequestInfo")] - public virtual ApiservingMediaRequestInfo MediaRequestInfo { get; set; } + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Response message for the AgentService.UploadAgentFile method. - public class GoogleCloudDiscoveryengineV1alphaUploadAgentFileResponse : Google.Apis.Requests.IDirectResponseSchema + /// Metadata for UpdateSchema LRO. + public class GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata : Google.Apis.Requests.IDirectResponseSchema { - /// The uploaded AgentFile. - [Newtonsoft.Json.JsonPropertyAttribute("agentFile")] - public virtual GoogleCloudDiscoveryengineV1alphaAgentFile AgentFile { get; set; } + private string _createTimeRaw; + + private object _createTime; + + /// Operation create time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// Media upload response metadata. - [Newtonsoft.Json.JsonPropertyAttribute("mediaResponseInfo")] - public virtual ApiservingMediaResponseInfo MediaResponseInfo { get; set; } + private string _updateTimeRaw; + + private object _updateTime; + + /// Operation last update time. If the operation is done, this is also the finish time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Request for the AssistantService.UploadSessionFile method. - public class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest : Google.Apis.Requests.IDirectResponseSchema + /// Request for UpdateSession method. + public class GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest : Google.Apis.Requests.IDirectResponseSchema { - /// Information about the file being uploaded. - [Newtonsoft.Json.JsonPropertyAttribute("blob")] - public virtual GdataMedia Blob { get; set; } + /// Required. The Session to update. + [Newtonsoft.Json.JsonPropertyAttribute("session")] + public virtual GoogleCloudDiscoveryengineV1alphaSession Session { get; set; } - /// Media upload request metadata. - [Newtonsoft.Json.JsonPropertyAttribute("mediaRequestInfo")] - public virtual ApiservingMediaRequestInfo MediaRequestInfo { get; set; } + /// + /// Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If + /// not set or empty, all supported fields are updated. + /// + [Newtonsoft.Json.JsonPropertyAttribute("updateMask")] + public virtual object UpdateMask { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } - /// Response for the AssistantService.UploadSessionFile method. - public class GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse : Google.Apis.Requests.IDirectResponseSchema + /// + /// Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be + /// returned by the google.longrunning.Operation.metadata field. + /// + public class GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata : Google.Apis.Requests.IDirectResponseSchema { - /// The ID of the uploaded file. - [Newtonsoft.Json.JsonPropertyAttribute("fileId")] - public virtual string FileId { get; set; } + private string _createTimeRaw; + + private object _createTime; + + /// Operation create time. + [Newtonsoft.Json.JsonPropertyAttribute("createTime")] + public virtual string CreateTimeRaw + { + get => _createTimeRaw; + set + { + _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] + public virtual object CreateTime + { + get => _createTime; + set + { + _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } - /// Media upload response metadata. - [Newtonsoft.Json.JsonPropertyAttribute("mediaResponseInfo")] - public virtual ApiservingMediaResponseInfo MediaResponseInfo { get; set; } + private string _updateTimeRaw; + + private object _updateTime; + + /// Operation last update time. If the operation is done, this is also the finish time. + [Newtonsoft.Json.JsonPropertyAttribute("updateTime")] + public virtual string UpdateTimeRaw + { + get => _updateTimeRaw; + set + { + _updateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _updateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")] + public virtual object UpdateTime + { + get => _updateTime; + set + { + _updateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _updateTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset + { + get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); + } /// The ETag of the item. public virtual string ETag { get; set; } @@ -58711,6 +57959,17 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Specifications that define the specific DataStores to be searched, along with configurations for those data /// stores. This is only considered for Engines with multiple data stores. For engines with a single data store, @@ -58804,6 +58063,19 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -59384,6 +58656,36 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSumma public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -61335,43 +60637,6 @@ public class GoogleCloudNotebooklmV1alphaSourceSettings : Google.Apis.Requests.I public virtual string ETag { get; set; } } - /// Request for the SourceService.UploadSourceFile method. - public class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// Information about the file being uploaded. - [Newtonsoft.Json.JsonPropertyAttribute("blob")] - public virtual GdataMedia Blob { get; set; } - - /// Media upload request metadata. - [Newtonsoft.Json.JsonPropertyAttribute("mediaRequestInfo")] - public virtual ApiservingMediaRequestInfo MediaRequestInfo { get; set; } - - /// - /// The source id of the associated file. If not set, a source id will be generated and a new tentative source - /// will be created. - /// - [Newtonsoft.Json.JsonPropertyAttribute("sourceId")] - public virtual string SourceId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Response for the SourceService.UploadSourceFile method. - public class GoogleCloudNotebooklmV1alphaUploadSourceFileResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// Media upload response metadata. - [Newtonsoft.Json.JsonPropertyAttribute("mediaResponseInfo")] - public virtual ApiservingMediaResponseInfo MediaResponseInfo { get; set; } - - /// The source id of the uploaded source. - [Newtonsoft.Json.JsonPropertyAttribute("sourceId")] - public virtual GoogleCloudNotebooklmV1alphaSourceId SourceId { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// The "Content" messages refer to data the user wants to upload. public class GoogleCloudNotebooklmV1alphaUserContent : Google.Apis.Requests.IDirectResponseSchema { @@ -61687,8 +60952,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj index 10af0c00ab2..e3ef6a02bbd 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1alpha/Google.Apis.DiscoveryEngine.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.DiscoveryEngine.v1alpha Client Library - 1.72.0.3965 + 1.72.0.3972 Google LLC Copyright 2025 Google LLC Google From f08d15f14d624da242833d82647a96adf239c2a5 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:56 +0000 Subject: [PATCH 044/106] feat: Generate Google.Apis.DiscoveryEngine.v1beta version 1.72.0.3972 --- DiscoveryJson/discoveryengine.v1beta.json | 798 ++++------- .../Google.Apis.DiscoveryEngine.v1beta.cs | 1269 +++++++---------- .../Google.Apis.DiscoveryEngine.v1beta.csproj | 2 +- 3 files changed, 857 insertions(+), 1212 deletions(-) diff --git a/DiscoveryJson/discoveryengine.v1beta.json b/DiscoveryJson/discoveryengine.v1beta.json index a68b7d2e358..5f8c8907774 100644 --- a/DiscoveryJson/discoveryengine.v1beta.json +++ b/DiscoveryJson/discoveryengine.v1beta.json @@ -141,49 +141,6 @@ }, "protocol": "rest", "resources": { - "media": { - "methods": { - "download": { - "description": "Downloads a file from the session.", - "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/sessions/{sessionsId}:downloadFile", - "httpMethod": "GET", - "id": "discoveryengine.media.download", - "parameterOrder": [ - "name" - ], - "parameters": { - "fileId": { - "description": "Required. The ID of the file to be downloaded.", - "location": "query", - "type": "string" - }, - "name": { - "description": "Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - "required": true, - "type": "string" - }, - "viewId": { - "description": "Optional. The ID of the view to be downloaded.", - "location": "query", - "type": "string" - } - }, - "path": "v1beta/{+name}:downloadFile", - "response": { - "$ref": "GdataMedia" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", - "https://www.googleapis.com/auth/discoveryengine.readwrite" - ], - "supportsMediaDownload": true, - "useMediaDownloadService": true - } - } - }, "projects": { "methods": { "provision": { @@ -604,7 +561,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1268,7 +1225,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1841,7 +1798,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1920,7 +1877,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2158,7 +2115,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2852,7 +2809,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3200,7 +3157,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3684,6 +3641,68 @@ "resources": { "assistants": { "methods": { + "create": { + "description": "Creates an Assistant.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", + "httpMethod": "POST", + "id": "discoveryengine.projects.locations.collections.engines.assistants.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "assistantId": { + "description": "Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/assistants", + "request": { + "$ref": "GoogleCloudDiscoveryengineV1betaAssistant" + }, + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaAssistant" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "delete": { + "description": "Deletes an Assistant.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", + "httpMethod": "DELETE", + "id": "discoveryengine.projects.locations.collections.engines.assistants.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` If the caller does not have permission to delete the Assistant, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a NOT_FOUND error is returned.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "GoogleProtobufEmpty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "get": { "description": "Gets an Assistant.", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", @@ -3711,6 +3730,44 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, + "list": { + "description": "Lists all Assistants under an Engine.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.collections.engines.assistants.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token ListAssistantsResponse.next_page_token, received from a previous AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAssistants must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+parent}/assistants", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1betaListAssistantsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, "patch": { "description": "Updates an Assistant", "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}", @@ -3777,6 +3834,42 @@ "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } + }, + "resources": { + "agents": { + "resources": { + "operations": { + "methods": { + "get": { + "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", + "flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/collections/{collectionsId}/engines/{enginesId}/assistants/{assistantsId}/agents/{agentsId}/operations/{operationsId}", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.collections.engines.assistants.agents.operations.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "The name of the operation resource.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta/{+name}", + "response": { + "$ref": "GoogleLongrunningOperation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + } + } + } + } + } } }, "completionConfig": { @@ -4268,7 +4361,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -4805,7 +4898,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -5440,7 +5533,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -5983,7 +6076,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -6062,7 +6155,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -7760,7 +7853,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -7938,7 +8031,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -8713,8 +8806,8 @@ "parent" ], "parameters": { - "filter": { - "description": "Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted login but no license assigned. * `license`_`assignment`_`state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned.", + "orderBy": { + "description": "Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a \" desc\" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order.", "location": "query", "type": "string" }, @@ -8813,7 +8906,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -8832,439 +8925,9 @@ } } }, - "revision": "20251109", + "revision": "20251116", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { - "GdataBlobstore2Info": { - "description": "Information to read/write to blobstore2.", - "id": "GdataBlobstore2Info", - "properties": { - "blobGeneration": { - "description": "The blob generation id.", - "format": "int64", - "type": "string" - }, - "blobId": { - "description": "The blob id, e.g., /blobstore/prod/playground/scotty", - "type": "string" - }, - "downloadReadHandle": { - "description": "Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.", - "format": "byte", - "type": "string" - }, - "readToken": { - "description": "The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.", - "type": "string" - }, - "uploadMetadataContainer": { - "description": "Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GdataCompositeMedia": { - "description": "A sequence of media data references representing composite data. Introduced to support Bigstore composite objects. For details, visit http://go/bigstore-composites.", - "id": "GdataCompositeMedia", - "properties": { - "blobRef": { - "deprecated": true, - "description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", - "format": "byte", - "type": "string" - }, - "blobstore2Info": { - "$ref": "GdataBlobstore2Info", - "description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." - }, - "cosmoBinaryReference": { - "description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", - "format": "byte", - "type": "string" - }, - "crc32cHash": { - "description": "crc32.c hash for the payload.", - "format": "uint32", - "type": "integer" - }, - "inline": { - "description": "Media data, set if reference_type is INLINE", - "format": "byte", - "type": "string" - }, - "length": { - "description": "Size of the data, in bytes", - "format": "int64", - "type": "string" - }, - "md5Hash": { - "description": "MD5 hash for the payload.", - "format": "byte", - "type": "string" - }, - "objectId": { - "$ref": "GdataObjectId", - "description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." - }, - "path": { - "description": "Path to the data, set if reference_type is PATH", - "type": "string" - }, - "referenceType": { - "description": "Describes what the field reference contains.", - "enum": [ - "PATH", - "BLOB_REF", - "INLINE", - "BIGSTORE_REF", - "COSMO_BINARY_REFERENCE" - ], - "enumDescriptions": [ - "Reference contains a GFS path or a local path.", - "Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", - "Data is included into this proto buffer", - "Reference points to a bigstore object", - "Indicates the data is stored in cosmo_binary_reference." - ], - "type": "string" - }, - "sha1Hash": { - "description": "SHA-1 hash for the payload.", - "format": "byte", - "type": "string" - } - }, - "type": "object" - }, - "GdataContentTypeInfo": { - "description": "Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the header or Scotty's best_guess, but this extended information provides the backend with more information so that it can make a better decision if needed. This is only used on media upload requests from Scotty.", - "id": "GdataContentTypeInfo", - "properties": { - "bestGuess": { - "description": "Scotty's best guess of what the content type of the file is.", - "type": "string" - }, - "fromBytes": { - "description": "The content type of the file derived by looking at specific bytes (i.e. \"magic bytes\") of the actual file.", - "type": "string" - }, - "fromFileName": { - "description": "The content type of the file derived from the file extension of the original file name used by the client.", - "type": "string" - }, - "fromHeader": { - "description": "The content type of the file as specified in the request headers, multipart headers, or RUPIO start request.", - "type": "string" - }, - "fromUrlPath": { - "description": "The content type of the file derived from the file extension of the URL path. The URL path is assumed to represent a file name (which is typically only true for agents that are providing a REST API).", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffChecksumsResponse": { - "description": "Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffChecksumsResponse", - "properties": { - "checksumsLocation": { - "$ref": "GdataCompositeMedia", - "description": "Exactly one of these fields must be populated. If checksums_location is filled, the server will return the corresponding contents to the user. If object_location is filled, the server will calculate the checksums based on the content there and return that to the user. For details on the format of the checksums, see http://go/scotty-diff-protocol." - }, - "chunkSizeBytes": { - "description": "The chunk size of checksums. Must be a multiple of 256KB.", - "format": "int64", - "type": "string" - }, - "objectLocation": { - "$ref": "GdataCompositeMedia", - "description": "If set, calculate the checksums based on the contents and return them to the caller." - }, - "objectSizeBytes": { - "description": "The total size of the server object.", - "format": "int64", - "type": "string" - }, - "objectVersion": { - "description": "The object version of the object the checksums are being returned for.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffDownloadResponse": { - "description": "Backend response for a Diff download response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffDownloadResponse", - "properties": { - "objectLocation": { - "$ref": "GdataCompositeMedia", - "description": "The original object location." - } - }, - "type": "object" - }, - "GdataDiffUploadRequest": { - "description": "A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffUploadRequest", - "properties": { - "checksumsInfo": { - "$ref": "GdataCompositeMedia", - "description": "The location of the checksums for the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received. For details on the format of the checksums, see http://go/scotty-diff-protocol." - }, - "objectInfo": { - "$ref": "GdataCompositeMedia", - "description": "The location of the new object. Agents must clone the object located here, as the upload server will delete the contents once a response is received." - }, - "objectVersion": { - "description": "The object version of the object that is the base version the incoming diff script will be applied to. This field will always be filled in.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDiffUploadResponse": { - "description": "Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffUploadResponse", - "properties": { - "objectVersion": { - "description": "The object version of the object at the server. Must be included in the end notification response. The version in the end notification response must correspond to the new version of the object that is now stored at the server, after the upload.", - "type": "string" - }, - "originalObject": { - "$ref": "GdataCompositeMedia", - "description": "The location of the original file for a diff upload request. Must be filled in if responding to an upload start notification." - } - }, - "type": "object" - }, - "GdataDiffVersionResponse": { - "description": "Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol.", - "id": "GdataDiffVersionResponse", - "properties": { - "objectSizeBytes": { - "description": "The total size of the server object.", - "format": "int64", - "type": "string" - }, - "objectVersion": { - "description": "The version of the object stored at the server.", - "type": "string" - } - }, - "type": "object" - }, - "GdataDownloadParameters": { - "description": "Parameters specific to media downloads.", - "id": "GdataDownloadParameters", - "properties": { - "allowGzipCompression": { - "description": "A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip the response to the client.", - "type": "boolean" - }, - "ignoreRange": { - "description": "Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to Scotty.", - "type": "boolean" - } - }, - "type": "object" - }, - "GdataMedia": { - "description": "A reference to data stored on the filesystem, on GFS or in blobstore.", - "id": "GdataMedia", - "properties": { - "algorithm": { - "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of 2011/01/21, \"MD5\" is the only possible value for this field. New values may be added at any time.", - "type": "string" - }, - "bigstoreObjectRef": { - "deprecated": true, - "description": "Use object_id instead.", - "format": "byte", - "type": "string" - }, - "blobRef": { - "deprecated": true, - "description": "Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will also be represented in this field as v1 BlobRef.", - "format": "byte", - "type": "string" - }, - "blobstore2Info": { - "$ref": "GdataBlobstore2Info", - "description": "Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob." - }, - "compositeMedia": { - "description": "A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media length field must be set to the sum of the lengths of all composite media objects. Note: All composite media must have length specified.", - "items": { - "$ref": "GdataCompositeMedia" - }, - "type": "array" - }, - "contentType": { - "description": "MIME type of the data", - "type": "string" - }, - "contentTypeInfo": { - "$ref": "GdataContentTypeInfo", - "description": "Extended content type information provided for Scotty uploads." - }, - "cosmoBinaryReference": { - "description": "A binary data reference for a media download. Serves as a technology-agnostic binary reference in some Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support JavaScript. This prevents us from including the actual type of this field.", - "format": "byte", - "type": "string" - }, - "crc32cHash": { - "description": "For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported.", - "format": "uint32", - "type": "integer" - }, - "diffChecksumsResponse": { - "$ref": "GdataDiffChecksumsResponse", - "description": "Set if reference_type is DIFF_CHECKSUMS_RESPONSE." - }, - "diffDownloadResponse": { - "$ref": "GdataDiffDownloadResponse", - "description": "Set if reference_type is DIFF_DOWNLOAD_RESPONSE." - }, - "diffUploadRequest": { - "$ref": "GdataDiffUploadRequest", - "description": "Set if reference_type is DIFF_UPLOAD_REQUEST." - }, - "diffUploadResponse": { - "$ref": "GdataDiffUploadResponse", - "description": "Set if reference_type is DIFF_UPLOAD_RESPONSE." - }, - "diffVersionResponse": { - "$ref": "GdataDiffVersionResponse", - "description": "Set if reference_type is DIFF_VERSION_RESPONSE." - }, - "downloadParameters": { - "$ref": "GdataDownloadParameters", - "description": "Parameters for a media download." - }, - "filename": { - "description": "Original file name", - "type": "string" - }, - "hash": { - "deprecated": true, - "description": "Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be populated on Scotty based media uploads and will contain the content of the hash group in the NotificationRequest: http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex encoded hash value of the uploaded media.", - "type": "string" - }, - "hashVerified": { - "description": "For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if the hashes don't match. This is set to true if Scotty performed this verification.", - "type": "boolean" - }, - "inline": { - "description": "Media data, set if reference_type is INLINE", - "format": "byte", - "type": "string" - }, - "isPotentialRetry": { - "description": "|is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain that it has never sent the request before due to potential failure in the session state persistence.", - "type": "boolean" - }, - "length": { - "description": "Size of the data, in bytes", - "format": "int64", - "type": "string" - }, - "md5Hash": { - "description": "Scotty-provided MD5 hash for an upload.", - "format": "byte", - "type": "string" - }, - "mediaId": { - "description": "Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA.", - "format": "byte", - "type": "string" - }, - "objectId": { - "$ref": "GdataObjectId", - "description": "Reference to a TI Blob, set if reference_type is BIGSTORE_REF." - }, - "path": { - "description": "Path to the data, set if reference_type is PATH", - "type": "string" - }, - "referenceType": { - "description": "Describes what the field reference contains.", - "enum": [ - "PATH", - "BLOB_REF", - "INLINE", - "GET_MEDIA", - "COMPOSITE_MEDIA", - "BIGSTORE_REF", - "DIFF_VERSION_RESPONSE", - "DIFF_CHECKSUMS_RESPONSE", - "DIFF_DOWNLOAD_RESPONSE", - "DIFF_UPLOAD_REQUEST", - "DIFF_UPLOAD_RESPONSE", - "COSMO_BINARY_REFERENCE", - "ARBITRARY_BYTES" - ], - "enumDescriptions": [ - "Reference contains a GFS path or a local path.", - "Reference points to a blobstore object. This could be either a v1 blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info first, since v1 is being deprecated.", - "Data is included into this proto buffer", - "Data should be accessed from the current service using the operation GetMedia.", - "The content for this media object is stored across multiple partial media objects under the composite_media field.", - "Reference points to a bigstore object", - "Indicates the data is stored in diff_version_response.", - "Indicates the data is stored in diff_checksums_response.", - "Indicates the data is stored in diff_download_response.", - "Indicates the data is stored in diff_upload_request.", - "Indicates the data is stored in diff_upload_response.", - "Indicates the data is stored in cosmo_binary_reference.", - "Informs Scotty to generate a response payload with the size specified in the length field. The contents of the payload are generated by Scotty and are undefined. This is useful for testing download speeds between the user and Scotty without involving a real payload source. Note: range is not supported when using arbitrary_bytes." - ], - "type": "string" - }, - "sha1Hash": { - "description": "Scotty-provided SHA1 hash for an upload.", - "format": "byte", - "type": "string" - }, - "sha256Hash": { - "description": "Scotty-provided SHA256 hash for an upload.", - "format": "byte", - "type": "string" - }, - "timestamp": { - "description": "Time at which the media data was last updated, in milliseconds since UNIX epoch", - "format": "uint64", - "type": "string" - }, - "token": { - "description": "A unique fingerprint/version id for the media data", - "type": "string" - } - }, - "type": "object" - }, - "GdataObjectId": { - "description": "This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure issues with JavaScript support; see http://b/8801763.", - "id": "GdataObjectId", - "properties": { - "bucketName": { - "description": "The name of the bucket to which this object belongs.", - "type": "string" - }, - "generation": { - "description": "Generation of the object. Generations are monotonically increasing across writes, allowing them to be be compared to determine which generation is newer. If this is omitted in a request, then you are requesting the live object. See http://go/bigstore-versions", - "format": "int64", - "type": "string" - }, - "objectName": { - "description": "The name of the object.", - "type": "string" - } - }, - "type": "object" - }, "GoogleApiDistribution": { "description": "`Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.", "id": "GoogleApiDistribution", @@ -9845,6 +9508,14 @@ "$ref": "GoogleCloudDiscoveryengineV1AssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "description": { + "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", + "type": "string" + }, + "displayName": { + "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.", + "type": "string" + }, "enabledTools": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1AssistantToolList" @@ -9959,10 +9630,21 @@ "description": "Configuration for the generation of the assistant response.", "id": "GoogleCloudDiscoveryengineV1AssistantGenerationConfig", "properties": { + "allowedModelIds": { + "description": "Optional. The list of models that are allowed to be used for assistant.", + "items": { + "type": "string" + }, + "type": "array" + }, "defaultLanguage": { "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.", "type": "string" }, + "defaultModelId": { + "description": "Optional. The default model to use for assistant.", + "type": "string" + }, "systemInstruction": { "$ref": "GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction", "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions" @@ -18833,6 +18515,13 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec" + }, + "type": "array" + }, "customFineTuningSpec": { "$ref": "GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec", "description": "Custom fine tuning configs. If set, it has higher priority than the configs set in ServingConfig.custom_fine_tuning_spec." @@ -18889,6 +18578,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -19320,6 +19016,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec", @@ -22127,6 +21853,14 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy", "description": "Optional. Customer policy for the assistant." }, + "description": { + "description": "Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant.", + "type": "string" + }, + "displayName": { + "description": "Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters.", + "type": "string" + }, "enabledTools": { "additionalProperties": { "$ref": "GoogleCloudDiscoveryengineV1betaAssistantToolList" @@ -22345,10 +22079,21 @@ "description": "Configuration for the generation of the assistant response.", "id": "GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig", "properties": { + "allowedModelIds": { + "description": "Optional. The list of models that are allowed to be used for assistant.", + "items": { + "type": "string" + }, + "type": "array" + }, "defaultLanguage": { "description": "The default language to use for the generation of the assistant response. Use an ISO 639-1 language code such as `en`. If not specified, the language will be automatically detected.", "type": "string" }, + "defaultModelId": { + "description": "Optional. The default model to use for assistant.", + "type": "string" + }, "systemInstruction": { "$ref": "GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction", "description": "System instruction, also known as the prompt preamble for LLM calls. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions" @@ -26276,6 +26021,24 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaListAssistantsResponse": { + "description": "Response message for the AssistantService.ListAssistants method.", + "id": "GoogleCloudDiscoveryengineV1betaListAssistantsResponse", + "properties": { + "assistants": { + "description": "All the customer's Assistants.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaAssistant" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse": { "description": "Response message for CmekConfigService.ListCmekConfigs method.", "id": "GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse", @@ -27852,6 +27615,13 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec", "description": "A specification for configuring the behavior of content search." }, + "crowdingSpecs": { + "description": "Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, crowding will be evaluated on each unique combination of the `field` values, and max_count will be the maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = \"color\" and `max_count` = 3, and the second CrowdingSpec has `field` = \"size\" and `max_count` = 2, then after 3 documents that share the same color AND size have been returned, subsequent ones should be removed or demoted.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec" + }, + "type": "array" + }, "dataStoreSpecs": { "description": "Specifications that define the specific DataStores to be searched, along with configurations for those data stores. This is only considered for Engines with multiple data stores. For engines with a single data store, the specs directly under SearchRequest should be used.", "items": { @@ -27904,6 +27674,13 @@ "description": "The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.", "type": "string" }, + "pageCategories": { + "description": "Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '>' character to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders Edition` where \"RTX > 4090\" represents one level, can be rewritten as `Graphics Cards > RTX_4090 > Founders Edition`", + "items": { + "type": "string" + }, + "type": "array" + }, "pageSize": { "description": "Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned.", "format": "int32", @@ -28331,6 +28108,36 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec": { + "description": "Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.", + "id": "GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec", + "properties": { + "field": { + "description": "The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.", + "type": "string" + }, + "maxCount": { + "description": "The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in `order_by`), later results with the same value are \"crowded away\". If not specified, the default value is 1.", + "format": "int32", + "type": "integer" + }, + "mode": { + "description": "Mode to use for documents that are crowded away.", + "enum": [ + "MODE_UNSPECIFIED", + "DROP_CROWDED_RESULTS", + "DEMOTE_CROWDED_RESULTS_TO_END" + ], + "enumDescriptions": [ + "Unspecified crowding mode. In this case, server behavior defaults to Mode.DROP_CROWDED_RESULTS.", + "Drop crowded results.", + "Demote crowded results to the later pages." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec": { "description": "A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.", "id": "GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec", @@ -30031,6 +29838,13 @@ "description": "A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.", "type": "string" }, + "invocationTools": { + "description": "The tool names of the tools that were invoked.", + "items": { + "type": "string" + }, + "type": "array" + }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo", "description": "Session information. Only included in the final StreamAssistResponse of the response stream." @@ -30666,7 +30480,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs index 21bcdbf5e6e..3791c84ff9e 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.cs @@ -34,7 +34,6 @@ public DiscoveryEngineService() : this(new Google.Apis.Services.BaseClientServic /// The service initializer. public DiscoveryEngineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { - Media = new MediaResource(this); Projects = new ProjectsResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://discoveryengine.googleapis.com/"); BatchUri = GetEffectiveUri(null, "https://discoveryengine.googleapis.com/batch"); @@ -110,9 +109,6 @@ public static class ScopeConstants public const string DiscoveryengineReadwrite = "https://www.googleapis.com/auth/discoveryengine.readwrite"; } - /// Gets the Media resource. - public virtual MediaResource Media { get; } - /// Gets the Projects resource. public virtual ProjectsResource Projects { get; } } @@ -298,182 +294,6 @@ protected override void InitParameters() } } - /// The "media" collection of methods. - public class MediaResource - { - private const string Resource = "media"; - - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; - - /// Constructs a new resource. - public MediaResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } - - /// Downloads a file from the session. - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - public virtual DownloadRequest Download(string name) - { - return new DownloadRequest(this.service, name); - } - - /// Downloads a file from the session. - public class DownloadRequest : DiscoveryEngineBaseServiceRequest - { - /// Constructs a new Download request. - public DownloadRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - MediaDownloader = new Google.Apis.Download.MediaDownloader(service); - InitParameters(); - } - - /// - /// Required. The resource name of the Session. Format: - /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` - /// - [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Name { get; private set; } - - /// Required. The ID of the file to be downloaded. - [Google.Apis.Util.RequestParameterAttribute("fileId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string FileId { get; set; } - - /// Optional. The ID of the view to be downloaded. - [Google.Apis.Util.RequestParameterAttribute("viewId", Google.Apis.Util.RequestParameterType.Query)] - public virtual string ViewId { get; set; } - - /// Gets the method name. - public override string MethodName => "download"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1beta/{+name}:downloadFile"; - - /// Initializes Download parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("name", new Google.Apis.Discovery.Parameter - { - Name = "name", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/sessions/[^/]+$", - }); - RequestParameters.Add("fileId", new Google.Apis.Discovery.Parameter - { - Name = "fileId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - RequestParameters.Add("viewId", new Google.Apis.Discovery.Parameter - { - Name = "viewId", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); - } - - /// Gets the media downloader. - public Google.Apis.Download.IMediaDownloader MediaDownloader { get; private set; } - - /// - /// Synchronously download the media into the given stream. - /// - /// Warning: This method hides download errors; use - /// instead. - /// - /// - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual void Download(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Synchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - /// The final status of the download; including whether the download succeeded or failed. - public virtual Google.Apis.Download.IDownloadProgress DownloadWithStatus(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadAsync(System.IO.Stream stream, - System.Threading.CancellationToken cancellationToken) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = null; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - - /// Synchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.Stream stream, System.Net.Http.Headers.RangeHeaderValue range) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.Download(this.GenerateRequestUri(), stream); - } - - /// Asynchronously download a range of the media into the given stream. - /// - /// This method uses the property to perform the download. Progress event - /// handlers and other configuration may be performed using that property prior to calling this method. - /// - public virtual System.Threading.Tasks.Task DownloadRangeAsync(System.IO.Stream stream, - System.Net.Http.Headers.RangeHeaderValue range, - System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) - { - var mediaDownloader = (Google.Apis.Download.MediaDownloader)MediaDownloader; - mediaDownloader.Range = range; - return mediaDownloader.DownloadAsync(this.GenerateRequestUri(), stream, cancellationToken); - } - } - } - /// The "projects" collection of methods. public class ProjectsResource { @@ -927,9 +747,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -1755,11 +1575,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -3163,11 +2983,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -3339,9 +3159,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -3532,11 +3352,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5128,11 +4948,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those - /// that are unreachable are returned in the [ListOperationsResponse.unreachable] field. - /// This can only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will - /// result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in - /// service or product specific documentation. + /// that are unreachable are returned in the ListOperationsResponse.unreachable field. + /// This can only be `true` when reading across collections. For example, when `parent` + /// is set to `"projects/example/locations/-"`. This field is not supported by default + /// and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -5519,9 +5339,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and /// those that are unreachable are returned in the - /// [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and + /// ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and /// will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// @@ -7509,6 +7329,227 @@ public class AssistantsResource public AssistantsResource(Google.Apis.Services.IClientService service) { this.service = service; + Agents = new AgentsResource(service); + } + + /// Gets the Agents resource. + public virtual AgentsResource Agents { get; } + + /// The "agents" collection of methods. + public class AgentsResource + { + private const string Resource = "agents"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public AgentsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Operations = new OperationsResource(service); + } + + /// Gets the Operations resource. + public virtual OperationsResource Operations { get; } + + /// The "operations" collection of methods. + public class OperationsResource + { + private const string Resource = "operations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public OperationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to + /// poll the operation result at intervals as recommended by the API service. + /// + /// The name of the operation resource. + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// + /// Gets the latest state of a long-running operation. Clients can use this method to + /// poll the operation result at intervals as recommended by the API service. + /// + public class GetRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// The name of the operation resource. + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+/agents/[^/]+/operations/[^/]+$", + }); + } + } + } + } + + /// Creates an Assistant. + /// The body of the request. + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + public virtual CreateRequest Create(Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaAssistant body, string parent) + { + return new CreateRequest(this.service, body, parent); + } + + /// Creates an Assistant. + public class CreateRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaAssistant body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the Assistant, which will become the final component of the + /// Assistant's resource name. This field must conform to + /// [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. + /// + [Google.Apis.Util.RequestParameterAttribute("assistantId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string AssistantId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.DiscoveryEngine.v1beta.Data.GoogleCloudDiscoveryengineV1betaAssistant Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "create"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+parent}/assistants"; + + /// Initializes Create parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + }); + RequestParameters.Add("assistantId", new Google.Apis.Discovery.Parameter + { + Name = "assistantId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes an Assistant. + /// + /// Required. Resource name of Assistant. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// If the caller does not have permission to delete the Assistant, regardless of whether or not + /// it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, + /// a NOT_FOUND error is returned. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(this.service, name); + } + + /// Deletes an Assistant. + public class DeleteRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Resource name of Assistant. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + /// If the caller does not have permission to delete the Assistant, regardless of whether or + /// not it exists, a PERMISSION_DENIED error is returned. If the Assistant to delete does + /// not exist, a NOT_FOUND error is returned. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "delete"; + + /// Gets the HTTP method. + public override string HttpMethod => "DELETE"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+name}"; + + /// Initializes Delete parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+/assistants/[^/]+$", + }); + } } /// Gets an Assistant. @@ -7562,6 +7603,89 @@ protected override void InitParameters() } } + /// Lists all Assistants under an Engine. + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists all Assistants under an Engine. + public class ListRequest : DiscoveryEngineBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent resource name. Format: + /// `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Maximum number of Assistants to return. If unspecified, defaults to 100. The maximum + /// allowed value is 1000; anything above that will be coerced down to 1000. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// A page token ListAssistantsResponse.next_page_token, received from a previous + /// AssistantService.ListAssistants call. Provide this to retrieve the subsequent page. When + /// paginating, all other parameters provided to ListAssistants must match the call that + /// provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1beta/{+parent}/assistants"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/collections/[^/]+/engines/[^/]+$", + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Updates an Assistant /// The body of the request. /// @@ -8800,9 +8924,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -10585,9 +10709,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -11409,9 +11533,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -12742,9 +12866,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that - /// are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can - /// only be `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result + /// are unreachable are returned in the ListOperationsResponse.unreachable field. This can + /// only be `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result /// in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or /// product specific documentation. /// @@ -12918,9 +13042,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -16874,9 +16998,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -17757,9 +17881,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -19284,15 +19408,20 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : public virtual string Parent { get; private set; } /// - /// Optional. Filter for the list request. Supported fields: * `license`_`assignment`_`state` * - /// `user_principal` * `user_profile` Examples: * `license`_`assignment`_`state = ASSIGNED` to - /// list assigned user licenses. * `license`_`assignment`_`state = NO_LICENSE` to list not - /// licensed users. * `license`_`assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users - /// who attempted login but no license assigned. * `license`_`assignment`_`state != - /// NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no license assigned. + /// Optional. The order in which the UserLicenses are listed. The value must be a + /// comma-separated list of fields. Default sorting order is ascending. To specify descending + /// order for a field, append a " desc" suffix. Redundant space characters in the syntax are + /// insignificant. Supported fields: * `license_assignment_state` * `user_principal` * + /// `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by + /// `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in + /// descending order. * `license_assignment_state` to order by `license_assignment_state` in + /// ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. + /// * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, + /// user_principal` to order by `last_login_date` in descending order and then by + /// `user_principal` in ascending order. /// - [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] - public virtual string Filter { get; set; } + [Google.Apis.Util.RequestParameterAttribute("orderBy", Google.Apis.Util.RequestParameterType.Query)] + public virtual string OrderBy { get; set; } /// /// Optional. Requested page size. Server may return fewer items than requested. If unspecified, @@ -19331,9 +19460,9 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/userStores/[^/]+$", }); - RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + RequestParameters.Add("orderBy", new Google.Apis.Discovery.Parameter { - Name = "filter", + Name = "orderBy", IsRequired = false, ParameterType = "query", DefaultValue = null, @@ -20241,10 +20370,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` - /// when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This - /// field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless - /// explicitly documented otherwise in service or product specific documentation. + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + /// when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + /// documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -20372,479 +20502,6 @@ protected override void InitParameters() } namespace Google.Apis.DiscoveryEngine.v1beta.Data { - /// Information to read/write to blobstore2. - public class GdataBlobstore2Info : Google.Apis.Requests.IDirectResponseSchema - { - /// The blob generation id. - [Newtonsoft.Json.JsonPropertyAttribute("blobGeneration")] - public virtual System.Nullable BlobGeneration { get; set; } - - /// The blob id, e.g., /blobstore/prod/playground/scotty - [Newtonsoft.Json.JsonPropertyAttribute("blobId")] - public virtual string BlobId { get; set; } - - /// - /// Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized - /// blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS - /// media downloads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("downloadReadHandle")] - public virtual string DownloadReadHandle { get; set; } - - /// - /// The blob read token. Needed to read blobs that have not been replicated. Might not be available until the - /// final call. - /// - [Newtonsoft.Json.JsonPropertyAttribute("readToken")] - public virtual string ReadToken { get; set; } - - /// - /// Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized - /// blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not - /// applicable to non-GCS media uploads. - /// - [Newtonsoft.Json.JsonPropertyAttribute("uploadMetadataContainer")] - public virtual string UploadMetadataContainer { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A sequence of media data references representing composite data. Introduced to support Bigstore composite - /// objects. For details, visit http://go/bigstore-composites. - /// - public class GdataCompositeMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a - /// blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will - /// also be represented in this field as v1 BlobRef. - /// - [Newtonsoft.Json.JsonPropertyAttribute("blobRef")] - public virtual string BlobRef { get; set; } - - /// Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. - [Newtonsoft.Json.JsonPropertyAttribute("blobstore2Info")] - public virtual GdataBlobstore2Info Blobstore2Info { get; set; } - - /// - /// A binary data reference for a media download. Serves as a technology-agnostic binary reference in some - /// Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes - /// is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support - /// JavaScript. This prevents us from including the actual type of this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cosmoBinaryReference")] - public virtual string CosmoBinaryReference { get; set; } - - /// crc32.c hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("crc32cHash")] - public virtual System.Nullable Crc32cHash { get; set; } - - /// Media data, set if reference_type is INLINE - [Newtonsoft.Json.JsonPropertyAttribute("inline")] - public virtual string Inline { get; set; } - - /// Size of the data, in bytes - [Newtonsoft.Json.JsonPropertyAttribute("length")] - public virtual System.Nullable Length { get; set; } - - /// MD5 hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("md5Hash")] - public virtual string Md5Hash { get; set; } - - /// Reference to a TI Blob, set if reference_type is BIGSTORE_REF. - [Newtonsoft.Json.JsonPropertyAttribute("objectId")] - public virtual GdataObjectId ObjectId { get; set; } - - /// Path to the data, set if reference_type is PATH - [Newtonsoft.Json.JsonPropertyAttribute("path")] - public virtual string Path { get; set; } - - /// Describes what the field reference contains. - [Newtonsoft.Json.JsonPropertyAttribute("referenceType")] - public virtual string ReferenceType { get; set; } - - /// SHA-1 hash for the payload. - [Newtonsoft.Json.JsonPropertyAttribute("sha1Hash")] - public virtual string Sha1Hash { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Detailed Content-Type information from Scotty. The Content-Type of the media will typically be filled in by the - /// header or Scotty's best_guess, but this extended information provides the backend with more information so that - /// it can make a better decision if needed. This is only used on media upload requests from Scotty. - /// - public class GdataContentTypeInfo : Google.Apis.Requests.IDirectResponseSchema - { - /// Scotty's best guess of what the content type of the file is. - [Newtonsoft.Json.JsonPropertyAttribute("bestGuess")] - public virtual string BestGuess { get; set; } - - /// - /// The content type of the file derived by looking at specific bytes (i.e. "magic bytes") of the actual file. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromBytes")] - public virtual string FromBytes { get; set; } - - /// - /// The content type of the file derived from the file extension of the original file name used by the client. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromFileName")] - public virtual string FromFileName { get; set; } - - /// - /// The content type of the file as specified in the request headers, multipart headers, or RUPIO start request. - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromHeader")] - public virtual string FromHeader { get; set; } - - /// - /// The content type of the file derived from the file extension of the URL path. The URL path is assumed to - /// represent a file name (which is typically only true for agents that are providing a REST API). - /// - [Newtonsoft.Json.JsonPropertyAttribute("fromUrlPath")] - public virtual string FromUrlPath { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff get checksums response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffChecksumsResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Exactly one of these fields must be populated. If checksums_location is filled, the server will return the - /// corresponding contents to the user. If object_location is filled, the server will calculate the checksums - /// based on the content there and return that to the user. For details on the format of the checksums, see - /// http://go/scotty-diff-protocol. - /// - [Newtonsoft.Json.JsonPropertyAttribute("checksumsLocation")] - public virtual GdataCompositeMedia ChecksumsLocation { get; set; } - - /// The chunk size of checksums. Must be a multiple of 256KB. - [Newtonsoft.Json.JsonPropertyAttribute("chunkSizeBytes")] - public virtual System.Nullable ChunkSizeBytes { get; set; } - - /// If set, calculate the checksums based on the contents and return them to the caller. - [Newtonsoft.Json.JsonPropertyAttribute("objectLocation")] - public virtual GdataCompositeMedia ObjectLocation { get; set; } - - /// The total size of the server object. - [Newtonsoft.Json.JsonPropertyAttribute("objectSizeBytes")] - public virtual System.Nullable ObjectSizeBytes { get; set; } - - /// The object version of the object the checksums are being returned for. - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff download response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffDownloadResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The original object location. - [Newtonsoft.Json.JsonPropertyAttribute("objectLocation")] - public virtual GdataCompositeMedia ObjectLocation { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// A Diff upload request. For details on the Scotty Diff protocol, visit http://go/scotty-diff-protocol. - /// - public class GdataDiffUploadRequest : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The location of the checksums for the new object. Agents must clone the object located here, as the upload - /// server will delete the contents once a response is received. For details on the format of the checksums, see - /// http://go/scotty-diff-protocol. - /// - [Newtonsoft.Json.JsonPropertyAttribute("checksumsInfo")] - public virtual GdataCompositeMedia ChecksumsInfo { get; set; } - - /// - /// The location of the new object. Agents must clone the object located here, as the upload server will delete - /// the contents once a response is received. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectInfo")] - public virtual GdataCompositeMedia ObjectInfo { get; set; } - - /// - /// The object version of the object that is the base version the incoming diff script will be applied to. This - /// field will always be filled in. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff upload request. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffUploadResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// The object version of the object at the server. Must be included in the end notification response. The - /// version in the end notification response must correspond to the new version of the object that is now stored - /// at the server, after the upload. - /// - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// - /// The location of the original file for a diff upload request. Must be filled in if responding to an upload - /// start notification. - /// - [Newtonsoft.Json.JsonPropertyAttribute("originalObject")] - public virtual GdataCompositeMedia OriginalObject { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// Backend response for a Diff get version response. For details on the Scotty Diff protocol, visit - /// http://go/scotty-diff-protocol. - /// - public class GdataDiffVersionResponse : Google.Apis.Requests.IDirectResponseSchema - { - /// The total size of the server object. - [Newtonsoft.Json.JsonPropertyAttribute("objectSizeBytes")] - public virtual System.Nullable ObjectSizeBytes { get; set; } - - /// The version of the object stored at the server. - [Newtonsoft.Json.JsonPropertyAttribute("objectVersion")] - public virtual string ObjectVersion { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// Parameters specific to media downloads. - public class GdataDownloadParameters : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content - /// when the server thinks it's advantageous (hence, does not guarantee compression) which allows Scotty to GZip - /// the response to the client. - /// - [Newtonsoft.Json.JsonPropertyAttribute("allowGzipCompression")] - public virtual System.Nullable AllowGzipCompression { get; set; } - - /// - /// Determining whether or not Apiary should skip the inclusion of any Content-Range header on its response to - /// Scotty. - /// - [Newtonsoft.Json.JsonPropertyAttribute("ignoreRange")] - public virtual System.Nullable IgnoreRange { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// A reference to data stored on the filesystem, on GFS or in blobstore. - public class GdataMedia : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Deprecated, use one of explicit hash type fields instead. Algorithm used for calculating the hash. As of - /// 2011/01/21, "MD5" is the only possible value for this field. New values may be added at any time. - /// - [Newtonsoft.Json.JsonPropertyAttribute("algorithm")] - public virtual string Algorithm { get; set; } - - /// Use object_id instead. - [Newtonsoft.Json.JsonPropertyAttribute("bigstoreObjectRef")] - public virtual string BigstoreObjectRef { get; set; } - - /// - /// Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte representation of a - /// blobstore.BlobRef. Since Blobstore is deprecating v1, use blobstore2_info instead. For now, any v2 blob will - /// also be represented in this field as v1 BlobRef. - /// - [Newtonsoft.Json.JsonPropertyAttribute("blobRef")] - public virtual string BlobRef { get; set; } - - /// Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob. - [Newtonsoft.Json.JsonPropertyAttribute("blobstore2Info")] - public virtual GdataBlobstore2Info Blobstore2Info { get; set; } - - /// - /// A composite media composed of one or more media objects, set if reference_type is COMPOSITE_MEDIA. The media - /// length field must be set to the sum of the lengths of all composite media objects. Note: All composite media - /// must have length specified. - /// - [Newtonsoft.Json.JsonPropertyAttribute("compositeMedia")] - public virtual System.Collections.Generic.IList CompositeMedia { get; set; } - - /// MIME type of the data - [Newtonsoft.Json.JsonPropertyAttribute("contentType")] - public virtual string ContentType { get; set; } - - /// Extended content type information provided for Scotty uploads. - [Newtonsoft.Json.JsonPropertyAttribute("contentTypeInfo")] - public virtual GdataContentTypeInfo ContentTypeInfo { get; set; } - - /// - /// A binary data reference for a media download. Serves as a technology-agnostic binary reference in some - /// Google infrastructure. This value is a serialized storage_cosmo.BinaryReference proto. Storing it as bytes - /// is a hack to get around the fact that the cosmo proto (as well as others it includes) doesn't support - /// JavaScript. This prevents us from including the actual type of this field. - /// - [Newtonsoft.Json.JsonPropertyAttribute("cosmoBinaryReference")] - public virtual string CosmoBinaryReference { get; set; } - - /// - /// For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT USE WITHOUT - /// PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify the data being - /// downloaded. Currently only supported for inline payloads. Further, only crc32c_hash is currently supported. - /// - [Newtonsoft.Json.JsonPropertyAttribute("crc32cHash")] - public virtual System.Nullable Crc32cHash { get; set; } - - /// Set if reference_type is DIFF_CHECKSUMS_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffChecksumsResponse")] - public virtual GdataDiffChecksumsResponse DiffChecksumsResponse { get; set; } - - /// Set if reference_type is DIFF_DOWNLOAD_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffDownloadResponse")] - public virtual GdataDiffDownloadResponse DiffDownloadResponse { get; set; } - - /// Set if reference_type is DIFF_UPLOAD_REQUEST. - [Newtonsoft.Json.JsonPropertyAttribute("diffUploadRequest")] - public virtual GdataDiffUploadRequest DiffUploadRequest { get; set; } - - /// Set if reference_type is DIFF_UPLOAD_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffUploadResponse")] - public virtual GdataDiffUploadResponse DiffUploadResponse { get; set; } - - /// Set if reference_type is DIFF_VERSION_RESPONSE. - [Newtonsoft.Json.JsonPropertyAttribute("diffVersionResponse")] - public virtual GdataDiffVersionResponse DiffVersionResponse { get; set; } - - /// Parameters for a media download. - [Newtonsoft.Json.JsonPropertyAttribute("downloadParameters")] - public virtual GdataDownloadParameters DownloadParameters { get; set; } - - /// Original file name - [Newtonsoft.Json.JsonPropertyAttribute("filename")] - public virtual string Filename { get; set; } - - /// - /// Deprecated, use one of explicit hash type fields instead. These two hash related fields will only be - /// populated on Scotty based media uploads and will contain the content of the hash group in the - /// NotificationRequest: - /// http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash Hex - /// encoded hash value of the uploaded media. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hash")] - public virtual string Hash { get; set; } - - /// - /// For Scotty uploads only. If a user sends a hash code and the backend has requested that Scotty verify the - /// upload against the client hash, Scotty will perform the check on behalf of the backend and will reject it if - /// the hashes don't match. This is set to true if Scotty performed this verification. - /// - [Newtonsoft.Json.JsonPropertyAttribute("hashVerified")] - public virtual System.Nullable HashVerified { get; set; } - - /// Media data, set if reference_type is INLINE - [Newtonsoft.Json.JsonPropertyAttribute("inline")] - public virtual string Inline { get; set; } - - /// - /// |is_potential_retry| is set false only when Scotty is certain that it has not sent the request before. When - /// a client resumes an upload, this field must be set true in agent calls, because Scotty cannot be certain - /// that it has never sent the request before due to potential failure in the session state persistence. - /// - [Newtonsoft.Json.JsonPropertyAttribute("isPotentialRetry")] - public virtual System.Nullable IsPotentialRetry { get; set; } - - /// Size of the data, in bytes - [Newtonsoft.Json.JsonPropertyAttribute("length")] - public virtual System.Nullable Length { get; set; } - - /// Scotty-provided MD5 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("md5Hash")] - public virtual string Md5Hash { get; set; } - - /// Media id to forward to the operation GetMedia. Can be set if reference_type is GET_MEDIA. - [Newtonsoft.Json.JsonPropertyAttribute("mediaId")] - public virtual string MediaId { get; set; } - - /// Reference to a TI Blob, set if reference_type is BIGSTORE_REF. - [Newtonsoft.Json.JsonPropertyAttribute("objectId")] - public virtual GdataObjectId ObjectId { get; set; } - - /// Path to the data, set if reference_type is PATH - [Newtonsoft.Json.JsonPropertyAttribute("path")] - public virtual string Path { get; set; } - - /// Describes what the field reference contains. - [Newtonsoft.Json.JsonPropertyAttribute("referenceType")] - public virtual string ReferenceType { get; set; } - - /// Scotty-provided SHA1 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("sha1Hash")] - public virtual string Sha1Hash { get; set; } - - /// Scotty-provided SHA256 hash for an upload. - [Newtonsoft.Json.JsonPropertyAttribute("sha256Hash")] - public virtual string Sha256Hash { get; set; } - - /// Time at which the media data was last updated, in milliseconds since UNIX epoch - [Newtonsoft.Json.JsonPropertyAttribute("timestamp")] - public virtual System.Nullable Timestamp { get; set; } - - /// A unique fingerprint/version id for the media data - [Newtonsoft.Json.JsonPropertyAttribute("token")] - public virtual string Token { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - - /// - /// This is a copy of the tech.blob.ObjectId proto, which could not be used directly here due to transitive closure - /// issues with JavaScript support; see http://b/8801763. - /// - public class GdataObjectId : Google.Apis.Requests.IDirectResponseSchema - { - /// The name of the bucket to which this object belongs. - [Newtonsoft.Json.JsonPropertyAttribute("bucketName")] - public virtual string BucketName { get; set; } - - /// - /// Generation of the object. Generations are monotonically increasing across writes, allowing them to be be - /// compared to determine which generation is newer. If this is omitted in a request, then you are requesting - /// the live object. See http://go/bigstore-versions - /// - [Newtonsoft.Json.JsonPropertyAttribute("generation")] - public virtual System.Nullable Generation { get; set; } - - /// The name of the object. - [Newtonsoft.Json.JsonPropertyAttribute("objectName")] - public virtual string ObjectName { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } - /// /// `Distribution` contains summary statistics for a population of values. It optionally contains a histogram /// representing the distribution of those values across a set of buckets. The summary statistics are the count, @@ -21606,6 +21263,20 @@ public class GoogleCloudDiscoveryengineV1Assistant : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("customerPolicy")] public virtual GoogleCloudDiscoveryengineV1AssistantCustomerPolicy CustomerPolicy { get; set; } + /// + /// Optional. Description for additional information. Expected to be shown on the configuration UI, not to the + /// users of the assistant. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// + /// Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + /// /// Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The /// keys are connector name, for example @@ -21712,6 +21383,10 @@ public class GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig /// Configuration for the generation of the assistant response. public class GoogleCloudDiscoveryengineV1AssistantGenerationConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. The list of models that are allowed to be used for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("allowedModelIds")] + public virtual System.Collections.Generic.IList AllowedModelIds { get; set; } + /// /// The default language to use for the generation of the assistant response. Use an ISO 639-1 language code /// such as `en`. If not specified, the language will be automatically detected. @@ -21719,6 +21394,10 @@ public class GoogleCloudDiscoveryengineV1AssistantGenerationConfig : Google.Apis [Newtonsoft.Json.JsonPropertyAttribute("defaultLanguage")] public virtual string DefaultLanguage { get; set; } + /// Optional. The default model to use for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("defaultModelId")] + public virtual string DefaultModelId { get; set; } + /// /// System instruction, also known as the prompt preamble for LLM calls. See also /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions @@ -35757,6 +35436,17 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequest : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Custom fine tuning configs. If set, it has higher priority than the configs set in /// ServingConfig.custom_fine_tuning_spec. @@ -35857,6 +35547,19 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequest : Google.Apis.Reques [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -36445,6 +36148,36 @@ public class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSumm public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -39907,6 +39640,20 @@ public class GoogleCloudDiscoveryengineV1betaAssistant : Google.Apis.Requests.ID [Newtonsoft.Json.JsonPropertyAttribute("customerPolicy")] public virtual GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy CustomerPolicy { get; set; } + /// + /// Optional. Description for additional information. Expected to be shown on the configuration UI, not to the + /// users of the assistant. + /// + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// + /// Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 + /// characters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("displayName")] + public virtual string DisplayName { get; set; } + /// /// Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The /// keys are connector name, for example @@ -40106,6 +39853,10 @@ public class GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorCo /// Configuration for the generation of the assistant response. public class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. The list of models that are allowed to be used for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("allowedModelIds")] + public virtual System.Collections.Generic.IList AllowedModelIds { get; set; } + /// /// The default language to use for the generation of the assistant response. Use an ISO 639-1 language code /// such as `en`. If not specified, the language will be automatically detected. @@ -40113,6 +39864,10 @@ public class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig : Google. [Newtonsoft.Json.JsonPropertyAttribute("defaultLanguage")] public virtual string DefaultLanguage { get; set; } + /// Optional. The default model to use for assistant. + [Newtonsoft.Json.JsonPropertyAttribute("defaultModelId")] + public virtual string DefaultModelId { get; set; } + /// /// System instruction, also known as the prompt preamble for LLM calls. See also /// https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions @@ -46014,6 +45769,24 @@ public class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats : Google.Ap public virtual string ETag { get; set; } } + /// Response message for the AssistantService.ListAssistants method. + public class GoogleCloudDiscoveryengineV1betaListAssistantsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// All the customer's Assistants. + [Newtonsoft.Json.JsonPropertyAttribute("assistants")] + public virtual System.Collections.Generic.IList Assistants { get; set; } + + /// + /// A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is + /// omitted, there are no subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response message for CmekConfigService.ListCmekConfigs method. public class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -48200,6 +47973,17 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("contentSearchSpec")] public virtual GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec ContentSearchSpec { get; set; } + /// + /// Optional. Crowding specifications for improving result diversity. If multiple CrowdingSpecs are specified, + /// crowding will be evaluated on each unique combination of the `field` values, and max_count will be the + /// maximum value of `max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec has `field` = + /// "color" and `max_count` = 3, and the second CrowdingSpec has `field` = "size" and `max_count` = 2, then + /// after 3 documents that share the same color AND size have been returned, subsequent ones should be removed + /// or demoted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("crowdingSpecs")] + public virtual System.Collections.Generic.IList CrowdingSpecs { get; set; } + /// /// Specifications that define the specific DataStores to be searched, along with configurations for those data /// stores. This is only considered for Engines with multiple data stores. For engines with a single data store, @@ -48293,6 +48077,19 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequest : Google.Apis.Request [Newtonsoft.Json.JsonPropertyAttribute("orderBy")] public virtual string OrderBy { get; set; } + /// + /// Optional. The categories associated with a category page. Must be set for category navigation queries to + /// achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field + /// is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query + /// is empty. If the field is empty, it will not be used by the browse model. To represent full path of a + /// category, use '>' character to separate different hierarchies. If '>' is part of the category + /// name, replace it with other character(s). For example, `Graphics Cards > RTX>4090 > + /// Founders Edition` where "RTX > 4090" represents one level, can be rewritten as `Graphics Cards + /// > RTX_4090 > Founders Edition` + /// + [Newtonsoft.Json.JsonPropertyAttribute("pageCategories")] + public virtual System.Collections.Generic.IList PageCategories { get; set; } + /// /// Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the /// maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. @@ -48873,6 +48670,36 @@ public class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSumma public virtual string ETag { get; set; } } + /// + /// Specification for crowding. Crowding improves the diversity of search results by limiting the number of results + /// that share the same field value. For example, crowding on the color field with a max_count of 3 and mode + /// DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages. + /// + public class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is + /// case sensitive. + /// + [Newtonsoft.Json.JsonPropertyAttribute("field")] + public virtual string Field { get; set; } + + /// + /// The maximum number of documents to keep per value of the field. Once there are at least max_count previous + /// results which contain the same value for the given field (according to the order specified in `order_by`), + /// later results with the same value are "crowded away". If not specified, the default value is 1. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxCount")] + public virtual System.Nullable MaxCount { get; set; } + + /// Mode to use for documents that are crowded away. + [Newtonsoft.Json.JsonPropertyAttribute("mode")] + public virtual string Mode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A struct to define data stores to filter on in a search call and configurations for those data stores. /// Otherwise, an `INVALID_ARGUMENT` error is returned. @@ -50861,6 +50688,10 @@ public class GoogleCloudDiscoveryengineV1betaStreamAssistResponse : Google.Apis. [Newtonsoft.Json.JsonPropertyAttribute("assistToken")] public virtual string AssistToken { get; set; } + /// The tool names of the tools that were invoked. + [Newtonsoft.Json.JsonPropertyAttribute("invocationTools")] + public virtual System.Collections.Generic.IList InvocationTools { get; set; } + /// /// Session information. Only included in the final StreamAssistResponse of the response stream. /// @@ -51957,8 +51788,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj index 76662ade583..1cbce8f29e0 100644 --- a/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj +++ b/Src/Generated/Google.Apis.DiscoveryEngine.v1beta/Google.Apis.DiscoveryEngine.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.DiscoveryEngine.v1beta Client Library - 1.72.0.3965 + 1.72.0.3972 Google LLC Copyright 2025 Google LLC Google From 03f321a86ccac942ef5dbf4377777d8e4ca423fc Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:24:58 +0000 Subject: [PATCH 045/106] feat: Generate Google.Apis.Docs.v1 version 1.72.0.3966 --- DiscoveryJson/docs.v1.json | 11 ++++------- .../Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs | 10 +++++----- .../Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/DiscoveryJson/docs.v1.json b/DiscoveryJson/docs.v1.json index 181847abf1d..28b73b9d253 100644 --- a/DiscoveryJson/docs.v1.json +++ b/DiscoveryJson/docs.v1.json @@ -221,7 +221,7 @@ } } }, - "revision": "20251022", + "revision": "20251110", "rootUrl": "https://docs.googleapis.com/", "schemas": { "AutoText": { @@ -3302,18 +3302,15 @@ "id": "RichLinkProperties", "properties": { "mimeType": { - "description": "Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if there's one (for example, when it's a file in Drive).", - "readOnly": true, + "description": "The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if there's one (for example, when it's a file in Drive).", "type": "string" }, "title": { - "description": "Output only. The title of the RichLink as displayed in the link. This title matches the title of the linked resource at the time of the insertion or last update of the link. This field is always present.", - "readOnly": true, + "description": "The title of the RichLink as displayed in the link. This title matches the title of the linked resource at the time of the insertion or last update of the link. This field is always present.", "type": "string" }, "uri": { - "description": "Output only. The URI to the RichLink. This is always present.", - "readOnly": true, + "description": "The URI to the RichLink. This is always present.", "type": "string" } }, diff --git a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs index b58cace73cb..1f688613e34 100644 --- a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs +++ b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.cs @@ -3862,20 +3862,20 @@ public class RichLink : Google.Apis.Requests.IDirectResponseSchema public class RichLinkProperties : Google.Apis.Requests.IDirectResponseSchema { /// - /// Output only. The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if - /// there's one (for example, when it's a file in Drive). + /// The [MIME type](https://developers.google.com/drive/api/v3/mime-types) of the RichLink, if there's one (for + /// example, when it's a file in Drive). /// [Newtonsoft.Json.JsonPropertyAttribute("mimeType")] public virtual string MimeType { get; set; } /// - /// Output only. The title of the RichLink as displayed in the link. This title matches the title of the linked - /// resource at the time of the insertion or last update of the link. This field is always present. + /// The title of the RichLink as displayed in the link. This title matches the title of the linked resource at + /// the time of the insertion or last update of the link. This field is always present. /// [Newtonsoft.Json.JsonPropertyAttribute("title")] public virtual string Title { get; set; } - /// Output only. The URI to the RichLink. This is always present. + /// The URI to the RichLink. This is always present. [Newtonsoft.Json.JsonPropertyAttribute("uri")] public virtual string Uri { get; set; } diff --git a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj index f4de87cbb4e..3dc6197903b 100644 --- a/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj +++ b/Src/Generated/Google.Apis.Docs.v1/Google.Apis.Docs.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Docs.v1 Client Library - 1.72.0.3947 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google From fb919adbee9d4a637b457f2b9affdd707573c9a2 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:01 +0000 Subject: [PATCH 046/106] feat: Generate Google.Apis.Drive.v2 version 1.72.0.3970 --- DiscoveryJson/drive.v2.json | 4 ++-- .../Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs | 16 ++++++++++++++-- .../Google.Apis.Drive.v2.csproj | 6 +++--- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/drive.v2.json b/DiscoveryJson/drive.v2.json index b55cebfd805..907b0255faa 100644 --- a/DiscoveryJson/drive.v2.json +++ b/DiscoveryJson/drive.v2.json @@ -3616,7 +3616,7 @@ ] }, "list": { - "description": "Lists a file's revisions.", + "description": "Lists a file's revisions. **Important:** The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision. The revision history visible in the Workspace editor user interface might be more complete than the list returned by the API.", "flatPath": "files/{fileId}/revisions", "httpMethod": "GET", "id": "drive.revisions.list", @@ -3893,7 +3893,7 @@ } } }, - "revision": "20250829", + "revision": "20251114", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs index e4297c25d9e..a11ebf56e9d 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.cs @@ -7969,14 +7969,26 @@ protected override void InitParameters() } } - /// Lists a file's revisions. + /// + /// Lists a file's revisions. **Important:** The list of revisions returned by this method might be incomplete + /// for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older + /// revisions might be omitted from the response, meaning the first revision returned may not be the oldest + /// existing revision. The revision history visible in the Workspace editor user interface might be more + /// complete than the list returned by the API. + /// /// The ID of the file. public virtual ListRequest List(string fileId) { return new ListRequest(this.service, fileId); } - /// Lists a file's revisions. + /// + /// Lists a file's revisions. **Important:** The list of revisions returned by this method might be incomplete + /// for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older + /// revisions might be omitted from the response, meaning the first revision returned may not be the oldest + /// existing revision. The revision history visible in the Workspace editor user interface might be more + /// complete than the list returned by the API. + /// public class ListRequest : DriveBaseServiceRequest { /// Constructs a new List request. diff --git a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj index e421b0acd28..5b42bcd8c47 100644 --- a/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj +++ b/Src/Generated/Google.Apis.Drive.v2/Google.Apis.Drive.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Drive.v2 Client Library - 1.70.0.3893 + 1.72.0.3970 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 776cb059945fcdc25f4dbb4d323c280be47ec6a0 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:03 +0000 Subject: [PATCH 047/106] feat: Generate Google.Apis.Drive.v3 version 1.72.0.3970 --- DiscoveryJson/drive.v3.json | 12 ++++----- .../Google.Apis.Drive.v3.cs | 26 +++++++++++++------ .../Google.Apis.Drive.v3.csproj | 2 +- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/DiscoveryJson/drive.v3.json b/DiscoveryJson/drive.v3.json index 7665bbb4520..34667a9c9e0 100644 --- a/DiscoveryJson/drive.v3.json +++ b/DiscoveryJson/drive.v3.json @@ -2479,7 +2479,7 @@ "useMediaDownloadService": true }, "list": { - "description": "Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions).", + "description": "Lists a file's revisions. For more information, see [Manage file revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The list of revisions returned by this method might be incomplete for files with a large revision history, including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the response, meaning the first revision returned may not be the oldest existing revision. The revision history visible in the Workspace editor user interface might be more complete than the list returned by the API.", "flatPath": "files/{fileId}/revisions", "httpMethod": "GET", "id": "drive.revisions.list", @@ -2720,7 +2720,7 @@ } } }, - "revision": "20251019", + "revision": "20251114", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -3230,7 +3230,7 @@ "type": "string" }, "assigneeEmailAddress": { - "description": "Output only. The email of the user who is assigned to this comment, if none is assigned this will be unset.", + "description": "Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset.", "readOnly": true, "type": "string" }, @@ -3271,7 +3271,7 @@ "type": "string" }, "mentionedEmailAddresses": { - "description": "Output only. The emails of the users who were mentioned in this comment, if none were mentioned this will be an empty list.", + "description": "Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty.", "items": { "type": "string" }, @@ -4782,7 +4782,7 @@ "type": "string" }, "assigneeEmailAddress": { - "description": "Output only. The email of the user who is assigned to this reply, if none is assigned this will be unset.", + "description": "Output only. The email address of the user assigned to this comment. If no user is assigned, the field is unset.", "readOnly": true, "type": "string" }, @@ -4822,7 +4822,7 @@ "type": "string" }, "mentionedEmailAddresses": { - "description": "Output only. The emails of the users who were mentioned in this reply, if none were mentioned this will be an empty list.", + "description": "Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the list is empty.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs index 096d1b6ff00..e2db77d166e 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.cs @@ -6013,7 +6013,11 @@ public virtual Google.Apis.Download.IDownloadProgress DownloadRange(System.IO.St /// /// Lists a file's revisions. For more information, see [Manage file - /// revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). + /// revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The + /// list of revisions returned by this method might be incomplete for files with a large revision history, + /// including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the + /// response, meaning the first revision returned may not be the oldest existing revision. The revision history + /// visible in the Workspace editor user interface might be more complete than the list returned by the API. /// /// The ID of the file. public virtual ListRequest List(string fileId) @@ -6023,7 +6027,11 @@ public virtual ListRequest List(string fileId) /// /// Lists a file's revisions. For more information, see [Manage file - /// revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). + /// revisions](https://developers.google.com/workspace/drive/api/guides/manage-revisions). **Important:** The + /// list of revisions returned by this method might be incomplete for files with a large revision history, + /// including frequently edited Google Docs, Sheets, and Slides. Older revisions might be omitted from the + /// response, meaning the first revision returned may not be the oldest existing revision. The revision history + /// visible in the Workspace editor user interface might be more complete than the list returned by the API. /// public class ListRequest : DriveBaseServiceRequest { @@ -7071,7 +7079,8 @@ public class Comment : Google.Apis.Requests.IDirectResponseSchema public virtual string Anchor { get; set; } /// - /// Output only. The email of the user who is assigned to this comment, if none is assigned this will be unset. + /// Output only. The email address of the user assigned to this comment. If no user is assigned, the field is + /// unset. /// [Newtonsoft.Json.JsonPropertyAttribute("assigneeEmailAddress")] public virtual string AssigneeEmailAddress { get; set; } @@ -7129,8 +7138,8 @@ public virtual System.DateTime? CreatedTime public virtual string Kind { get; set; } /// - /// Output only. The emails of the users who were mentioned in this comment, if none were mentioned this will be - /// an empty list. + /// Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the + /// list is empty. /// [Newtonsoft.Json.JsonPropertyAttribute("mentionedEmailAddresses")] public virtual System.Collections.Generic.IList MentionedEmailAddresses { get; set; } @@ -9179,7 +9188,8 @@ public class Reply : Google.Apis.Requests.IDirectResponseSchema public virtual string Action { get; set; } /// - /// Output only. The email of the user who is assigned to this reply, if none is assigned this will be unset. + /// Output only. The email address of the user assigned to this comment. If no user is assigned, the field is + /// unset. /// [Newtonsoft.Json.JsonPropertyAttribute("assigneeEmailAddress")] public virtual string AssigneeEmailAddress { get; set; } @@ -9237,8 +9247,8 @@ public virtual System.DateTime? CreatedTime public virtual string Kind { get; set; } /// - /// Output only. The emails of the users who were mentioned in this reply, if none were mentioned this will be - /// an empty list. + /// Output only. A list of email addresses for users mentioned in this comment. If no users are mentioned, the + /// list is empty. /// [Newtonsoft.Json.JsonPropertyAttribute("mentionedEmailAddresses")] public virtual System.Collections.Generic.IList MentionedEmailAddresses { get; set; } diff --git a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj index b1b3587e67d..88819c0988f 100644 --- a/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj +++ b/Src/Generated/Google.Apis.Drive.v3/Google.Apis.Drive.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Drive.v3 Client Library - 1.72.0.3944 + 1.72.0.3970 Google LLC Copyright 2025 Google LLC Google From 10920990445613a5f7fd221f2d40c2e6d90116a4 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:05 +0000 Subject: [PATCH 048/106] feat: Generate Google.Apis.FirebaseAppDistribution.v1 version 1.72.0.3969 --- DiscoveryJson/firebaseappdistribution.v1.json | 6 +++--- .../Google.Apis.FirebaseAppDistribution.v1.cs | 10 +++++----- .../Google.Apis.FirebaseAppDistribution.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/firebaseappdistribution.v1.json b/DiscoveryJson/firebaseappdistribution.v1.json index bcca7b599a8..765f2f0205d 100644 --- a/DiscoveryJson/firebaseappdistribution.v1.json +++ b/DiscoveryJson/firebaseappdistribution.v1.json @@ -548,7 +548,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -946,7 +946,7 @@ } } }, - "revision": "20251104", + "revision": "20251113", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "GdataBlobstore2Info": { @@ -1869,7 +1869,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs index bb128cb0341..134e26de3a8 100644 --- a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.cs @@ -982,9 +982,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -3432,8 +3432,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj index 5aecf4c517e..a70f504fd92 100644 --- a/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseAppDistribution.v1/Google.Apis.FirebaseAppDistribution.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseAppDistribution.v1 Client Library - 1.72.0.3960 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From eb26639b62627695bf309cfb2df60beb91923f0d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:07 +0000 Subject: [PATCH 049/106] feat: Generate Google.Apis.FirebaseAppHosting.v1 version 1.72.0.3969 --- DiscoveryJson/firebaseapphosting.v1.json | 6 +++--- .../Google.Apis.FirebaseAppHosting.v1.cs | 10 +++++----- .../Google.Apis.FirebaseAppHosting.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/firebaseapphosting.v1.json b/DiscoveryJson/firebaseapphosting.v1.json index 10625dfd2f4..d5e91733c1f 100644 --- a/DiscoveryJson/firebaseapphosting.v1.json +++ b/DiscoveryJson/firebaseapphosting.v1.json @@ -1086,7 +1086,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1106,7 +1106,7 @@ } } }, - "revision": "20251030", + "revision": "20251113", "rootUrl": "https://firebaseapphosting.googleapis.com/", "schemas": { "ArchiveSource": { @@ -2128,7 +2128,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.cs b/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.cs index 8fb89f0a11c..92f92fd019f 100644 --- a/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.cs @@ -2496,9 +2496,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -3971,8 +3971,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.csproj b/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.csproj index 9ef45330086..e1a62de2a10 100644 --- a/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseAppHosting.v1/Google.Apis.FirebaseAppHosting.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseAppHosting.v1 Client Library - 1.72.0.3955 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From eeeaeac65283ebe7baa406bed6c8a8822003a5ad Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:10 +0000 Subject: [PATCH 050/106] feat: Generate Google.Apis.FirebaseAppHosting.v1beta version 1.72.0.3969 --- DiscoveryJson/firebaseapphosting.v1beta.json | 6 +++--- .../Google.Apis.FirebaseAppHosting.v1beta.cs | 10 +++++----- .../Google.Apis.FirebaseAppHosting.v1beta.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/firebaseapphosting.v1beta.json b/DiscoveryJson/firebaseapphosting.v1beta.json index 65189509242..d8c5771e8a0 100644 --- a/DiscoveryJson/firebaseapphosting.v1beta.json +++ b/DiscoveryJson/firebaseapphosting.v1beta.json @@ -1083,7 +1083,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1103,7 +1103,7 @@ } } }, - "revision": "20251030", + "revision": "20251113", "rootUrl": "https://firebaseapphosting.googleapis.com/", "schemas": { "ArchiveSource": { @@ -2154,7 +2154,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.cs b/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.cs index e1966b132fc..4d4ff134be6 100644 --- a/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.cs +++ b/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.cs @@ -2488,9 +2488,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -4013,8 +4013,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.csproj b/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.csproj index 56fdfbbb38f..fa19c1f5757 100644 --- a/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.csproj +++ b/Src/Generated/Google.Apis.FirebaseAppHosting.v1beta/Google.Apis.FirebaseAppHosting.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseAppHosting.v1beta Client Library - 1.72.0.3955 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From dc9ef0431e8c77d2ad96f4156ab0f4a4480e0a21 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:12 +0000 Subject: [PATCH 051/106] feat: Generate Google.Apis.FirebaseML.v1 version 1.72.0.3972 --- DiscoveryJson/firebaseml.v1.json | 6 +++--- .../Google.Apis.FirebaseML.v1.cs | 10 +++++----- .../Google.Apis.FirebaseML.v1.csproj | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DiscoveryJson/firebaseml.v1.json b/DiscoveryJson/firebaseml.v1.json index 3de20a64cc3..9fe13351d7f 100644 --- a/DiscoveryJson/firebaseml.v1.json +++ b/DiscoveryJson/firebaseml.v1.json @@ -193,7 +193,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -209,7 +209,7 @@ } } }, - "revision": "20250929", + "revision": "20251116", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -240,7 +240,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs index 6af2814c7f4..5ad0ea94a70 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.cs @@ -437,9 +437,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are unreachable - /// are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by - /// default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is + /// not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] @@ -535,8 +535,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj index 098e94e0bfd..77668a96ce1 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v1/Google.Apis.FirebaseML.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v1 Client Library - 1.71.0.3924 + 1.72.0.3972 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 57bde60f3d0078ec756308d0f3446a9166b70377 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:14 +0000 Subject: [PATCH 052/106] feat: Generate Google.Apis.FirebaseML.v2beta version 1.72.0.3973 --- DiscoveryJson/firebaseml.v2beta.json | 122 +++++++++++++++++- .../Google.Apis.FirebaseML.v2beta.cs | 112 +++++++++++++++- .../Google.Apis.FirebaseML.v2beta.csproj | 2 +- 3 files changed, 232 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/firebaseml.v2beta.json b/DiscoveryJson/firebaseml.v2beta.json index 5a0a6e31372..e70cb45c9bc 100644 --- a/DiscoveryJson/firebaseml.v2beta.json +++ b/DiscoveryJson/firebaseml.v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20251022", + "revision": "20251117", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -870,6 +870,17 @@ "name": { "description": "Optional. The name of the function to call. Matches [FunctionDeclaration.name].", "type": "string" + }, + "partialArgs": { + "description": "Optional. The partial argument value of the function call. If provided, represents the arguments/fields that are streamed incrementally.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1PartialArg" + }, + "type": "array" + }, + "willContinue": { + "description": "Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the current FunctionCall is expected to follow.", + "type": "boolean" } }, "type": "object" @@ -902,6 +913,10 @@ "Model is constrained to predict either function calls or natural language response. If \"allowed_function_names\" are set, the predicted function calls will be limited to any one of \"allowed_function_names\", else the predicted function calls will be any one of the provided \"function_declarations\"." ], "type": "string" + }, + "streamFunctionCallArguments": { + "description": "Optional. When set to true, arguments of a single function call will be streamed out in multiple parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] field.", + "type": "boolean" } }, "type": "object" @@ -915,7 +930,7 @@ "type": "string" }, "name": { - "description": "Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64.", + "description": "Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64.", "type": "string" }, "parameters": { @@ -1471,6 +1486,20 @@ "description": "Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency.", "format": "int32", "type": "integer" + }, + "thinkingLevel": { + "description": "Optional. The number of thoughts tokens that the model should generate.", + "enum": [ + "THINKING_LEVEL_UNSPECIFIED", + "LOW", + "HIGH" + ], + "enumDescriptions": [ + "Unspecified thinking level.", + "Low thinking level.", + "High thinking level." + ], + "type": "string" } }, "type": "object" @@ -1734,6 +1763,10 @@ "$ref": "GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions", "description": "Optional. The image output format for generated images." }, + "imageSize": { + "description": "Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`.", + "type": "string" + }, "personGeneration": { "description": "Optional. Controls whether the model can generate people.", "enum": [ @@ -1914,6 +1947,10 @@ "$ref": "GoogleCloudAiplatformV1beta1Blob", "description": "Optional. The inline data content of the part. This can be used to include images, audio, or video in a request." }, + "mediaResolution": { + "$ref": "GoogleCloudAiplatformV1beta1PartMediaResolution", + "description": "per part media resolution. Media resolution for the input media." + }, "text": { "description": "Optional. The text content of the part.", "type": "string" @@ -1934,6 +1971,67 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1PartMediaResolution": { + "description": "per part media resolution. Media resolution for the input media.", + "id": "GoogleCloudAiplatformV1beta1PartMediaResolution", + "properties": { + "level": { + "description": "The tokenization quality used for given media.", + "enum": [ + "MEDIA_RESOLUTION_UNSPECIFIED", + "MEDIA_RESOLUTION_LOW", + "MEDIA_RESOLUTION_MEDIUM", + "MEDIA_RESOLUTION_HIGH" + ], + "enumDescriptions": [ + "Media resolution has not been set.", + "Media resolution set to low.", + "Media resolution set to medium.", + "Media resolution set to high." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1PartialArg": { + "description": "Partial argument value of the function call.", + "id": "GoogleCloudAiplatformV1beta1PartialArg", + "properties": { + "boolValue": { + "description": "Optional. Represents a boolean value.", + "type": "boolean" + }, + "jsonPath": { + "description": "Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. \"$.foo.bar[0].data\".", + "type": "string" + }, + "nullValue": { + "description": "Optional. Represents a null value.", + "enum": [ + "NULL_VALUE" + ], + "enumDescriptions": [ + "Null value." + ], + "type": "string" + }, + "numberValue": { + "description": "Optional. Represents a double value.", + "format": "double", + "type": "number" + }, + "stringValue": { + "description": "Optional. Represents a string value.", + "type": "string" + }, + "willContinue": { + "description": "Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig": { "description": "Configuration for a prebuilt voice.", "id": "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig", @@ -2071,6 +2169,22 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig": { + "description": "The configuration for the replicated voice to use.", + "id": "GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig", + "properties": { + "mimeType": { + "description": "Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k sampling rate.", + "type": "string" + }, + "voiceSampleAudio": { + "description": "Optional. The sample of the custom voice.", + "format": "byte", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1Retrieval": { "description": "Defines a retrieval tool that model can call to access external knowledge.", "id": "GoogleCloudAiplatformV1beta1Retrieval", @@ -2877,6 +2991,10 @@ "prebuiltVoiceConfig": { "$ref": "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig", "description": "The configuration for a prebuilt voice." + }, + "replicatedVoiceConfig": { + "$ref": "GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig", + "description": "Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio sample." } }, "type": "object" diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs index b5c2890d384..61606f10252 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.cs @@ -1141,6 +1141,20 @@ public class GoogleCloudAiplatformV1beta1FunctionCall : Google.Apis.Requests.IDi [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Optional. The partial argument value of the function call. If provided, represents the arguments/fields that + /// are streamed incrementally. + /// + [Newtonsoft.Json.JsonPropertyAttribute("partialArgs")] + public virtual System.Collections.Generic.IList PartialArgs { get; set; } + + /// + /// Optional. Whether this is the last part of the FunctionCall. If true, another partial message for the + /// current FunctionCall is expected to follow. + /// + [Newtonsoft.Json.JsonPropertyAttribute("willContinue")] + public virtual System.Nullable WillContinue { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -1160,6 +1174,14 @@ public class GoogleCloudAiplatformV1beta1FunctionCallingConfig : Google.Apis.Req [Newtonsoft.Json.JsonPropertyAttribute("mode")] public virtual string Mode { get; set; } + /// + /// Optional. When set to true, arguments of a single function call will be streamed out in multiple + /// parts/contents/responses. Partial parameter results will be returned in the [FunctionCall.partial_args] + /// field. + /// + [Newtonsoft.Json.JsonPropertyAttribute("streamFunctionCallArguments")] + public virtual System.Nullable StreamFunctionCallArguments { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -1181,7 +1203,7 @@ public class GoogleCloudAiplatformV1beta1FunctionDeclaration : Google.Apis.Reque /// /// Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, - /// 0-9, or contain underscores, dots and dashes, with a maximum length of 64. + /// 0-9, or contain underscores, dots, colons and dashes, with a maximum length of 64. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -1828,6 +1850,10 @@ public class GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig : Google [Newtonsoft.Json.JsonPropertyAttribute("thinkingBudget")] public virtual System.Nullable ThinkingBudget { get; set; } + /// Optional. The number of thoughts tokens that the model should generate. + [Newtonsoft.Json.JsonPropertyAttribute("thinkingLevel")] + public virtual string ThinkingLevel { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -2140,6 +2166,13 @@ public class GoogleCloudAiplatformV1beta1ImageConfig : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("imageOutputOptions")] public virtual GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions ImageOutputOptions { get; set; } + /// + /// Optional. Specifies the size of generated images. Supported values are `1K`, `2K`, `4K`. If not specified, + /// the model will use default value `1K`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("imageSize")] + public virtual string ImageSize { get; set; } + /// Optional. Controls whether the model can generate people. [Newtonsoft.Json.JsonPropertyAttribute("personGeneration")] public virtual string PersonGeneration { get; set; } @@ -2339,6 +2372,10 @@ public class GoogleCloudAiplatformV1beta1Part : Google.Apis.Requests.IDirectResp [Newtonsoft.Json.JsonPropertyAttribute("inlineData")] public virtual GoogleCloudAiplatformV1beta1Blob InlineData { get; set; } + /// per part media resolution. Media resolution for the input media. + [Newtonsoft.Json.JsonPropertyAttribute("mediaResolution")] + public virtual GoogleCloudAiplatformV1beta1PartMediaResolution MediaResolution { get; set; } + /// Optional. The text content of the part. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual string Text { get; set; } @@ -2364,6 +2401,54 @@ public class GoogleCloudAiplatformV1beta1Part : Google.Apis.Requests.IDirectResp public virtual string ETag { get; set; } } + /// per part media resolution. Media resolution for the input media. + public class GoogleCloudAiplatformV1beta1PartMediaResolution : Google.Apis.Requests.IDirectResponseSchema + { + /// The tokenization quality used for given media. + [Newtonsoft.Json.JsonPropertyAttribute("level")] + public virtual string Level { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Partial argument value of the function call. + public class GoogleCloudAiplatformV1beta1PartialArg : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Represents a boolean value. + [Newtonsoft.Json.JsonPropertyAttribute("boolValue")] + public virtual System.Nullable BoolValue { get; set; } + + /// + /// Required. A JSON Path (RFC 9535) to the argument being streamed. + /// https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data". + /// + [Newtonsoft.Json.JsonPropertyAttribute("jsonPath")] + public virtual string JsonPath { get; set; } + + /// Optional. Represents a null value. + [Newtonsoft.Json.JsonPropertyAttribute("nullValue")] + public virtual string NullValue { get; set; } + + /// Optional. Represents a double value. + [Newtonsoft.Json.JsonPropertyAttribute("numberValue")] + public virtual System.Nullable NumberValue { get; set; } + + /// Optional. Represents a string value. + [Newtonsoft.Json.JsonPropertyAttribute("stringValue")] + public virtual string StringValue { get; set; } + + /// + /// Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for + /// the current json_path is expected to follow. + /// + [Newtonsoft.Json.JsonPropertyAttribute("willContinue")] + public virtual System.Nullable WillContinue { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Configuration for a prebuilt voice. public class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -2502,6 +2587,24 @@ public class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService : public virtual string ETag { get; set; } } + /// The configuration for the replicated voice to use. + public class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw + /// mono 16-bit signed little-endian pcm data, with 24k sampling rate. + /// + [Newtonsoft.Json.JsonPropertyAttribute("mimeType")] + public virtual string MimeType { get; set; } + + /// Optional. The sample of the custom voice. + [Newtonsoft.Json.JsonPropertyAttribute("voiceSampleAudio")] + public virtual string VoiceSampleAudio { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Defines a retrieval tool that model can call to access external knowledge. public class GoogleCloudAiplatformV1beta1Retrieval : Google.Apis.Requests.IDirectResponseSchema { @@ -3188,6 +3291,13 @@ public class GoogleCloudAiplatformV1beta1VoiceConfig : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("prebuiltVoiceConfig")] public virtual GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig PrebuiltVoiceConfig { get; set; } + /// + /// Optional. The configuration for a replicated voice. This enables users to replicate a voice from an audio + /// sample. + /// + [Newtonsoft.Json.JsonPropertyAttribute("replicatedVoiceConfig")] + public virtual GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig ReplicatedVoiceConfig { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj index 13fcac12449..c9826f6b062 100644 --- a/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj +++ b/Src/Generated/Google.Apis.FirebaseML.v2beta/Google.Apis.FirebaseML.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.FirebaseML.v2beta Client Library - 1.72.0.3947 + 1.72.0.3973 Google LLC Copyright 2025 Google LLC Google From b1aae79ac15e2d24b535044ffb950acbc6b245be Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:16 +0000 Subject: [PATCH 053/106] feat: Generate Google.Apis.Firestore.v1 version 1.72.0.3967 --- DiscoveryJson/firestore.v1.json | 6 +++--- .../Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs | 8 ++++---- .../Google.Apis.Firestore.v1.csproj | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/DiscoveryJson/firestore.v1.json b/DiscoveryJson/firestore.v1.json index 8adec12139b..c219682054c 100644 --- a/DiscoveryJson/firestore.v1.json +++ b/DiscoveryJson/firestore.v1.json @@ -2416,7 +2416,7 @@ } } }, - "revision": "20251026", + "revision": "20251111", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { @@ -3783,7 +3783,7 @@ "id": "GoogleFirestoreAdminV1ExportDocumentsRequest", "properties": { "collectionIds": { - "description": "Which collection IDs to export. Unspecified means all collections. Each collection ID in this list must be unique.", + "description": "IDs of the collection groups to export. Unspecified means all collection groups. Each collection group in this list must be unique.", "items": { "type": "string" }, @@ -3986,7 +3986,7 @@ "id": "GoogleFirestoreAdminV1ImportDocumentsRequest", "properties": { "collectionIds": { - "description": "Which collection IDs to import. Unspecified means all collections included in the import. Each collection ID in this list must be unique.", + "description": "IDs of the collection groups to import. Unspecified means all collection groups that were included in the export. Each collection group in this list must be unique.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs index 75d13642e03..14e9d2a8120 100644 --- a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs +++ b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.cs @@ -6707,8 +6707,8 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset public class GoogleFirestoreAdminV1ExportDocumentsRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// Which collection IDs to export. Unspecified means all collections. Each collection ID in this list must be - /// unique. + /// IDs of the collection groups to export. Unspecified means all collection groups. Each collection group in + /// this list must be unique. /// [Newtonsoft.Json.JsonPropertyAttribute("collectionIds")] public virtual System.Collections.Generic.IList CollectionIds { get; set; } @@ -7065,8 +7065,8 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset public class GoogleFirestoreAdminV1ImportDocumentsRequest : Google.Apis.Requests.IDirectResponseSchema { /// - /// Which collection IDs to import. Unspecified means all collections included in the import. Each collection ID - /// in this list must be unique. + /// IDs of the collection groups to import. Unspecified means all collection groups that were included in the + /// export. Each collection group in this list must be unique. /// [Newtonsoft.Json.JsonPropertyAttribute("collectionIds")] public virtual System.Collections.Generic.IList CollectionIds { get; set; } diff --git a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj index af307d5c36b..8a57cde5123 100644 --- a/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj +++ b/Src/Generated/Google.Apis.Firestore.v1/Google.Apis.Firestore.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Firestore.v1 Client Library - 1.72.0.3951 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From 43061292bf5a4a5a1a7ac2bab843cc59a82ae9f7 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:19 +0000 Subject: [PATCH 054/106] feat: Generate Google.Apis.BackupforGKE.v1 version 1.72.0.3952 --- DiscoveryJson/gkebackup.v1.json | 4 ++-- .../Google.Apis.BackupforGKE.v1.cs | 4 ++-- .../Google.Apis.BackupforGKE.v1.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/gkebackup.v1.json b/DiscoveryJson/gkebackup.v1.json index da9176a1188..c9f9a1dcb69 100644 --- a/DiscoveryJson/gkebackup.v1.json +++ b/DiscoveryJson/gkebackup.v1.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -2232,7 +2232,7 @@ } } }, - "revision": "20251001", + "revision": "20251027", "rootUrl": "https://gkebackup.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs index a2ea494b060..2019266721f 100644 --- a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs +++ b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.cs @@ -5178,8 +5178,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj index 630f2e5a4ae..d29492de41a 100644 --- a/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj +++ b/Src/Generated/Google.Apis.BackupforGKE.v1/Google.Apis.BackupforGKE.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.BackupforGKE.v1 Client Library - 1.72.0.3926 + 1.72.0.3952 Google LLC Copyright 2025 Google LLC Google From 0db5467889b7f215cbebd4805b8d4407df46185b Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:21 +0000 Subject: [PATCH 055/106] feat: Generate Google.Apis.GKEHub.v1alpha version 1.72.0.3964 --- DiscoveryJson/gkehub.v1alpha.json | 4 ++-- .../Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs | 2 +- .../Google.Apis.GKEHub.v1alpha.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/gkehub.v1alpha.json b/DiscoveryJson/gkehub.v1alpha.json index de3e158b6cd..7257a95c0a0 100644 --- a/DiscoveryJson/gkehub.v1alpha.json +++ b/DiscoveryJson/gkehub.v1alpha.json @@ -2498,7 +2498,7 @@ } } }, - "revision": "20251103", + "revision": "20251108", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -4559,7 +4559,7 @@ "type": "object" }, "FeatureUpdate": { - "description": "LINT.IfChange Feature config to use for Rollout.", + "description": "Feature config to use for Rollout.", "id": "FeatureUpdate", "properties": { "binaryAuthorizationConfig": { diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs index 83d05429915..483c7f0cea4 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.cs @@ -8019,7 +8019,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// LINT.IfChange Feature config to use for Rollout. + /// Feature config to use for Rollout. public class FeatureUpdate : Google.Apis.Requests.IDirectResponseSchema { /// Optional. Configuration for Binary Authorization. diff --git a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj index 1584534589e..6477f7889ca 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1alpha/Google.Apis.GKEHub.v1alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1alpha Client Library - 1.72.0.3959 + 1.72.0.3964 Google LLC Copyright 2025 Google LLC Google From 23e6d03f904174dbeeb223ec25077f3844eed994 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:23 +0000 Subject: [PATCH 056/106] feat: Generate Google.Apis.GKEHub.v1beta version 1.72.0.3964 --- DiscoveryJson/gkehub.v1beta.json | 4 ++-- .../Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs | 2 +- .../Google.Apis.GKEHub.v1beta.csproj | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/gkehub.v1beta.json b/DiscoveryJson/gkehub.v1beta.json index f2779259316..fec73d2fbdb 100644 --- a/DiscoveryJson/gkehub.v1beta.json +++ b/DiscoveryJson/gkehub.v1beta.json @@ -2354,7 +2354,7 @@ } } }, - "revision": "20251103", + "revision": "20251108", "rootUrl": "https://gkehub.googleapis.com/", "schemas": { "AppDevExperienceFeatureSpec": { @@ -4262,7 +4262,7 @@ "type": "object" }, "FeatureUpdate": { - "description": "LINT.IfChange Feature config to use for Rollout.", + "description": "Feature config to use for Rollout.", "id": "FeatureUpdate", "properties": { "binaryAuthorizationConfig": { diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs index 374860292e1..492e6f018a1 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs +++ b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.cs @@ -7520,7 +7520,7 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string ETag { get; set; } } - /// LINT.IfChange Feature config to use for Rollout. + /// Feature config to use for Rollout. public class FeatureUpdate : Google.Apis.Requests.IDirectResponseSchema { /// Optional. Configuration for Binary Authorization. diff --git a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj index 2c0186867cb..4603e56dd04 100644 --- a/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj +++ b/Src/Generated/Google.Apis.GKEHub.v1beta/Google.Apis.GKEHub.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEHub.v1beta Client Library - 1.72.0.3959 + 1.72.0.3964 Google LLC Copyright 2025 Google LLC Google From 29a4712ccc6f9fe3da91a04a06002e58f878584a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:25 +0000 Subject: [PATCH 057/106] feat: Generate Google.Apis.GKEOnPrem.v1 version 1.72.0.3961 --- DiscoveryJson/gkeonprem.v1.json | 138 ++++++++++++- .../Google.Apis.GKEOnPrem.v1.cs | 182 ++++++++++++++++++ .../Google.Apis.GKEOnPrem.v1.csproj | 2 +- 3 files changed, 320 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/gkeonprem.v1.json b/DiscoveryJson/gkeonprem.v1.json index 10fb62b443a..2d52c3219ea 100644 --- a/DiscoveryJson/gkeonprem.v1.json +++ b/DiscoveryJson/gkeonprem.v1.json @@ -1766,6 +1766,12 @@ "required": true, "type": "string" }, + "skipValidations": { + "description": "Optional. If set, skip the specified validations.", + "location": "query", + "repeated": true, + "type": "string" + }, "validateOnly": { "description": "Validate the request without actually doing any updates.", "location": "query", @@ -1964,6 +1970,12 @@ "required": true, "type": "string" }, + "skipValidations": { + "description": "Optional. If set, the server-side preflight checks will be skipped.", + "location": "query", + "repeated": true, + "type": "string" + }, "updateMask": { "description": "Required. Field mask is used to specify the fields to be overwritten in the VMwareAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.", "format": "google-fieldmask", @@ -2190,6 +2202,12 @@ "required": true, "type": "string" }, + "skipValidations": { + "description": "Optional. List of validations to skip during cluster creation.", + "location": "query", + "repeated": true, + "type": "string" + }, "validateOnly": { "description": "Validate the request without actually doing any updates.", "location": "query", @@ -2443,6 +2461,11 @@ "required": true, "type": "string" }, + "skipValidations": { + "location": "query", + "repeated": true, + "type": "string" + }, "updateMask": { "description": "Required. Field mask is used to specify the fields to be overwritten in the VMwareCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareCluster message will be updated. Empty fields will be ignored unless a field mask is used.", "format": "google-fieldmask", @@ -3140,7 +3163,7 @@ } } }, - "revision": "20251022", + "revision": "20251105", "rootUrl": "https://gkeonprem.googleapis.com/", "schemas": { "Authorization": { @@ -3172,6 +3195,59 @@ }, "type": "object" }, + "BareMetalAdminBgpLbConfig": { + "description": "BareMetalAdminBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer.", + "id": "BareMetalAdminBgpLbConfig", + "properties": { + "addressPools": { + "description": "Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All addresses must be routable to load balancer nodes. IngressVIP must be included in the pools.", + "items": { + "$ref": "BareMetalAdminLoadBalancerAddressPool" + }, + "type": "array" + }, + "asn": { + "description": "Required. BGP autonomous system number (ASN) of the cluster. This field can be updated after cluster creation.", + "format": "int64", + "type": "string" + }, + "bgpPeerConfigs": { + "description": "Required. The list of BGP peers that the cluster will connect to. At least one peer must be configured for each control plane node. Control plane nodes will connect to these peers to advertise the control plane VIP. The Services load balancer also uses these peers by default. This field can be updated after cluster creation.", + "items": { + "$ref": "BareMetalAdminBgpPeerConfig" + }, + "type": "array" + }, + "loadBalancerNodePoolConfig": { + "$ref": "BareMetalAdminLoadBalancerNodePoolConfig", + "description": "Specifies the node pool running data plane load balancing. L2 connectivity is required among nodes in this pool. If missing, the control plane node pool is used for data plane load balancing." + } + }, + "type": "object" + }, + "BareMetalAdminBgpPeerConfig": { + "description": "BareMetalAdminBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer.", + "id": "BareMetalAdminBgpPeerConfig", + "properties": { + "asn": { + "description": "Required. BGP autonomous system number (ASN) for the network that contains the external peer device.", + "format": "int64", + "type": "string" + }, + "controlPlaneNodes": { + "description": "The IP address of the control plane node that connects to the external peer. If you don't specify any control plane nodes, all control plane nodes can connect to the external peer. If you specify one or more IP addresses, only the nodes specified participate in peering sessions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "ipAddress": { + "description": "Required. The IP address of the external peer device.", + "type": "string" + } + }, + "type": "object" + }, "BareMetalAdminCluster": { "description": "Resource that represents a bare metal admin cluster.", "id": "BareMetalAdminCluster", @@ -3419,10 +3495,40 @@ }, "type": "object" }, + "BareMetalAdminLoadBalancerAddressPool": { + "description": "Represents an IP pool used by the load balancer.", + "id": "BareMetalAdminLoadBalancerAddressPool", + "properties": { + "addresses": { + "description": "Required. The addresses that are part of this pool. Each address must be either in the CIDR form (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5).", + "items": { + "type": "string" + }, + "type": "array" + }, + "avoidBuggyIps": { + "description": "If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer devices mistakenly dropping IPv4 traffic for those special IP addresses.", + "type": "boolean" + }, + "manualAssign": { + "description": "If true, prevent IP addresses from being automatically assigned.", + "type": "boolean" + }, + "pool": { + "description": "Required. The name of the address pool.", + "type": "string" + } + }, + "type": "object" + }, "BareMetalAdminLoadBalancerConfig": { "description": "BareMetalAdminLoadBalancerConfig specifies the load balancer configuration.", "id": "BareMetalAdminLoadBalancerConfig", "properties": { + "bgpLbConfig": { + "$ref": "BareMetalAdminBgpLbConfig", + "description": "Configuration for BGP typed load balancers." + }, "manualLbConfig": { "$ref": "BareMetalAdminManualLbConfig", "description": "Manually configured load balancers." @@ -3438,6 +3544,17 @@ }, "type": "object" }, + "BareMetalAdminLoadBalancerNodePoolConfig": { + "description": "Specifies the load balancer's node pool configuration.", + "id": "BareMetalAdminLoadBalancerNodePoolConfig", + "properties": { + "nodePoolConfig": { + "$ref": "BareMetalNodePoolConfig", + "description": "The generic configuration for a node pool running a load balancer." + } + }, + "type": "object" + }, "BareMetalAdminMachineDrainStatus": { "description": "BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain operations.", "id": "BareMetalAdminMachineDrainStatus", @@ -3495,13 +3612,32 @@ }, "type": "object" }, + "BareMetalAdminMultipleNetworkInterfacesConfig": { + "description": "Specifies the multiple networking interfaces cluster configuration.", + "id": "BareMetalAdminMultipleNetworkInterfacesConfig", + "properties": { + "enabled": { + "description": "Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is automatically set to true.", + "type": "boolean" + } + }, + "type": "object" + }, "BareMetalAdminNetworkConfig": { "description": "BareMetalAdminNetworkConfig specifies the cluster network configuration.", "id": "BareMetalAdminNetworkConfig", "properties": { + "advancedNetworking": { + "description": "Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag.", + "type": "boolean" + }, "islandModeCidr": { "$ref": "BareMetalAdminIslandModeCidrConfig", "description": "Configuration for Island mode CIDR." + }, + "multipleNetworkInterfacesConfig": { + "$ref": "BareMetalAdminMultipleNetworkInterfacesConfig", + "description": "Configuration for multiple network interfaces." } }, "type": "object" diff --git a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs index 2d0edfda1e3..0ae452c5a73 100644 --- a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs +++ b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.cs @@ -4318,6 +4318,10 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.GK [Google.Apis.Util.RequestParameterAttribute("allowPreflightFailure", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable AllowPreflightFailure { get; set; } + /// Optional. If set, skip the specified validations. + [Google.Apis.Util.RequestParameterAttribute("skipValidations", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable SkipValidations { get; set; } + /// Validate the request without actually doing any updates. [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ValidateOnly { get; set; } @@ -4365,6 +4369,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("skipValidations", new Google.Apis.Discovery.Parameter + { + Name = "skipValidations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter { Name = "validateOnly", @@ -4798,6 +4810,10 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.GKE [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + /// Optional. If set, the server-side preflight checks will be skipped. + [Google.Apis.Util.RequestParameterAttribute("skipValidations", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable SkipValidations { get; set; } + /// /// Required. Field mask is used to specify the fields to be overwritten in the VMwareAdminCluster /// resource by the update. The fields specified in the update_mask are relative to the resource, @@ -4839,6 +4855,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/vmwareAdminClusters/[^/]+$", }); + RequestParameters.Add("skipValidations", new Google.Apis.Discovery.Parameter + { + Name = "skipValidations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", @@ -6418,6 +6442,10 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.GK [Google.Apis.Util.RequestParameterAttribute("allowPreflightFailure", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable AllowPreflightFailure { get; set; } + /// Optional. List of validations to skip during cluster creation. + [Google.Apis.Util.RequestParameterAttribute("skipValidations", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable SkipValidations { get; set; } + /// Validate the request without actually doing any updates. [Google.Apis.Util.RequestParameterAttribute("validateOnly", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ValidateOnly { get; set; } @@ -6464,6 +6492,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("skipValidations", new Google.Apis.Discovery.Parameter + { + Name = "skipValidations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("validateOnly", new Google.Apis.Discovery.Parameter { Name = "validateOnly", @@ -7034,6 +7070,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.GKE [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } + [Google.Apis.Util.RequestParameterAttribute("skipValidations", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable SkipValidations { get; set; } + /// /// Required. Field mask is used to specify the fields to be overwritten in the VMwareCluster /// resource by the update. The fields specified in the update_mask are relative to the resource, @@ -7075,6 +7114,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^projects/[^/]+/locations/[^/]+/vmwareClusters/[^/]+$", }); + RequestParameters.Add("skipValidations", new Google.Apis.Discovery.Parameter + { + Name = "skipValidations", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", @@ -7639,6 +7686,72 @@ public class BareMetalAdminApiServerArgument : Google.Apis.Requests.IDirectRespo public virtual string ETag { get; set; } } + /// + /// BareMetalAdminBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer. + /// + public class BareMetalAdminBgpLbConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. AddressPools is a list of non-overlapping IP pools used by load balancer typed services. All + /// addresses must be routable to load balancer nodes. IngressVIP must be included in the pools. + /// + [Newtonsoft.Json.JsonPropertyAttribute("addressPools")] + public virtual System.Collections.Generic.IList AddressPools { get; set; } + + /// + /// Required. BGP autonomous system number (ASN) of the cluster. This field can be updated after cluster + /// creation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("asn")] + public virtual System.Nullable Asn { get; set; } + + /// + /// Required. The list of BGP peers that the cluster will connect to. At least one peer must be configured for + /// each control plane node. Control plane nodes will connect to these peers to advertise the control plane VIP. + /// The Services load balancer also uses these peers by default. This field can be updated after cluster + /// creation. + /// + [Newtonsoft.Json.JsonPropertyAttribute("bgpPeerConfigs")] + public virtual System.Collections.Generic.IList BgpPeerConfigs { get; set; } + + /// + /// Specifies the node pool running data plane load balancing. L2 connectivity is required among nodes in this + /// pool. If missing, the control plane node pool is used for data plane load balancing. + /// + [Newtonsoft.Json.JsonPropertyAttribute("loadBalancerNodePoolConfig")] + public virtual BareMetalAdminLoadBalancerNodePoolConfig LoadBalancerNodePoolConfig { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// BareMetalAdminBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer. + /// + public class BareMetalAdminBgpPeerConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. BGP autonomous system number (ASN) for the network that contains the external peer device. + /// + [Newtonsoft.Json.JsonPropertyAttribute("asn")] + public virtual System.Nullable Asn { get; set; } + + /// + /// The IP address of the control plane node that connects to the external peer. If you don't specify any + /// control plane nodes, all control plane nodes can connect to the external peer. If you specify one or more IP + /// addresses, only the nodes specified participate in peering sessions. + /// + [Newtonsoft.Json.JsonPropertyAttribute("controlPlaneNodes")] + public virtual System.Collections.Generic.IList ControlPlaneNodes { get; set; } + + /// Required. The IP address of the external peer device. + [Newtonsoft.Json.JsonPropertyAttribute("ipAddress")] + public virtual string IpAddress { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Resource that represents a bare metal admin cluster. public class BareMetalAdminCluster : Google.Apis.Requests.IDirectResponseSchema { @@ -7982,9 +8095,42 @@ public class BareMetalAdminIslandModeCidrConfig : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } + /// Represents an IP pool used by the load balancer. + public class BareMetalAdminLoadBalancerAddressPool : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The addresses that are part of this pool. Each address must be either in the CIDR form + /// (1.2.3.0/24) or range form (1.2.3.1-1.2.3.5). + /// + [Newtonsoft.Json.JsonPropertyAttribute("addresses")] + public virtual System.Collections.Generic.IList Addresses { get; set; } + + /// + /// If true, avoid using IPs ending in .0 or .255. This avoids buggy consumer devices mistakenly dropping IPv4 + /// traffic for those special IP addresses. + /// + [Newtonsoft.Json.JsonPropertyAttribute("avoidBuggyIps")] + public virtual System.Nullable AvoidBuggyIps { get; set; } + + /// If true, prevent IP addresses from being automatically assigned. + [Newtonsoft.Json.JsonPropertyAttribute("manualAssign")] + public virtual System.Nullable ManualAssign { get; set; } + + /// Required. The name of the address pool. + [Newtonsoft.Json.JsonPropertyAttribute("pool")] + public virtual string Pool { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// BareMetalAdminLoadBalancerConfig specifies the load balancer configuration. public class BareMetalAdminLoadBalancerConfig : Google.Apis.Requests.IDirectResponseSchema { + /// Configuration for BGP typed load balancers. + [Newtonsoft.Json.JsonPropertyAttribute("bgpLbConfig")] + public virtual BareMetalAdminBgpLbConfig BgpLbConfig { get; set; } + /// Manually configured load balancers. [Newtonsoft.Json.JsonPropertyAttribute("manualLbConfig")] public virtual BareMetalAdminManualLbConfig ManualLbConfig { get; set; } @@ -8001,6 +8147,17 @@ public class BareMetalAdminLoadBalancerConfig : Google.Apis.Requests.IDirectResp public virtual string ETag { get; set; } } + /// Specifies the load balancer's node pool configuration. + public class BareMetalAdminLoadBalancerNodePoolConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// The generic configuration for a node pool running a load balancer. + [Newtonsoft.Json.JsonPropertyAttribute("nodePoolConfig")] + public virtual BareMetalNodePoolConfig NodePoolConfig { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain /// operations. @@ -8064,13 +8221,38 @@ public class BareMetalAdminManualLbConfig : Google.Apis.Requests.IDirectResponse public virtual string ETag { get; set; } } + /// Specifies the multiple networking interfaces cluster configuration. + public class BareMetalAdminMultipleNetworkInterfacesConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Whether to enable multiple network interfaces for your pods. When set network_config.advanced_networking is + /// automatically set to true. + /// + [Newtonsoft.Json.JsonPropertyAttribute("enabled")] + public virtual System.Nullable Enabled { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// BareMetalAdminNetworkConfig specifies the cluster network configuration. public class BareMetalAdminNetworkConfig : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the + /// egress NAT gateway. Setting configuration for advanced networking features will automatically set this flag. + /// + [Newtonsoft.Json.JsonPropertyAttribute("advancedNetworking")] + public virtual System.Nullable AdvancedNetworking { get; set; } + /// Configuration for Island mode CIDR. [Newtonsoft.Json.JsonPropertyAttribute("islandModeCidr")] public virtual BareMetalAdminIslandModeCidrConfig IslandModeCidr { get; set; } + /// Configuration for multiple network interfaces. + [Newtonsoft.Json.JsonPropertyAttribute("multipleNetworkInterfacesConfig")] + public virtual BareMetalAdminMultipleNetworkInterfacesConfig MultipleNetworkInterfacesConfig { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj index f8b4fc26e2f..2b680c16e0d 100644 --- a/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj +++ b/Src/Generated/Google.Apis.GKEOnPrem.v1/Google.Apis.GKEOnPrem.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.GKEOnPrem.v1 Client Library - 1.72.0.3947 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 8ceeb502783381f0db534f3967a6471af77591f9 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:28 +0000 Subject: [PATCH 058/106] feat: Generate Google.Apis.Gmail.v1 version 1.72.0.3966 --- DiscoveryJson/gmail.v1.json | 42 ++++++++++++++- .../Google.Apis.Gmail.v1.cs | 52 +++++++++++++++++++ .../Google.Apis.Gmail.v1.csproj | 6 +-- 3 files changed, 96 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/gmail.v1.json b/DiscoveryJson/gmail.v1.json index 5406d9b32d4..2928d82f94e 100644 --- a/DiscoveryJson/gmail.v1.json +++ b/DiscoveryJson/gmail.v1.json @@ -3077,7 +3077,7 @@ } } }, - "revision": "20250630", + "revision": "20251110", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -3153,6 +3153,39 @@ }, "type": "object" }, + "ClassificationLabelFieldValue": { + "description": "Field values for a classification label.", + "id": "ClassificationLabelFieldValue", + "properties": { + "fieldId": { + "description": "Required. The field ID for the Classification Label Value. Maps to the ID field of the Google Drive `Label.Field` object.", + "type": "string" + }, + "selection": { + "description": "Selection choice ID for the selection option. Should only be set if the field type is `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive `Label.Field.SelectionOptions` resource.", + "type": "string" + } + }, + "type": "object" + }, + "ClassificationLabelValue": { + "description": "Classification Labels applied to the email message. Classification Labels are different from Gmail inbox labels. Only used for Google Workspace accounts. [Learn more about classification labels](https://support.google.com/a/answer/9292382).", + "id": "ClassificationLabelValue", + "properties": { + "fields": { + "description": "Field values for the given classification label ID.", + "items": { + "$ref": "ClassificationLabelFieldValue" + }, + "type": "array" + }, + "labelId": { + "description": "Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of the Google Drive Label resource.", + "type": "string" + } + }, + "type": "object" + }, "CseIdentity": { "description": "The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.", "id": "CseIdentity", @@ -3925,6 +3958,13 @@ "description": "An email message.", "id": "Message", "properties": { + "classificationLabelValues": { + "description": "Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts.", + "items": { + "$ref": "ClassificationLabelValue" + }, + "type": "array" + }, "historyId": { "description": "The ID of the last history record that modified this message.", "format": "uint64", diff --git a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs index 9688e431cf7..5f64307ebab 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs +++ b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.cs @@ -7524,6 +7524,50 @@ public class BatchModifyMessagesRequest : Google.Apis.Requests.IDirectResponseSc public virtual string ETag { get; set; } } + /// Field values for a classification label. + public class ClassificationLabelFieldValue : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The field ID for the Classification Label Value. Maps to the ID field of the Google Drive + /// `Label.Field` object. + /// + [Newtonsoft.Json.JsonPropertyAttribute("fieldId")] + public virtual string FieldId { get; set; } + + /// + /// Selection choice ID for the selection option. Should only be set if the field type is `SELECTION` in the + /// Google Drive `Label.Field` object. Maps to the id field of the Google Drive `Label.Field.SelectionOptions` + /// resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("selection")] + public virtual string Selection { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Classification Labels applied to the email message. Classification Labels are different from Gmail inbox labels. + /// Only used for Google Workspace accounts. [Learn more about classification + /// labels](https://support.google.com/a/answer/9292382). + /// + public class ClassificationLabelValue : Google.Apis.Requests.IDirectResponseSchema + { + /// Field values for the given classification label ID. + [Newtonsoft.Json.JsonPropertyAttribute("fields")] + public virtual System.Collections.Generic.IList Fields { get; set; } + + /// + /// Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of the Google + /// Drive Label resource. + /// + [Newtonsoft.Json.JsonPropertyAttribute("labelId")] + public virtual string LabelId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE /// configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email @@ -8294,6 +8338,14 @@ public class ListThreadsResponse : Google.Apis.Requests.IDirectResponseSchema /// An email message. public class Message : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Classification Label values on the message. Available Classification Label schemas can be queried using the + /// Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only + /// one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts. + /// + [Newtonsoft.Json.JsonPropertyAttribute("classificationLabelValues")] + public virtual System.Collections.Generic.IList ClassificationLabelValues { get; set; } + /// The ID of the last history record that modified this message. [Newtonsoft.Json.JsonPropertyAttribute("historyId")] public virtual System.Nullable HistoryId { get; set; } diff --git a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj index 7fcebd25436..dac1b1623c3 100644 --- a/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj +++ b/Src/Generated/Google.Apis.Gmail.v1/Google.Apis.Gmail.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Gmail.v1 Client Library - 1.70.0.3833 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From ec2f59727f5517b22fb83c603a4a775236ffe122 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:30 +0000 Subject: [PATCH 059/106] feat: Generate Google.Apis.CloudHealthcare.v1 version 1.72.0.3947 --- DiscoveryJson/healthcare.v1.json | 4 ++-- .../Google.Apis.CloudHealthcare.v1.cs | 4 ++-- .../Google.Apis.CloudHealthcare.v1.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/healthcare.v1.json b/DiscoveryJson/healthcare.v1.json index 76fc19457b9..51f3cda55d9 100644 --- a/DiscoveryJson/healthcare.v1.json +++ b/DiscoveryJson/healthcare.v1.json @@ -148,7 +148,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5137,7 +5137,7 @@ } } }, - "revision": "20251016", + "revision": "20251022", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs index 2d0896c85b1..163be740320 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.cs @@ -13076,8 +13076,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj index 9c227ac900b..5db08282ddc 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1/Google.Apis.CloudHealthcare.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudHealthcare.v1 Client Library - 1.72.0.3941 + 1.72.0.3947 Google LLC Copyright 2025 Google LLC Google From e6ffaa4db947282e167b55ca8565dfb954d40771 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:32 +0000 Subject: [PATCH 060/106] feat: Generate Google.Apis.CloudHealthcare.v1beta1 version 1.72.0.3947 --- DiscoveryJson/healthcare.v1beta1.json | 4 ++-- .../Google.Apis.CloudHealthcare.v1beta1.cs | 4 ++-- .../Google.Apis.CloudHealthcare.v1beta1.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/healthcare.v1beta1.json b/DiscoveryJson/healthcare.v1beta1.json index fec74baf30f..d9a9a7b8d10 100644 --- a/DiscoveryJson/healthcare.v1beta1.json +++ b/DiscoveryJson/healthcare.v1beta1.json @@ -148,7 +148,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5684,7 +5684,7 @@ } } }, - "revision": "20251016", + "revision": "20251022", "rootUrl": "https://healthcare.googleapis.com/", "schemas": { "AccessDeterminationLogConfig": { diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs index 1ce4d2ee423..cdadf1b5fa5 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.cs @@ -14577,8 +14577,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj index 495e7b6ca3f..3f4d03ebcd0 100644 --- a/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudHealthcare.v1beta1/Google.Apis.CloudHealthcare.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudHealthcare.v1beta1 Client Library - 1.72.0.3941 + 1.72.0.3947 Google LLC Copyright 2025 Google LLC Google From 4c97dd7ce997e709dec97fd15d29c64f3b022367 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:35 +0000 Subject: [PATCH 061/106] feat: Generate Google.Apis.Logging.v2 version 1.72.0.3963 --- DiscoveryJson/logging.v2.json | 12 +++++------ .../Google.Apis.Logging.v2.cs | 20 +++++++++---------- .../Google.Apis.Logging.v2.csproj | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/DiscoveryJson/logging.v2.json b/DiscoveryJson/logging.v2.json index 8628c79d5d2..4f3dc1b1d1a 100644 --- a/DiscoveryJson/logging.v2.json +++ b/DiscoveryJson/logging.v2.json @@ -635,7 +635,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -2472,7 +2472,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -4064,7 +4064,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -5312,7 +5312,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -7125,7 +7125,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -9152,7 +9152,7 @@ } } }, - "revision": "20251017", + "revision": "20251107", "rootUrl": "https://logging.googleapis.com/", "schemas": { "AppHub": { diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs index 3a55458aa0d..2639456344c 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.cs @@ -3068,8 +3068,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } @@ -7943,8 +7943,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } @@ -10897,8 +10897,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily - /// intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } @@ -14554,8 +14554,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } @@ -19061,8 +19061,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj index ddbf69a29e0..2612a9a1f6d 100644 --- a/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj +++ b/Src/Generated/Google.Apis.Logging.v2/Google.Apis.Logging.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Logging.v2 Client Library - 1.72.0.3942 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From 8a6a178ca6aa77908dbfdbc18a10ae3e38de8282 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:37 +0000 Subject: [PATCH 062/106] feat: Generate Google.Apis.Looker.v1 version 1.72.0.3969 --- DiscoveryJson/looker.v1.json | 29 +++++++++++++-- .../Google.Apis.Looker.v1.cs | 36 ++++++++++++++++--- .../Google.Apis.Looker.v1.csproj | 2 +- 3 files changed, 58 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/looker.v1.json b/DiscoveryJson/looker.v1.json index ab7dba73eae..ec9abafc42d 100644 --- a/DiscoveryJson/looker.v1.json +++ b/DiscoveryJson/looker.v1.json @@ -695,7 +695,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -715,7 +715,7 @@ } } }, - "revision": "20251021", + "revision": "20251113", "rootUrl": "https://looker.googleapis.com/", "schemas": { "AdminSettings": { @@ -1079,6 +1079,10 @@ "$ref": "OAuthConfig", "description": "Looker instance OAuth login settings." }, + "periodicExportConfig": { + "$ref": "PeriodicExportConfig", + "description": "Optional. Configuration for periodic export." + }, "platformEdition": { "description": "Platform edition.", "enum": [ @@ -1312,7 +1316,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, @@ -1494,6 +1498,25 @@ }, "type": "object" }, + "PeriodicExportConfig": { + "description": "Configuration for periodic export.", + "id": "PeriodicExportConfig", + "properties": { + "gcsUri": { + "description": "Required. Cloud Storage bucket URI for periodic export. Format: gs://{bucket_name}", + "type": "string" + }, + "kmsKey": { + "description": "Required. Name of the CMEK key in KMS. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}", + "type": "string" + }, + "startTime": { + "$ref": "TimeOfDay", + "description": "Required. Time in UTC to start the periodic export job." + } + }, + "type": "object" + }, "PscConfig": { "description": "Information for Private Service Connect (PSC) setup for a Looker instance.", "id": "PscConfig", diff --git a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs index d544fe9126e..bf191c22ccb 100644 --- a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs +++ b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.cs @@ -1362,9 +1362,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -1946,6 +1946,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("oauthConfig")] public virtual OAuthConfig OauthConfig { get; set; } + /// Optional. Configuration for periodic export. + [Newtonsoft.Json.JsonPropertyAttribute("periodicExportConfig")] + public virtual PeriodicExportConfig PeriodicExportConfig { get; set; } + /// Platform edition. [Newtonsoft.Json.JsonPropertyAttribute("platformEdition")] public virtual string PlatformEdition { get; set; } @@ -2203,8 +2207,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } @@ -2512,6 +2516,28 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Configuration for periodic export. + public class PeriodicExportConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. Cloud Storage bucket URI for periodic export. Format: gs://{bucket_name} + [Newtonsoft.Json.JsonPropertyAttribute("gcsUri")] + public virtual string GcsUri { get; set; } + + /// + /// Required. Name of the CMEK key in KMS. Format: + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key} + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// Required. Time in UTC to start the periodic export job. + [Newtonsoft.Json.JsonPropertyAttribute("startTime")] + public virtual TimeOfDay StartTime { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Information for Private Service Connect (PSC) setup for a Looker instance. public class PscConfig : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj index a4f00d5b624..11e1ecbaf99 100644 --- a/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj +++ b/Src/Generated/Google.Apis.Looker.v1/Google.Apis.Looker.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Looker.v1 Client Library - 1.72.0.3946 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From e967fed39157fe76c4435dcee9526b5d1903d819 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:39 +0000 Subject: [PATCH 063/106] feat: Generate Google.Apis.ManagedKafka.v1 version 1.72.0.3970 --- DiscoveryJson/managedkafka.v1.json | 6 +++--- .../Google.Apis.ManagedKafka.v1.cs | 10 +++++----- .../Google.Apis.ManagedKafka.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/managedkafka.v1.json b/DiscoveryJson/managedkafka.v1.json index 9af60e1a962..3190dae7828 100644 --- a/DiscoveryJson/managedkafka.v1.json +++ b/DiscoveryJson/managedkafka.v1.json @@ -1639,7 +1639,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -3151,7 +3151,7 @@ } } }, - "revision": "20251030", + "revision": "20251114", "rootUrl": "https://managedkafka.googleapis.com/", "schemas": { "AccessConfig": { @@ -3917,7 +3917,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.cs b/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.cs index ea788b2dd0c..13f4cc8442a 100644 --- a/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.cs +++ b/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.cs @@ -3145,9 +3145,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -7937,8 +7937,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.csproj b/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.csproj index 028d853f42e..498af4fd924 100644 --- a/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.csproj +++ b/Src/Generated/Google.Apis.ManagedKafka.v1/Google.Apis.ManagedKafka.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ManagedKafka.v1 Client Library - 1.72.0.3955 + 1.72.0.3970 Google LLC Copyright 2025 Google LLC Google From 16129ef13ad92e61602fdf9fdfb9c4fb8627c2d0 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:41 +0000 Subject: [PATCH 064/106] feat: Generate Google.Apis.Merchant.accounts_v1 version 1.72.0.3971 --- DiscoveryJson/merchantapi.accounts_v1.json | 248 ++++++++++- .../Google.Apis.Merchant.accounts_v1.cs | 393 ++++++++++++++++++ .../Google.Apis.Merchant.accounts_v1.csproj | 2 +- 3 files changed, 641 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/merchantapi.accounts_v1.json b/DiscoveryJson/merchantapi.accounts_v1.json index 5c2da7ae66f..71804f34b18 100644 --- a/DiscoveryJson/merchantapi.accounts_v1.json +++ b/DiscoveryJson/merchantapi.accounts_v1.json @@ -936,6 +936,76 @@ } } }, + "limits": { + "methods": { + "get": { + "description": "Retrieves an account limit.", + "flatPath": "accounts/v1/accounts/{accountsId}/limits/{limitsId}", + "httpMethod": "GET", + "id": "merchantapi.accounts.limits.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the limit to retrieve. Format: `accounts/{account}/limits/{limit}` For example: `accounts/123/limits/products~ADS_NON_EEA`", + "location": "path", + "pattern": "^accounts/[^/]+/limits/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1/{+name}", + "response": { + "$ref": "AccountLimit" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, + "list": { + "description": "Lists the limits of an account.", + "flatPath": "accounts/v1/accounts/{accountsId}/limits", + "httpMethod": "GET", + "id": "merchantapi.accounts.limits.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Required. A filter on the limit `type` is required, for example, `type = \"products\"`.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of limits to return. The service may return fewer than this value. If unspecified, at most 100 limits will be returned. The maximum value is 100; values above 100 will be coerced to 100.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. A page token, received from a previous `ListAccountLimits` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAccountLimits` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent account. Format: `accounts/{account}`", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1/{+parent}/limits", + "response": { + "$ref": "ListAccountLimitsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + }, "omnichannelSettings": { "methods": { "create": { @@ -2273,6 +2343,40 @@ "https://www.googleapis.com/auth/content" ] } + }, + "resources": { + "me": { + "methods": { + "verifySelf": { + "description": "Updates the user that is represented by the caller from pending to verified.", + "flatPath": "accounts/v1/accounts/{accountsId}/users/me:verifySelf", + "httpMethod": "PATCH", + "id": "merchantapi.accounts.users.me.verifySelf", + "parameterOrder": [ + "account" + ], + "parameters": { + "account": { + "description": "Required. The name of the account under which the caller is a user. Format: `accounts/{account}`", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1/{+account}/users/me:verifySelf", + "request": { + "$ref": "VerifySelfRequest" + }, + "response": { + "$ref": "User" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + } } } } @@ -2376,7 +2480,7 @@ } } }, - "revision": "20251023", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "About": { @@ -2529,6 +2633,21 @@ }, "type": "object" }, + "AccountLimit": { + "description": "A limit of a certain type that is applied to an account.", + "id": "AccountLimit", + "properties": { + "name": { + "description": "Identifier. The limit part of the name will be a combination of the type and the scope. For example: `accounts/123/limits/products~ADS_NON_EEA` Format: `accounts/{account}/limits/{limit}`", + "type": "string" + }, + "products": { + "$ref": "ProductLimit", + "description": "The limit for products." + } + }, + "type": "object" + }, "AccountManagement": { "description": "`AccountManagement` payload.", "id": "AccountManagement", @@ -2575,6 +2694,10 @@ "$ref": "CampaignsManagement", "description": "Service type for managing advertising campaigns. Grants the provider access to create and manage the business's ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance." }, + "comparisonShopping": { + "$ref": "ComparisonShopping", + "description": "Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the account. See https://support.google.com/merchants/answer/12653197" + }, "externalAccountId": { "description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider.", "type": "string" @@ -2632,6 +2755,26 @@ "$ref": "AccountAggregation", "description": "The provider is an [aggregator](https://support.google.com/merchants/answer/188487) for the account. Payload for service type Account Aggregation." }, + "accountManagement": { + "$ref": "AccountManagement", + "description": "The provider manages this account. Payload for service type Account Management." + }, + "campaignsManagement": { + "$ref": "CampaignsManagement", + "description": "The provider manages campaigns for this account. Payload for service type campaigns management." + }, + "comparisonShopping": { + "$ref": "ComparisonShopping", + "description": "The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping." + }, + "externalAccountId": { + "description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider. The external account ID must be specified for the campaigns management service type. The external account ID must not be specified for the account aggregation service type. The external account ID is optional / may be specified for all other service types.", + "type": "string" + }, + "productsManagement": { + "$ref": "ProductsManagement", + "description": "The provider manages products for this account. Payload for service type products management." + }, "provider": { "description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", "type": "string" @@ -2650,6 +2793,10 @@ "userId": { "description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", "type": "string" + }, + "verificationMailSettings": { + "$ref": "VerificationMailSettings", + "description": "Optional. Settings related to configuring the verification email that is sent after adding a user." } }, "type": "object" @@ -3153,6 +3300,12 @@ }, "type": "object" }, + "ComparisonShopping": { + "description": "`ComparisonShopping` payload.", + "id": "ComparisonShopping", + "properties": {}, + "type": "object" + }, "CreateAndConfigureAccountRequest": { "description": "Request message for the `CreateAndConfigureAccount` method.", "id": "CreateAndConfigureAccountRequest", @@ -3168,6 +3321,13 @@ }, "type": "array" }, + "setAlias": { + "description": "Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.", + "items": { + "$ref": "SetAliasForRelationship" + }, + "type": "array" + }, "user": { "description": "Optional. Users to be added to the account.", "items": { @@ -3977,6 +4137,24 @@ }, "type": "object" }, + "ListAccountLimitsResponse": { + "description": "Response message for the `ListAccountLimits` method.", + "id": "ListAccountLimitsResponse", + "properties": { + "accountLimits": { + "description": "The limits for the given account.", + "items": { + "$ref": "AccountLimit" + }, + "type": "array" + }, + "nextPageToken": { + "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", + "type": "string" + } + }, + "type": "object" + }, "ListAccountRelationshipsResponse": { "description": "Response after trying to list account relationships.", "id": "ListAccountRelationshipsResponse", @@ -4708,6 +4886,32 @@ }, "type": "object" }, + "ProductLimit": { + "description": "The limit for products.", + "id": "ProductLimit", + "properties": { + "limit": { + "description": "Required. The maximum number of products that are allowed in the account in the given scope.", + "format": "int64", + "type": "string" + }, + "scope": { + "description": "Required. The scope of the product limit.", + "enum": [ + "SCOPE_UNSPECIFIED", + "ADS_NON_EEA", + "ADS_EEA" + ], + "enumDescriptions": [ + "Default value. Should not be used.", + "Limit for products in non-EEA countries.", + "Limit for products in EEA countries." + ], + "type": "string" + } + }, + "type": "object" + }, "ProductStatusChangeMessage": { "description": "The message that the merchant will receive to notify about product status change event", "id": "ProductStatusChangeMessage", @@ -5143,6 +5347,21 @@ }, "type": "object" }, + "SetAliasForRelationship": { + "description": "Set an alias for a relationship between a provider and the account to be created.", + "id": "SetAliasForRelationship", + "properties": { + "accountIdAlias": { + "description": "Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.", + "type": "string" + }, + "provider": { + "description": "Required. The provider of the service. This is a reference to an account such as `providers/123` or `accounts/123`. The same provider must be specified in at least one of the `service` fields.", + "type": "string" + } + }, + "type": "object" + }, "ShippingSettings": { "description": "The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all its associated sub-accounts.", "id": "ShippingSettings", @@ -5530,6 +5749,33 @@ }, "type": "object" }, + "VerificationMailSettings": { + "description": "Settings related to the verification email that is sent after adding a user.", + "id": "VerificationMailSettings", + "properties": { + "verificationMailMode": { + "description": "Optional. Mode of the verification mail. If not set, the default is `SEND_VERIFICATION_MAIL`.", + "enum": [ + "VERIFICATION_MAIL_MODE_UNSPECIFIED", + "SEND_VERIFICATION_MAIL", + "SUPPRESS_VERIFICATION_MAIL" + ], + "enumDescriptions": [ + "Default first member of every enum. Do not use.", + "An invitation email is sent to the user added shortly after.", + "No invitation email is sent. This can be useful if the user is expected to accept the invitation through the API without needing another notification." + ], + "type": "string" + } + }, + "type": "object" + }, + "VerifySelfRequest": { + "description": "Request message for the `VerifySelf` method.", + "id": "VerifySelfRequest", + "properties": {}, + "type": "object" + }, "Warehouse": { "description": "A fulfillment warehouse, which stores and handles inventory.", "id": "Warehouse", diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.cs b/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.cs index 984f4b866c1..cac9f1eda51 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.cs +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.cs @@ -281,6 +281,7 @@ public AccountsResource(Google.Apis.Services.IClientService service) GbpAccounts = new GbpAccountsResource(service); Homepage = new HomepageResource(service); Issues = new IssuesResource(service); + Limits = new LimitsResource(service); OmnichannelSettings = new OmnichannelSettingsResource(service); OnlineReturnPolicies = new OnlineReturnPoliciesResource(service); Programs = new ProgramsResource(service); @@ -1831,6 +1832,166 @@ protected override void InitParameters() } } + /// Gets the Limits resource. + public virtual LimitsResource Limits { get; } + + /// The "limits" collection of methods. + public class LimitsResource + { + private const string Resource = "limits"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LimitsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Retrieves an account limit. + /// + /// Required. The name of the limit to retrieve. Format: `accounts/{account}/limits/{limit}` For example: + /// `accounts/123/limits/products~ADS_NON_EEA` + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(this.service, name); + } + + /// Retrieves an account limit. + public class GetRequest : MerchantBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the limit to retrieve. Format: `accounts/{account}/limits/{limit}` For + /// example: `accounts/123/limits/products~ADS_NON_EEA` + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// Gets the method name. + public override string MethodName => "get"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "accounts/v1/{+name}"; + + /// Initializes Get parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^accounts/[^/]+/limits/[^/]+$", + }); + } + } + + /// Lists the limits of an account. + /// Required. The parent account. Format: `accounts/{account}` + public virtual ListRequest List(string parent) + { + return new ListRequest(this.service, parent); + } + + /// Lists the limits of an account. + public class ListRequest : MerchantBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// Required. The parent account. Format: `accounts/{account}` + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. A filter on the limit `type` is required, for example, `type = "products"`. + /// + [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] + public virtual string Filter { get; set; } + + /// + /// Optional. The maximum number of limits to return. The service may return fewer than this value. If + /// unspecified, at most 100 limits will be returned. The maximum value is 100; values above 100 will be + /// coerced to 100. + /// + [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable PageSize { get; set; } + + /// + /// Optional. A page token, received from a previous `ListAccountLimits` call. Provide this to retrieve + /// the subsequent page. When paginating, all other parameters provided to `ListAccountLimits` must + /// match the call that provided the page token. + /// + [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] + public virtual string PageToken { get; set; } + + /// Gets the method name. + public override string MethodName => "list"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "accounts/v1/{+parent}/limits"; + + /// Initializes List parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + { + Name = "parent", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^accounts/[^/]+$", + }); + RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter + { + Name = "filter", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter + { + Name = "pageSize", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter + { + Name = "pageToken", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + /// Gets the OmnichannelSettings resource. public virtual OmnichannelSettingsResource OmnichannelSettings { get; } @@ -4484,6 +4645,82 @@ public class UsersResource public UsersResource(Google.Apis.Services.IClientService service) { this.service = service; + Me = new MeResource(service); + } + + /// Gets the Me resource. + public virtual MeResource Me { get; } + + /// The "me" collection of methods. + public class MeResource + { + private const string Resource = "me"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MeResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Updates the user that is represented by the caller from pending to verified. + /// The body of the request. + /// + /// Required. The name of the account under which the caller is a user. Format: `accounts/{account}` + /// + public virtual VerifySelfRequest VerifySelf(Google.Apis.Merchant.accounts_v1.Data.VerifySelfRequest body, string account) + { + return new VerifySelfRequest(this.service, body, account); + } + + /// Updates the user that is represented by the caller from pending to verified. + public class VerifySelfRequest : MerchantBaseServiceRequest + { + /// Constructs a new VerifySelf request. + public VerifySelfRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1.Data.VerifySelfRequest body, string account) : base(service) + { + Account = account; + Body = body; + InitParameters(); + } + + /// + /// Required. The name of the account under which the caller is a user. Format: `accounts/{account}` + /// + [Google.Apis.Util.RequestParameterAttribute("account", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Account { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Merchant.accounts_v1.Data.VerifySelfRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "verifySelf"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "accounts/v1/{+account}/users/me:verifySelf"; + + /// Initializes VerifySelf parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("account", new Google.Apis.Discovery.Parameter + { + Name = "account", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^accounts/[^/]+$", + }); + } + } } /// Creates a Merchant Center account user. Executing this method requires admin access. @@ -5619,6 +5856,24 @@ public class AccountIssue : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// A limit of a certain type that is applied to an account. + public class AccountLimit : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Identifier. The limit part of the name will be a combination of the type and the scope. For example: + /// `accounts/123/limits/products~ADS_NON_EEA` Format: `accounts/{account}/limits/{limit}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The limit for products. + [Newtonsoft.Json.JsonPropertyAttribute("products")] + public virtual ProductLimit Products { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// `AccountManagement` payload. public class AccountManagement : Google.Apis.Requests.IDirectResponseSchema { @@ -5704,6 +5959,13 @@ public class AccountService : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("campaignsManagement")] public virtual CampaignsManagement CampaignsManagement { get; set; } + /// + /// Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the + /// account. See https://support.google.com/merchants/answer/12653197 + /// + [Newtonsoft.Json.JsonPropertyAttribute("comparisonShopping")] + public virtual ComparisonShopping ComparisonShopping { get; set; } + /// /// Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating /// with the provider. This should be the unique account ID within the provider's system (for example, your shop @@ -5775,6 +6037,41 @@ public class AddAccountService : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("accountAggregation")] public virtual AccountAggregation AccountAggregation { get; set; } + /// The provider manages this account. Payload for service type Account Management. + [Newtonsoft.Json.JsonPropertyAttribute("accountManagement")] + public virtual AccountManagement AccountManagement { get; set; } + + /// + /// The provider manages campaigns for this account. Payload for service type campaigns management. + /// + [Newtonsoft.Json.JsonPropertyAttribute("campaignsManagement")] + public virtual CampaignsManagement CampaignsManagement { get; set; } + + /// + /// The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison + /// Shopping. + /// + [Newtonsoft.Json.JsonPropertyAttribute("comparisonShopping")] + public virtual ComparisonShopping ComparisonShopping { get; set; } + + /// + /// Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating + /// with the provider. This should be the unique account ID within the provider's system (for example, your shop + /// ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for + /// various regions — the `external_account_id` differentiates between them, ensuring accurate linking and + /// integration between Google and the provider. The external account ID must be specified for the campaigns + /// management service type. The external account ID must not be specified for the account aggregation service + /// type. The external account ID is optional / may be specified for all other service types. + /// + [Newtonsoft.Json.JsonPropertyAttribute("externalAccountId")] + public virtual string ExternalAccountId { get; set; } + + /// + /// The provider manages products for this account. Payload for service type products management. + /// + [Newtonsoft.Json.JsonPropertyAttribute("productsManagement")] + public virtual ProductsManagement ProductsManagement { get; set; } + /// /// Required. The provider of the service. Either the reference to an account such as `providers/123` or a /// well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). @@ -5799,6 +6096,12 @@ public class AddUser : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("userId")] public virtual string UserId { get; set; } + /// + /// Optional. Settings related to configuring the verification email that is sent after adding a user. + /// + [Newtonsoft.Json.JsonPropertyAttribute("verificationMailSettings")] + public virtual VerificationMailSettings VerificationMailSettings { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -6332,6 +6635,13 @@ public class ClaimHomepageRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// `ComparisonShopping` payload. + public class ComparisonShopping : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for the `CreateAndConfigureAccount` method. public class CreateAndConfigureAccountRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -6349,6 +6659,13 @@ public class CreateAndConfigureAccountRequest : Google.Apis.Requests.IDirectResp [Newtonsoft.Json.JsonPropertyAttribute("service")] public virtual System.Collections.Generic.IList Service { get; set; } + /// + /// Optional. If a relationship is created with a provider, you can set an alias for it with this field. The + /// calling user must be an admin on the provider to be able to set an alias. + /// + [Newtonsoft.Json.JsonPropertyAttribute("setAlias")] + public virtual System.Collections.Generic.IList SetAlias { get; set; } + /// Optional. Users to be added to the account. [Newtonsoft.Json.JsonPropertyAttribute("user")] public virtual System.Collections.Generic.IList User { get; set; } @@ -7052,6 +7369,24 @@ public class ListAccountIssuesResponse : Google.Apis.Requests.IDirectResponseSch public virtual string ETag { get; set; } } + /// Response message for the `ListAccountLimits` method. + public class ListAccountLimitsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The limits for the given account. + [Newtonsoft.Json.JsonPropertyAttribute("accountLimits")] + public virtual System.Collections.Generic.IList AccountLimits { get; set; } + + /// + /// A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no + /// subsequent pages. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] + public virtual string NextPageToken { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response after trying to list account relationships. public class ListAccountRelationshipsResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -7781,6 +8116,23 @@ public class ProductChange : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// The limit for products. + public class ProductLimit : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The maximum number of products that are allowed in the account in the given scope. + /// + [Newtonsoft.Json.JsonPropertyAttribute("limit")] + public virtual System.Nullable Limit { get; set; } + + /// Required. The scope of the product limit. + [Newtonsoft.Json.JsonPropertyAttribute("scope")] + public virtual string Scope { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// The message that the merchant will receive to notify about product status change event public class ProductStatusChangeMessage : Google.Apis.Requests.IDirectResponseSchema { @@ -8292,6 +8644,27 @@ public class Service : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Set an alias for a relationship between a provider and the account to be created. + public class SetAliasForRelationship : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The unique ID of this account in the provider's system. The value must be unique across all + /// accounts on the platform for this provider. + /// + [Newtonsoft.Json.JsonPropertyAttribute("accountIdAlias")] + public virtual string AccountIdAlias { get; set; } + + /// + /// Required. The provider of the service. This is a reference to an account such as `providers/123` or + /// `accounts/123`. The same provider must be specified in at least one of the `service` fields. + /// + [Newtonsoft.Json.JsonPropertyAttribute("provider")] + public virtual string Provider { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The /// `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all @@ -8727,6 +9100,26 @@ public class Value : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Settings related to the verification email that is sent after adding a user. + public class VerificationMailSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Mode of the verification mail. If not set, the default is `SEND_VERIFICATION_MAIL`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("verificationMailMode")] + public virtual string VerificationMailMode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for the `VerifySelf` method. + public class VerifySelfRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A fulfillment warehouse, which stores and handles inventory. public class Warehouse : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.csproj b/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.csproj index 78a8b1fc588..2d71b39ceeb 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.csproj +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1/Google.Apis.Merchant.accounts_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.accounts_v1 Client Library - 1.72.0.3948 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From 183535b5e3a87311029fb86d8c0ec0c3513888d7 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:43 +0000 Subject: [PATCH 065/106] feat: Generate Google.Apis.Merchant.accounts_v1beta version 1.72.0.3971 --- .../merchantapi.accounts_v1beta.json | 119 +++++++++++- .../Google.Apis.Merchant.accounts_v1beta.cs | 179 ++++++++++++++++++ ...oogle.Apis.Merchant.accounts_v1beta.csproj | 2 +- 3 files changed, 298 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/merchantapi.accounts_v1beta.json b/DiscoveryJson/merchantapi.accounts_v1beta.json index 0ad797f2c1b..92a44f86100 100644 --- a/DiscoveryJson/merchantapi.accounts_v1beta.json +++ b/DiscoveryJson/merchantapi.accounts_v1beta.json @@ -2223,6 +2223,40 @@ "https://www.googleapis.com/auth/content" ] } + }, + "resources": { + "me": { + "methods": { + "verifySelf": { + "description": "Updates the user that is represented by the caller from pending to verified.", + "flatPath": "accounts/v1beta/accounts/{accountsId}/users/me:verifySelf", + "httpMethod": "PATCH", + "id": "merchantapi.accounts.users.me.verifySelf", + "parameterOrder": [ + "account" + ], + "parameters": { + "account": { + "description": "Required. The name of the account under which the caller is a user. Format: `accounts/{account}`", + "location": "path", + "pattern": "^accounts/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "accounts/v1beta/{+account}/users/me:verifySelf", + "request": { + "$ref": "VerifySelfRequest" + }, + "response": { + "$ref": "User" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + } + } + } } } } @@ -2326,7 +2360,7 @@ } } }, - "revision": "20251023", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "About": { @@ -2525,6 +2559,10 @@ "$ref": "CampaignsManagement", "description": "Service type for managing advertising campaigns. Grants the provider access to create and manage the business's ad campaigns, including setting up campaigns, adjusting bids, and optimizing performance." }, + "comparisonShopping": { + "$ref": "ComparisonShopping", + "description": "Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the account. See https://support.google.com/merchants/answer/12653197" + }, "externalAccountId": { "description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider.", "type": "string" @@ -2582,6 +2620,26 @@ "$ref": "AccountAggregation", "description": "The provider is an [aggregator](https://support.google.com/merchants/answer/188487) for the account. Payload for service type Account Aggregation." }, + "accountManagement": { + "$ref": "AccountManagement", + "description": "The provider manages this account. Payload for service type Account Management." + }, + "campaignsManagement": { + "$ref": "CampaignsManagement", + "description": "The provider manages campaigns for this account. Payload for service type campaigns management." + }, + "comparisonShopping": { + "$ref": "ComparisonShopping", + "description": "The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping." + }, + "externalAccountId": { + "description": "Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for various regions \u2014 the `external_account_id` differentiates between them, ensuring accurate linking and integration between Google and the provider. The external account ID must be specified for the campaigns management service type. The external account ID must not be specified for the account aggregation service type. The external account ID is optional / may be specified for all other service types.", + "type": "string" + }, + "productsManagement": { + "$ref": "ProductsManagement", + "description": "The provider manages products for this account. Payload for service type products management." + }, "provider": { "description": "Required. The provider of the service. Either the reference to an account such as `providers/123` or a well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`).", "type": "string" @@ -2600,6 +2658,10 @@ "userId": { "description": "Required. The email address of the user (for example, `john.doe@gmail.com`).", "type": "string" + }, + "verificationMailSettings": { + "$ref": "VerificationMailSettings", + "description": "Optional. Settings related to configuring the verification email that is sent after adding a user." } }, "type": "object" @@ -3033,6 +3095,12 @@ }, "type": "object" }, + "ComparisonShopping": { + "description": "`ComparisonShopping` payload.", + "id": "ComparisonShopping", + "properties": {}, + "type": "object" + }, "CreateAndConfigureAccountRequest": { "description": "Request message for the `CreateAndConfigureAccount` method.", "id": "CreateAndConfigureAccountRequest", @@ -3048,6 +3116,13 @@ }, "type": "array" }, + "setAlias": { + "description": "Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.", + "items": { + "$ref": "SetAliasForRelationship" + }, + "type": "array" + }, "user": { "description": "Optional. Users to be added to the account.", "items": { @@ -5020,6 +5095,21 @@ }, "type": "object" }, + "SetAliasForRelationship": { + "description": "Set an alias for a relationship between a provider and the account to be created.", + "id": "SetAliasForRelationship", + "properties": { + "accountIdAlias": { + "description": "Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.", + "type": "string" + }, + "provider": { + "description": "Required. The provider of the service. This is a reference to an account such as `providers/123` or `accounts/123`. The same provider must be specified in at least one of the `service` fields.", + "type": "string" + } + }, + "type": "object" + }, "ShippingSettings": { "description": "The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all its associated sub-accounts.", "id": "ShippingSettings", @@ -5391,6 +5481,33 @@ }, "type": "object" }, + "VerificationMailSettings": { + "description": "Settings related to the verification email that is sent after adding a user.", + "id": "VerificationMailSettings", + "properties": { + "verificationMailMode": { + "description": "Optional. Mode of the verification mail. If not set, the default is `SEND_VERIFICATION_MAIL`.", + "enum": [ + "VERIFICATION_MAIL_MODE_UNSPECIFIED", + "SEND_VERIFICATION_MAIL", + "SUPPRESS_VERIFICATION_MAIL" + ], + "enumDescriptions": [ + "Default first member of every enum. Do not use.", + "An invitation email is sent to the user added shortly after.", + "No invitation email is sent. This can be useful if the user is expected to accept the invitation through the API without needing another notification." + ], + "type": "string" + } + }, + "type": "object" + }, + "VerifySelfRequest": { + "description": "Request message for the `VerifySelf` method.", + "id": "VerifySelfRequest", + "properties": {}, + "type": "object" + }, "Warehouse": { "description": "A fulfillment warehouse, which stores and handles inventory.", "id": "Warehouse", diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs index 3327f65ea85..b364669be8d 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.cs @@ -4369,6 +4369,82 @@ public class UsersResource public UsersResource(Google.Apis.Services.IClientService service) { this.service = service; + Me = new MeResource(service); + } + + /// Gets the Me resource. + public virtual MeResource Me { get; } + + /// The "me" collection of methods. + public class MeResource + { + private const string Resource = "me"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MeResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Updates the user that is represented by the caller from pending to verified. + /// The body of the request. + /// + /// Required. The name of the account under which the caller is a user. Format: `accounts/{account}` + /// + public virtual VerifySelfRequest VerifySelf(Google.Apis.Merchant.accounts_v1beta.Data.VerifySelfRequest body, string account) + { + return new VerifySelfRequest(this.service, body, account); + } + + /// Updates the user that is represented by the caller from pending to verified. + public class VerifySelfRequest : MerchantBaseServiceRequest + { + /// Constructs a new VerifySelf request. + public VerifySelfRequest(Google.Apis.Services.IClientService service, Google.Apis.Merchant.accounts_v1beta.Data.VerifySelfRequest body, string account) : base(service) + { + Account = account; + Body = body; + InitParameters(); + } + + /// + /// Required. The name of the account under which the caller is a user. Format: `accounts/{account}` + /// + [Google.Apis.Util.RequestParameterAttribute("account", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Account { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.Merchant.accounts_v1beta.Data.VerifySelfRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "verifySelf"; + + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "accounts/v1beta/{+account}/users/me:verifySelf"; + + /// Initializes VerifySelf parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("account", new Google.Apis.Discovery.Parameter + { + Name = "account", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^accounts/[^/]+$", + }); + } + } } /// Creates a Merchant Center account user. Executing this method requires admin access. @@ -5589,6 +5665,13 @@ public class AccountService : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("campaignsManagement")] public virtual CampaignsManagement CampaignsManagement { get; set; } + /// + /// Service type for comparison shopping. The provider is a CSS (Comparison Shopping Service) managing the + /// account. See https://support.google.com/merchants/answer/12653197 + /// + [Newtonsoft.Json.JsonPropertyAttribute("comparisonShopping")] + public virtual ComparisonShopping ComparisonShopping { get; set; } + /// /// Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating /// with the provider. This should be the unique account ID within the provider's system (for example, your shop @@ -5660,6 +5743,41 @@ public class AddAccountService : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("accountAggregation")] public virtual AccountAggregation AccountAggregation { get; set; } + /// The provider manages this account. Payload for service type Account Management. + [Newtonsoft.Json.JsonPropertyAttribute("accountManagement")] + public virtual AccountManagement AccountManagement { get; set; } + + /// + /// The provider manages campaigns for this account. Payload for service type campaigns management. + /// + [Newtonsoft.Json.JsonPropertyAttribute("campaignsManagement")] + public virtual CampaignsManagement CampaignsManagement { get; set; } + + /// + /// The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison + /// Shopping. + /// + [Newtonsoft.Json.JsonPropertyAttribute("comparisonShopping")] + public virtual ComparisonShopping ComparisonShopping { get; set; } + + /// + /// Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating + /// with the provider. This should be the unique account ID within the provider's system (for example, your shop + /// ID in Shopify). If you have multiple accounts with the same provider - for instance, different accounts for + /// various regions — the `external_account_id` differentiates between them, ensuring accurate linking and + /// integration between Google and the provider. The external account ID must be specified for the campaigns + /// management service type. The external account ID must not be specified for the account aggregation service + /// type. The external account ID is optional / may be specified for all other service types. + /// + [Newtonsoft.Json.JsonPropertyAttribute("externalAccountId")] + public virtual string ExternalAccountId { get; set; } + + /// + /// The provider manages products for this account. Payload for service type products management. + /// + [Newtonsoft.Json.JsonPropertyAttribute("productsManagement")] + public virtual ProductsManagement ProductsManagement { get; set; } + /// /// Required. The provider of the service. Either the reference to an account such as `providers/123` or a /// well-known service provider (one of `providers/GOOGLE_ADS` or `providers/GOOGLE_BUSINESS_PROFILE`). @@ -5684,6 +5802,12 @@ public class AddUser : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("userId")] public virtual string UserId { get; set; } + /// + /// Optional. Settings related to configuring the verification email that is sent after adding a user. + /// + [Newtonsoft.Json.JsonPropertyAttribute("verificationMailSettings")] + public virtual VerificationMailSettings VerificationMailSettings { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -6156,6 +6280,13 @@ public class ClaimHomepageRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// `ComparisonShopping` payload. + public class ComparisonShopping : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request message for the `CreateAndConfigureAccount` method. public class CreateAndConfigureAccountRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -6173,6 +6304,13 @@ public class CreateAndConfigureAccountRequest : Google.Apis.Requests.IDirectResp [Newtonsoft.Json.JsonPropertyAttribute("service")] public virtual System.Collections.Generic.IList Service { get; set; } + /// + /// Optional. If a relationship is created with a provider, you can set an alias for it with this field. The + /// calling user must be an admin on the provider to be able to set an alias. + /// + [Newtonsoft.Json.JsonPropertyAttribute("setAlias")] + public virtual System.Collections.Generic.IList SetAlias { get; set; } + /// Optional. Users to be added to the account. [Newtonsoft.Json.JsonPropertyAttribute("user")] public virtual System.Collections.Generic.IList User { get; set; } @@ -8114,6 +8252,27 @@ public class Service : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Set an alias for a relationship between a provider and the account to be created. + public class SetAliasForRelationship : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The unique ID of this account in the provider's system. The value must be unique across all + /// accounts on the platform for this provider. + /// + [Newtonsoft.Json.JsonPropertyAttribute("accountIdAlias")] + public virtual string AccountIdAlias { get; set; } + + /// + /// Required. The provider of the service. This is a reference to an account such as `providers/123` or + /// `accounts/123`. The same provider must be specified in at least one of the `service` fields. + /// + [Newtonsoft.Json.JsonPropertyAttribute("provider")] + public virtual string Provider { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// The Merchant Center account's [shipping settings](https://support.google.com/merchants/answer/6069284). The /// `ShippingSettings` resource lets you retrieve and update the shipping settings of your advanced account and all @@ -8531,6 +8690,26 @@ public class Value : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Settings related to the verification email that is sent after adding a user. + public class VerificationMailSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. Mode of the verification mail. If not set, the default is `SEND_VERIFICATION_MAIL`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("verificationMailMode")] + public virtual string VerificationMailMode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for the `VerifySelf` method. + public class VerifySelfRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A fulfillment warehouse, which stores and handles inventory. public class Warehouse : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj index 83988122f4b..4a5ecb19ec3 100644 --- a/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.accounts_v1beta/Google.Apis.Merchant.accounts_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.accounts_v1beta Client Library - 1.72.0.3948 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From 51c561aa84d92f580d4bdec6b17ceef5101e3c13 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:46 +0000 Subject: [PATCH 066/106] feat: Generate Google.Apis.Merchant.inventories_v1 version 1.72.0.3971 --- DiscoveryJson/merchantapi.inventories_v1.json | 48 +-- .../Google.Apis.Merchant.inventories_v1.cs | 402 ++++++++++++------ ...Google.Apis.Merchant.inventories_v1.csproj | 2 +- 3 files changed, 278 insertions(+), 174 deletions(-) diff --git a/DiscoveryJson/merchantapi.inventories_v1.json b/DiscoveryJson/merchantapi.inventories_v1.json index 22480697861..13de7bf762b 100644 --- a/DiscoveryJson/merchantapi.inventories_v1.json +++ b/DiscoveryJson/merchantapi.inventories_v1.json @@ -121,16 +121,11 @@ ], "parameters": { "name": { - "description": "Required. The name of the local inventory for the given product to delete. Format: `accounts/{account}/products/{product}/localInventories/{store_code}`", + "description": "Required. The name of the local inventory for the given product to delete. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1/{+name}", @@ -151,16 +146,11 @@ ], "parameters": { "parent": { - "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}`", + "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1/{+parent}/localInventories:insert", @@ -195,16 +185,11 @@ "type": "string" }, "parent": { - "description": "Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account}/products/{product}`", + "description": "Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1/{+parent}/localInventories", @@ -229,16 +214,11 @@ ], "parameters": { "name": { - "description": "Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account}/products/{product}/regionalInventories/{region}`", + "description": "Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1/{+name}", @@ -259,16 +239,11 @@ ], "parameters": { "parent": { - "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}`", + "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1/{+parent}/regionalInventories:insert", @@ -303,16 +278,11 @@ "type": "string" }, "parent": { - "description": "Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account}/products/{product}`", + "description": "Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1/{+parent}/regionalInventories", @@ -330,7 +300,7 @@ } } }, - "revision": "20251109", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Empty": { @@ -407,7 +377,7 @@ "description": "Optional. A list of local inventory attributes." }, "name": { - "description": "Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{store_code}`", + "description": "Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "readOnly": true, "type": "string" }, @@ -687,7 +657,7 @@ "type": "string" }, "name": { - "description": "Output only. The name of the `RegionalInventory` resource. Format: `{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}`", + "description": "Output only. The name of the `RegionalInventory` resource. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "readOnly": true, "type": "string" }, diff --git a/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.cs b/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.cs index ff9e9d825ad..0d65abd0c10 100644 --- a/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.cs +++ b/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.cs @@ -314,7 +314,25 @@ public LocalInventoriesResource(Google.Apis.Services.IClientService service) /// /// /// Required. The name of the local inventory for the given product to delete. Format: - /// `accounts/{account}/products/{product}/localInventories/{store_code}` + /// `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual DeleteRequest Delete(string name) { @@ -337,23 +355,30 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. The name of the local inventory for the given product to delete. Format: - /// `accounts/{account}/products/{product}/localInventories/{store_code}` + /// `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` + /// For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. + /// Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically + /// detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment + /// is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in + /// the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of + /// the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * + /// Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the + /// base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the + /// product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The + /// `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This + /// format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain + /// URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for + /// all product IDs to ensure correct parsing, especially those containing special characters. The + /// presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between + /// the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "delete"; @@ -375,14 +400,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -394,7 +411,25 @@ protected override void InitParameters() /// The body of the request. /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual InsertRequest Insert(Google.Apis.Merchant.inventories_v1.Data.LocalInventory body, string parent) { @@ -418,23 +453,30 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.Me /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets or sets the body of this request. Google.Apis.Merchant.inventories_v1.Data.LocalInventory Body { get; set; } @@ -462,14 +504,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -481,7 +515,25 @@ protected override void InitParameters() /// /// /// Required. The `name` of the parent product to list local inventories for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual ListRequest List(string parent) { @@ -505,7 +557,26 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The `name` of the parent product to list local inventories for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -528,18 +599,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "list"; @@ -577,14 +636,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } } @@ -614,7 +665,25 @@ public RegionalInventoriesResource(Google.Apis.Services.IClientService service) /// /// /// Required. The name of the `RegionalInventory` resource to delete. Format: - /// `accounts/{account}/products/{product}/regionalInventories/{region}` + /// `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual DeleteRequest Delete(string name) { @@ -638,23 +707,30 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. The name of the `RegionalInventory` resource to delete. Format: - /// `accounts/{account}/products/{product}/regionalInventories/{region}` + /// `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` + /// For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. + /// Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically + /// detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment + /// is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in + /// the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of + /// the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * + /// Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the + /// base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the + /// product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The + /// `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This + /// format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain + /// URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for + /// all product IDs to ensure correct parsing, especially those containing special characters. The + /// presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between + /// the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "delete"; @@ -676,14 +752,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -696,7 +764,25 @@ protected override void InitParameters() /// The body of the request. /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual InsertRequest Insert(Google.Apis.Merchant.inventories_v1.Data.RegionalInventory body, string parent) { @@ -721,23 +807,30 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.Me /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets or sets the body of this request. Google.Apis.Merchant.inventories_v1.Data.RegionalInventory Body { get; set; } @@ -765,14 +858,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -784,7 +869,25 @@ protected override void InitParameters() /// /// /// Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual ListRequest List(string parent) { @@ -808,7 +911,26 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -831,18 +953,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "list"; @@ -880,14 +990,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } } @@ -1053,7 +1155,23 @@ public class LocalInventory : Google.Apis.Requests.IDirectResponseSchema /// /// Output only. The name of the `LocalInventory` resource. Format: - /// `accounts/{account}/products/{product}/localInventories/{store_code}` + /// `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a unique + /// identifier for the product. This identifier must be unique within a merchant account and generally follows + /// the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, + /// the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of + /// the {product} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). + /// The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST + /// be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or + /// `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -1314,7 +1432,23 @@ public class RegionalInventory : Google.Apis.Requests.IDirectResponseSchema /// /// Output only. The name of the `RegionalInventory` resource. Format: - /// `{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}` + /// `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a unique + /// identifier for the product. This identifier must be unique within a merchant account and generally follows + /// the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, + /// the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of + /// the {product} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). + /// The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST + /// be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or + /// `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } diff --git a/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.csproj b/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.csproj index d3051d6327f..77cba655ce2 100644 --- a/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.csproj +++ b/Src/Generated/Google.Apis.Merchant.inventories_v1/Google.Apis.Merchant.inventories_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.inventories_v1 Client Library - 1.72.0.3965 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From bd9eb181dfef352a9ecff6f5cd83c224025b84db Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:48 +0000 Subject: [PATCH 067/106] feat: Generate Google.Apis.Merchant.inventories_v1beta version 1.72.0.3971 --- .../merchantapi.inventories_v1beta.json | 48 +-- ...Google.Apis.Merchant.inventories_v1beta.cs | 402 ++++++++++++------ ...le.Apis.Merchant.inventories_v1beta.csproj | 2 +- 3 files changed, 278 insertions(+), 174 deletions(-) diff --git a/DiscoveryJson/merchantapi.inventories_v1beta.json b/DiscoveryJson/merchantapi.inventories_v1beta.json index e67a9d32af3..06c72fe8a23 100644 --- a/DiscoveryJson/merchantapi.inventories_v1beta.json +++ b/DiscoveryJson/merchantapi.inventories_v1beta.json @@ -121,16 +121,11 @@ ], "parameters": { "name": { - "description": "Required. The name of the local inventory for the given product to delete. Format: `accounts/{account}/products/{product}/localInventories/{store_code}`", + "description": "Required. The name of the local inventory for the given product to delete. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1beta/{+name}", @@ -151,16 +146,11 @@ ], "parameters": { "parent": { - "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}`", + "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1beta/{+parent}/localInventories:insert", @@ -195,16 +185,11 @@ "type": "string" }, "parent": { - "description": "Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account}/products/{product}`", + "description": "Required. The `name` of the parent product to list local inventories for. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1beta/{+parent}/localInventories", @@ -229,16 +214,11 @@ ], "parameters": { "name": { - "description": "Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account}/products/{product}/regionalInventories/{region}`", + "description": "Required. The name of the `RegionalInventory` resource to delete. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1beta/{+name}", @@ -259,16 +239,11 @@ ], "parameters": { "parent": { - "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}`", + "description": "Required. The account and product where this inventory will be inserted. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1beta/{+parent}/regionalInventories:insert", @@ -303,16 +278,11 @@ "type": "string" }, "parent": { - "description": "Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account}/products/{product}`", + "description": "Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "inventories/v1beta/{+parent}/regionalInventories", @@ -330,7 +300,7 @@ } } }, - "revision": "20251109", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "CustomAttribute": { @@ -441,7 +411,7 @@ "type": "string" }, "name": { - "description": "Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{store_code}`", + "description": "Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "readOnly": true, "type": "string" }, @@ -666,7 +636,7 @@ "type": "array" }, "name": { - "description": "Output only. The name of the `RegionalInventory` resource. Format: `{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}`", + "description": "Output only. The name of the `RegionalInventory` resource. Format: `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "readOnly": true, "type": "string" }, diff --git a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs index 0bcb7df0c6b..16b45bc84e7 100644 --- a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.cs @@ -314,7 +314,25 @@ public LocalInventoriesResource(Google.Apis.Services.IClientService service) /// /// /// Required. The name of the local inventory for the given product to delete. Format: - /// `accounts/{account}/products/{product}/localInventories/{store_code}` + /// `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual DeleteRequest Delete(string name) { @@ -337,23 +355,30 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. The name of the local inventory for the given product to delete. Format: - /// `accounts/{account}/products/{product}/localInventories/{store_code}` + /// `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` + /// For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. + /// Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically + /// detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment + /// is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in + /// the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of + /// the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * + /// Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the + /// base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the + /// product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The + /// `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This + /// format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain + /// URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for + /// all product IDs to ensure correct parsing, especially those containing special characters. The + /// presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between + /// the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "delete"; @@ -375,14 +400,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+/localInventories/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -394,7 +411,25 @@ protected override void InitParameters() /// The body of the request. /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual InsertRequest Insert(Google.Apis.Merchant.inventories_v1beta.Data.LocalInventory body, string parent) { @@ -418,23 +453,30 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.Me /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets or sets the body of this request. Google.Apis.Merchant.inventories_v1beta.Data.LocalInventory Body { get; set; } @@ -462,14 +504,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -481,7 +515,25 @@ protected override void InitParameters() /// /// /// Required. The `name` of the parent product to list local inventories for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual ListRequest List(string parent) { @@ -505,7 +557,26 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The `name` of the parent product to list local inventories for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -528,18 +599,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "list"; @@ -577,14 +636,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } } @@ -614,7 +665,25 @@ public RegionalInventoriesResource(Google.Apis.Services.IClientService service) /// /// /// Required. The name of the `RegionalInventory` resource to delete. Format: - /// `accounts/{account}/products/{product}/regionalInventories/{region}` + /// `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual DeleteRequest Delete(string name) { @@ -638,23 +707,30 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. The name of the `RegionalInventory` resource to delete. Format: - /// `accounts/{account}/products/{product}/regionalInventories/{region}` + /// `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a + /// unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` + /// For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. + /// Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically + /// detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment + /// is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in + /// the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of + /// the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * + /// Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the + /// base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the + /// product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The + /// `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This + /// format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain + /// URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for + /// all product IDs to ensure correct parsing, especially those containing special characters. The + /// presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between + /// the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "delete"; @@ -676,14 +752,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+/regionalInventories/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -696,7 +764,25 @@ protected override void InitParameters() /// The body of the request. /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual InsertRequest Insert(Google.Apis.Merchant.inventories_v1beta.Data.RegionalInventory body, string parent) { @@ -721,23 +807,30 @@ public InsertRequest(Google.Apis.Services.IClientService service, Google.Apis.Me /// /// Required. The account and product where this inventory will be inserted. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets or sets the body of this request. Google.Apis.Merchant.inventories_v1beta.Data.RegionalInventory Body { get; set; } @@ -765,14 +858,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -784,7 +869,25 @@ protected override void InitParameters() /// /// /// Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of + /// this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{product}` segment is used to differentiate between the two formats. Note: For calls to the + /// v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// public virtual ListRequest List(string parent) { @@ -808,7 +911,26 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The `name` of the parent product to list `RegionalInventory` resources for. Format: - /// `accounts/{account}/products/{product}` + /// `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the + /// product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by + /// the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding + /// of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure + /// correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{product}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] public virtual string Parent { get; private set; } @@ -831,18 +953,6 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } - /// - /// Optional. If true, the `{product}` in the `parent` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. - /// Default value is `false`. Use this if your `{product}` contains special characters, such as - /// forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API - /// will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively - /// setting this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "list"; @@ -880,14 +990,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } } @@ -1090,7 +1192,23 @@ public class LocalInventory : Google.Apis.Requests.IDirectResponseSchema /// /// Output only. The name of the `LocalInventory` resource. Format: - /// `accounts/{account}/products/{product}/localInventories/{store_code}` + /// `accounts/{account}/products/{product}/localInventories/{store_code}` The {product} segment is a unique + /// identifier for the product. This identifier must be unique within a merchant account and generally follows + /// the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, + /// the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of + /// the {product} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). + /// The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST + /// be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or + /// `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -1347,7 +1465,23 @@ public class RegionalInventory : Google.Apis.Requests.IDirectResponseSchema /// /// Output only. The name of the `RegionalInventory` resource. Format: - /// `{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}` + /// `accounts/{account}/products/{product}/regionalInventories/{region}` The {product} segment is a unique + /// identifier for the product. This identifier must be unique within a merchant account and generally follows + /// the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, + /// the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of + /// the {product} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). + /// The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST + /// be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or + /// `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } diff --git a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj index 681bebcad9e..5f92a2cc9b6 100644 --- a/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.inventories_v1beta/Google.Apis.Merchant.inventories_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.inventories_v1beta Client Library - 1.72.0.3965 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From d3eaaf5544fe2ca98a7af29bb5396842eef138c8 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:50 +0000 Subject: [PATCH 068/106] feat: Generate Google.Apis.Merchant.issueresolution_v1 version 1.72.0.3971 --- .../merchantapi.issueresolution_v1.json | 9 +-- ...Google.Apis.Merchant.issueresolution_v1.cs | 58 ++++++++++++------- ...le.Apis.Merchant.issueresolution_v1.csproj | 2 +- 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/DiscoveryJson/merchantapi.issueresolution_v1.json b/DiscoveryJson/merchantapi.issueresolution_v1.json index 8775593b2d3..5c6a68160f8 100644 --- a/DiscoveryJson/merchantapi.issueresolution_v1.json +++ b/DiscoveryJson/merchantapi.issueresolution_v1.json @@ -209,17 +209,12 @@ "type": "string" }, "name": { - "description": "Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}`", + "description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" - }, "timeZone": { "description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", "location": "query", @@ -273,7 +268,7 @@ } } }, - "revision": "20251109", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Action": { diff --git a/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.cs b/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.cs index b37796c0f6c..f53f4e6b9af 100644 --- a/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.cs +++ b/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.cs @@ -508,7 +508,23 @@ protected override void InitParameters() /// /// The body of the request. /// - /// Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}` + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment is + /// a unique identifier for the product. This identifier must be unique within a merchant account and generally + /// follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The + /// format of the {product} segment in the URL is automatically detected by the server, supporting two options: + /// 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). + /// The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST + /// be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or + /// `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`. /// public virtual RenderproductissuesRequest Renderproductissues(Google.Apis.Merchant.issueresolution_v1.Data.RenderIssuesRequestPayload body, string name) { @@ -530,7 +546,25 @@ public RenderproductissuesRequest(Google.Apis.Services.IClientService service, G } /// - /// Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}` + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment + /// is a unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url + /// encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product + /// identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the + /// product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which + /// is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, + /// especially those containing special characters. The presence of tilde (`~`) characters in the + /// `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta + /// version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -542,18 +576,6 @@ public RenderproductissuesRequest(Google.Apis.Services.IClientService service, G [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] public virtual string LanguageCode { get; set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded - /// base64url-encoded and decoded during request processing to match the decoded value. Default value is - /// `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other - /// characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only - /// accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to - /// `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// /// Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue /// resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC. @@ -596,14 +618,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); RequestParameters.Add("timeZone", new Google.Apis.Discovery.Parameter { Name = "timeZone", diff --git a/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.csproj b/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.csproj index 3fa870acf34..dedd46cd0e9 100644 --- a/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.csproj +++ b/Src/Generated/Google.Apis.Merchant.issueresolution_v1/Google.Apis.Merchant.issueresolution_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.issueresolution_v1 Client Library - 1.72.0.3965 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From 17cc37a6807679a9a3ffdd1a182eba5594be4f7a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:52 +0000 Subject: [PATCH 069/106] feat: Generate Google.Apis.Merchant.issueresolution_v1beta version 1.72.0.3971 --- .../merchantapi.issueresolution_v1beta.json | 9 +-- ...le.Apis.Merchant.issueresolution_v1beta.cs | 58 ++++++++++++------- ...pis.Merchant.issueresolution_v1beta.csproj | 2 +- 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/DiscoveryJson/merchantapi.issueresolution_v1beta.json b/DiscoveryJson/merchantapi.issueresolution_v1beta.json index 10f29df07fd..b3ea8fea588 100644 --- a/DiscoveryJson/merchantapi.issueresolution_v1beta.json +++ b/DiscoveryJson/merchantapi.issueresolution_v1beta.json @@ -209,17 +209,12 @@ "type": "string" }, "name": { - "description": "Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}`", + "description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" - }, "timeZone": { "description": "Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC.", "location": "query", @@ -273,7 +268,7 @@ } } }, - "revision": "20251109", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Action": { diff --git a/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.cs b/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.cs index be779b4d47a..e3f86699537 100644 --- a/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.cs @@ -508,7 +508,23 @@ protected override void InitParameters() /// /// The body of the request. /// - /// Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}` + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment is + /// a unique identifier for the product. This identifier must be unique within a merchant account and generally + /// follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The + /// format of the {product} segment in the URL is automatically detected by the server, supporting two options: + /// 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). + /// The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST + /// be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or + /// `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`. /// public virtual RenderproductissuesRequest Renderproductissues(Google.Apis.Merchant.issueresolution_v1beta.Data.RenderIssuesRequestPayload body, string name) { @@ -530,7 +546,25 @@ public RenderproductissuesRequest(Google.Apis.Services.IClientService service, G } /// - /// Required. The name of the product to fetch issues for. Format: `accounts/{account}/products/{product}` + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment + /// is a unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url + /// encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product + /// identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the + /// product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which + /// is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, + /// especially those containing special characters. The presence of tilde (`~`) characters in the + /// `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta + /// version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -542,18 +576,6 @@ public RenderproductissuesRequest(Google.Apis.Services.IClientService service, G [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] public virtual string LanguageCode { get; set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded - /// base64url-encoded and decoded during request processing to match the decoded value. Default value is - /// `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other - /// characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only - /// accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to - /// `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// /// Optional. The [IANA](https://www.iana.org/time-zones) timezone used to localize times in an issue /// resolution content. For example 'America/Los_Angeles'. If not set, results will use as a default UTC. @@ -596,14 +618,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); RequestParameters.Add("timeZone", new Google.Apis.Discovery.Parameter { Name = "timeZone", diff --git a/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.csproj index 8d3dd3da6fa..cd3ee544419 100644 --- a/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.issueresolution_v1beta/Google.Apis.Merchant.issueresolution_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.issueresolution_v1beta Client Library - 1.72.0.3965 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From dc460974fb6744504ee6096fad1f18e45c51120a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:55 +0000 Subject: [PATCH 070/106] feat: Generate Google.Apis.Merchant.products_v1 version 1.72.0.3971 --- DiscoveryJson/merchantapi.products_v1.json | 29 +-- .../Google.Apis.Merchant.products_v1.cs | 240 ++++++++++-------- .../Google.Apis.Merchant.products_v1.csproj | 2 +- 3 files changed, 149 insertions(+), 122 deletions(-) diff --git a/DiscoveryJson/merchantapi.products_v1.json b/DiscoveryJson/merchantapi.products_v1.json index 773318d728a..a98934408e9 100644 --- a/DiscoveryJson/merchantapi.products_v1.json +++ b/DiscoveryJson/merchantapi.products_v1.json @@ -124,16 +124,11 @@ "type": "string" }, "name": { - "description": "Required. The name of the product input resource to delete. Format: `accounts/{account}/productInputs/{product}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/en~US~sku123`.", + "description": "Required. The name of the product input to delete. Format: `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productInput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productInput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productInput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productInput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productInput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/productInputs/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "products/v1/{+name}", @@ -178,7 +173,7 @@ ] }, "patch": { - "description": "Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", + "description": "Updates the existing product input in your Merchant Center account. The name of the product input to update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", "flatPath": "products/v1/accounts/{accountsId}/productInputs/{productInputsId}", "httpMethod": "PATCH", "id": "merchantapi.accounts.productInputs.patch", @@ -192,17 +187,12 @@ "type": "string" }, "name": { - "description": "Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.", + "description": "Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The {productinput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/productInputs/[^/]+$", "required": true, "type": "string" }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" - }, "updateMask": { "description": "Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special \"*\" value for full product replacement is not supported.", "format": "google-fieldmask", @@ -235,16 +225,11 @@ ], "parameters": { "name": { - "description": "Required. The name of the product to retrieve. Format: `accounts/{account}/products/{product}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", + "description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "products/v1/{+name}", @@ -296,7 +281,7 @@ } } }, - "revision": "20251109", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "AutomatedDiscounts": { @@ -985,7 +970,7 @@ "type": "object" }, "LoyaltyProgram": { - "description": "A message that represents loyalty program.", + "description": "LINT.IfChange(LoyaltyProgram) A message that represents loyalty program.", "id": "LoyaltyProgram", "properties": { "cashbackForFutureUse": { @@ -2055,7 +2040,7 @@ "type": "boolean" }, "name": { - "description": "Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.", + "description": "Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The {productinput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", "type": "string" }, "offerId": { diff --git a/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.cs b/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.cs index 82ff6f5054f..f2abe26e9c8 100644 --- a/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.cs +++ b/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.cs @@ -294,10 +294,26 @@ public ProductInputsResource(Google.Apis.Services.IClientService service) /// product input, it may take several minutes before the processed product can be retrieved. /// /// - /// Required. The name of the product input resource to delete. Format: - /// `accounts/{account}/productInputs/{product}` where the last section `product` consists of: - /// `content_language~feed_label~offer_id` example for product name is - /// `accounts/123/productInputs/en~US~sku123`. + /// Required. The name of the product input to delete. Format: + /// `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier for + /// the product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, + /// the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format + /// of the {productInput} segment in the URL is automatically detected by the server, supporting two + /// options: 1. **Encoded Format**: The `{productInput}` segment is an unpadded base64url encoded string + /// (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` + /// structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains + /// characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the + /// `{productInput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. + /// The full resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. + /// **Plain Format**: The `{productInput}` segment is the tilde-separated string + /// `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, + /// `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We + /// recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those + /// containing special characters. The presence of tilde (`~`) characters in the `{productInput}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format + /// is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// public virtual DeleteRequest Delete(string name) { @@ -318,10 +334,26 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : } /// - /// Required. The name of the product input resource to delete. Format: - /// `accounts/{account}/productInputs/{product}` where the last section `product` consists of: - /// `content_language~feed_label~offer_id` example for product name is - /// `accounts/123/productInputs/en~US~sku123`. + /// Required. The name of the product input to delete. Format: + /// `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier + /// for the product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {productInput} segment in the URL is automatically detected + /// by the server, supporting two options: 1. **Encoded Format**: The `{productInput}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{productInput}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would + /// be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productInput}` + /// segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is + /// suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic + /// characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to + /// ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{productInput}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, + /// for example: `accounts/123/productinputs/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -334,18 +366,6 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : [Google.Apis.Util.RequestParameterAttribute("dataSource", Google.Apis.Util.RequestParameterType.Query)] public virtual string DataSource { get; set; } - /// - /// Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. Default - /// value is `false`. Use this if your `{productInput}` contains special characters, such as forward - /// slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will - /// only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting - /// this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "delete"; @@ -375,14 +395,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -479,17 +491,32 @@ protected override void InitParameters() } /// - /// Updates the existing product input in your Merchant Center account. After inserting, updating, or + /// Updates the existing product input in your Merchant Center account. The name of the product input to + /// update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or /// deleting a product input, it may take several minutes before the processed product can be retrieved. /// /// The body of the request. /// - /// Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` - /// where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for - /// product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would - /// be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the - /// `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: - /// `accounts/123/productInputs/online~en~US~sku123`. + /// Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The + /// {productinput} segment is a unique identifier for the product. This identifier must be unique within a + /// merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: + /// `en~US~sku123` For legacy local products, the structure is: + /// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the + /// {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 + /// Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This + /// encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such + /// as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` + /// segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource + /// name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The + /// `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This + /// format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain + /// URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all + /// product IDs to ensure correct parsing, especially those containing special characters. The presence of + /// tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. + /// Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// public virtual PatchRequest Patch(Google.Apis.Merchant.products_v1.Data.ProductInput body, string name) { @@ -497,7 +524,8 @@ public virtual PatchRequest Patch(Google.Apis.Merchant.products_v1.Data.ProductI } /// - /// Updates the existing product input in your Merchant Center account. After inserting, updating, or + /// Updates the existing product input in your Merchant Center account. The name of the product input to + /// update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or /// deleting a product input, it may take several minutes before the processed product can be retrieved. /// public class PatchRequest : MerchantBaseServiceRequest @@ -511,12 +539,26 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer } /// - /// Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` - /// where the last section `productinput` consists of: `content_language~feed_label~offer_id` example - /// for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input - /// name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta - /// version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for - /// example: `accounts/123/productInputs/online~en~US~sku123`. + /// Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The + /// {productinput} segment is a unique identifier for the product. This identifier must be unique within + /// a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. + /// Example: `en~US~sku123` For legacy local products, the structure is: + /// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the + /// {productinput} segment in the URL is automatically detected by the server, supporting two options: + /// 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC + /// 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` + /// structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) + /// contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID + /// `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which + /// is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment + /// is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only + /// when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to + /// the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -529,18 +571,6 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer [Google.Apis.Util.RequestParameterAttribute("dataSource", Google.Apis.Util.RequestParameterType.Query)] public virtual string DataSource { get; set; } - /// - /// Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. Default - /// value is `false`. Use this if your `{productInput}` contains special characters, such as forward - /// slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will - /// only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting - /// this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// /// Optional. The list of product attributes to be updated. If the update mask is omitted, then it is /// treated as implied field mask equivalent to all fields that are populated (have a non-empty value). @@ -587,14 +617,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", @@ -629,11 +651,24 @@ public ProductsResource(Google.Apis.Services.IClientService service) /// deleting a product input, it may take several minutes before the updated final product can be retrieved. /// /// - /// Required. The name of the product to retrieve. Format: `accounts/{account}/products/{product}` where the - /// last section `product` consists of: `content_language~feed_label~offer_id` example for product name is - /// `accounts/123/products/en~US~sku123`. A legacy local product name would be - /// `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section - /// consists of: `channel~content_language~feed_label~offer_id`, for example: + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment + /// is a unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url + /// encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product + /// identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the + /// product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which + /// is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, + /// especially those containing special characters. The presence of tilde (`~`) characters in the + /// `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta + /// version, the plain format is `channel~content_language~feed_label~offer_id`, for example: /// `accounts/123/products/online~en~US~sku123`. /// public virtual GetRequest Get(string name) @@ -655,28 +690,30 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba } /// - /// Required. The name of the product to retrieve. Format: `accounts/{account}/products/{product}` where - /// the last section `product` consists of: `content_language~feed_label~offer_id` example for product - /// name is `accounts/123/products/en~US~sku123`. A legacy local product name would be - /// `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` - /// section consists of: `channel~content_language~feed_label~offer_id`, for example: + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} + /// segment is a unique identifier for the product. This identifier must be unique within a merchant + /// account and generally follows the structure: `content_language~feed_label~offer_id`. Example: + /// `en~US~sku123` For legacy local products, the structure is: + /// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the + /// {product} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 + /// Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. + /// This encoding MUST be used if any part of the product identifier (like `offer_id`) contains + /// characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the + /// `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. + /// The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. + /// **Plain Format**: The `{product}` segment is the tilde-separated string + /// `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, + /// `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We + /// recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` + /// segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the + /// plain format is `channel~content_language~feed_label~offer_id`, for example: /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. Default - /// value is `false`. Use this if your `{product}` contains special characters, such as forward slash - /// `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will - /// only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting - /// this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "get"; @@ -698,14 +735,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -1294,7 +1323,7 @@ public class LoyaltyPoints : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// A message that represents loyalty program. + /// LINT.IfChange(LoyaltyProgram) A message that represents loyalty program. public class LoyaltyProgram : Google.Apis.Requests.IDirectResponseSchema { /// The cashback that can be used for future purchases. @@ -2277,12 +2306,25 @@ public class ProductInput : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable LegacyLocal { get; set; } /// - /// Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where - /// the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product - /// input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be - /// `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` - /// section consists of: `channel~content_language~feed_label~offer_id`, for example: - /// `accounts/123/productInputs/online~en~US~sku123`. + /// Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The + /// {productinput} segment is a unique identifier for the product. This identifier must be unique within a + /// merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: + /// `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. + /// Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected + /// by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product + /// identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the + /// product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, + /// which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment + /// is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } diff --git a/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.csproj b/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.csproj index 340525e8326..63ed1055ddf 100644 --- a/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.csproj +++ b/Src/Generated/Google.Apis.Merchant.products_v1/Google.Apis.Merchant.products_v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.products_v1 Client Library - 1.72.0.3965 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From b8f1e266f8dd5eb7f650dd124640a2d68d25081d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:57 +0000 Subject: [PATCH 071/106] feat: Generate Google.Apis.Merchant.products_v1beta version 1.72.0.3971 --- .../merchantapi.products_v1beta.json | 29 +-- .../Google.Apis.Merchant.products_v1beta.cs | 240 ++++++++++-------- ...oogle.Apis.Merchant.products_v1beta.csproj | 2 +- 3 files changed, 149 insertions(+), 122 deletions(-) diff --git a/DiscoveryJson/merchantapi.products_v1beta.json b/DiscoveryJson/merchantapi.products_v1beta.json index cf96bb8aec9..a58d635bebc 100644 --- a/DiscoveryJson/merchantapi.products_v1beta.json +++ b/DiscoveryJson/merchantapi.products_v1beta.json @@ -124,16 +124,11 @@ "type": "string" }, "name": { - "description": "Required. The name of the product input resource to delete. Format: `accounts/{account}/productInputs/{product}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/productInputs/en~US~sku123`.", + "description": "Required. The name of the product input to delete. Format: `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productInput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productInput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productInput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productInput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productInput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/productInputs/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "products/v1beta/{+name}", @@ -178,7 +173,7 @@ ] }, "patch": { - "description": "Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", + "description": "Updates the existing product input in your Merchant Center account. The name of the product input to update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.", "flatPath": "products/v1beta/accounts/{accountsId}/productInputs/{productInputsId}", "httpMethod": "PATCH", "id": "merchantapi.accounts.productInputs.patch", @@ -192,17 +187,12 @@ "type": "string" }, "name": { - "description": "Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.", + "description": "Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The {productinput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/productInputs/[^/]+$", "required": true, "type": "string" }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{productInput}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" - }, "updateMask": { "description": "Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special \"*\" value for full product replacement is not supported.", "format": "google-fieldmask", @@ -235,16 +225,11 @@ ], "parameters": { "name": { - "description": "Required. The name of the product to retrieve. Format: `accounts/{account}/products/{product}` where the last section `product` consists of: `content_language~feed_label~offer_id` example for product name is `accounts/123/products/en~US~sku123`. A legacy local product name would be `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", + "description": "Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/products/online~en~US~sku123`.", "location": "path", "pattern": "^accounts/[^/]+/products/[^/]+$", "required": true, "type": "string" - }, - "productIdBase64UrlEncoded": { - "description": "Optional. If true, the `{product}` in the `name` field of the request will be interpreted as unpadded base64url-encoded and decoded during request processing to match the decoded value. Default value is `false`. Use this if your `{product}` contains special characters, such as forward slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting this to `true` and encoding the product ids.", - "location": "query", - "type": "boolean" } }, "path": "products/v1beta/{+name}", @@ -296,7 +281,7 @@ } } }, - "revision": "20251109", + "revision": "20251115", "rootUrl": "https://merchantapi.googleapis.com/", "schemas": { "Attributes": { @@ -1194,7 +1179,7 @@ "type": "object" }, "LoyaltyProgram": { - "description": "A message that represents loyalty program.", + "description": "LINT.IfChange(LoyaltyProgram) A message that represents loyalty program.", "id": "LoyaltyProgram", "properties": { "cashbackForFutureUse": { @@ -1479,7 +1464,7 @@ "type": "string" }, "name": { - "description": "Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productInputs/online~en~US~sku123`.", + "description": "Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The {productinput} segment is a unique identifier for the product. This identifier must be unique within a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: `accounts/123/productinputs/online~en~US~sku123`.", "type": "string" }, "offerId": { diff --git a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs index 022340fbc71..7c94c1fa138 100644 --- a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs +++ b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.cs @@ -294,10 +294,26 @@ public ProductInputsResource(Google.Apis.Services.IClientService service) /// product input, it may take several minutes before the processed product can be retrieved. /// /// - /// Required. The name of the product input resource to delete. Format: - /// `accounts/{account}/productInputs/{product}` where the last section `product` consists of: - /// `content_language~feed_label~offer_id` example for product name is - /// `accounts/123/productInputs/en~US~sku123`. + /// Required. The name of the product input to delete. Format: + /// `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier for + /// the product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local products, + /// the structure is: `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format + /// of the {productInput} segment in the URL is automatically detected by the server, supporting two + /// options: 1. **Encoded Format**: The `{productInput}` segment is an unpadded base64url encoded string + /// (RFC 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` + /// structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) contains + /// characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the + /// `{productInput}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. + /// The full resource name for the product would be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. + /// **Plain Format**: The `{productInput}` segment is the tilde-separated string + /// `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, + /// `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We + /// recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially those + /// containing special characters. The presence of tilde (`~`) characters in the `{productInput}` segment is + /// used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format + /// is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// public virtual DeleteRequest Delete(string name) { @@ -318,10 +334,26 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : } /// - /// Required. The name of the product input resource to delete. Format: - /// `accounts/{account}/productInputs/{product}` where the last section `product` consists of: - /// `content_language~feed_label~offer_id` example for product name is - /// `accounts/123/productInputs/en~US~sku123`. + /// Required. The name of the product input to delete. Format: + /// `accounts/{account}/productInputs/{productInput}` The {productInput} segment is a unique identifier + /// for the product. This identifier must be unique within a merchant account and generally follows the + /// structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For legacy local + /// products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {productInput} segment in the URL is automatically detected + /// by the server, supporting two options: 1. **Encoded Format**: The `{productInput}` segment is an + /// unpadded base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the + /// product identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To + /// represent the product ID `en~US~sku/123`, the `{productInput}` segment must be the base64url + /// encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would + /// be `accounts/123/productInputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productInput}` + /// segment is the tilde-separated string `content_language~feed_label~offer_id`. This format is + /// suitable only when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic + /// characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to + /// ensure correct parsing, especially those containing special characters. The presence of tilde (`~`) + /// characters in the `{productInput}` segment is used to differentiate between the two formats. Note: + /// For calls to the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, + /// for example: `accounts/123/productinputs/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -334,18 +366,6 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : [Google.Apis.Util.RequestParameterAttribute("dataSource", Google.Apis.Util.RequestParameterType.Query)] public virtual string DataSource { get; set; } - /// - /// Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. Default - /// value is `false`. Use this if your `{productInput}` contains special characters, such as forward - /// slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will - /// only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting - /// this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "delete"; @@ -375,14 +395,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -479,17 +491,32 @@ protected override void InitParameters() } /// - /// Updates the existing product input in your Merchant Center account. After inserting, updating, or + /// Updates the existing product input in your Merchant Center account. The name of the product input to + /// update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or /// deleting a product input, it may take several minutes before the processed product can be retrieved. /// /// The body of the request. /// - /// Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` - /// where the last section `productinput` consists of: `content_language~feed_label~offer_id` example for - /// product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would - /// be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the - /// `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for example: - /// `accounts/123/productInputs/online~en~US~sku123`. + /// Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The + /// {productinput} segment is a unique identifier for the product. This identifier must be unique within a + /// merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: + /// `en~US~sku123` For legacy local products, the structure is: + /// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the + /// {productinput} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC 4648 + /// Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. This + /// encoding MUST be used if any part of the product identifier (like `offer_id`) contains characters such + /// as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the `{productinput}` + /// segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. The full resource + /// name for the product would be `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The + /// `{productinput}` segment is the tilde-separated string `content_language~feed_label~offer_id`. This + /// format is suitable only when `content_language`, `feed_label`, and `offer_id` do not contain + /// URL-problematic characters like `/`, `%`, or `~`. We recommend using the **Encoded Format** for all + /// product IDs to ensure correct parsing, especially those containing special characters. The presence of + /// tilde (`~`) characters in the `{productinput}` segment is used to differentiate between the two formats. + /// Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// public virtual PatchRequest Patch(Google.Apis.Merchant.products_v1beta.Data.ProductInput body, string name) { @@ -497,7 +524,8 @@ public virtual PatchRequest Patch(Google.Apis.Merchant.products_v1beta.Data.Prod } /// - /// Updates the existing product input in your Merchant Center account. After inserting, updating, or + /// Updates the existing product input in your Merchant Center account. The name of the product input to + /// update is taken from the `name` field within the `ProductInput` resource. After inserting, updating, or /// deleting a product input, it may take several minutes before the processed product can be retrieved. /// public class PatchRequest : MerchantBaseServiceRequest @@ -511,12 +539,26 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer } /// - /// Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` - /// where the last section `productinput` consists of: `content_language~feed_label~offer_id` example - /// for product input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input - /// name would be `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta - /// version, the `productInput` section consists of: `channel~content_language~feed_label~offer_id`, for - /// example: `accounts/123/productInputs/online~en~US~sku123`. + /// Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The + /// {productinput} segment is a unique identifier for the product. This identifier must be unique within + /// a merchant account and generally follows the structure: `content_language~feed_label~offer_id`. + /// Example: `en~US~sku123` For legacy local products, the structure is: + /// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the + /// {productinput} segment in the URL is automatically detected by the server, supporting two options: + /// 1. **Encoded Format**: The `{productinput}` segment is an unpadded base64url encoded string (RFC + /// 4648 Section 5). The decoded string must result in the `content_language~feed_label~offer_id` + /// structure. This encoding MUST be used if any part of the product identifier (like `offer_id`) + /// contains characters such as `/`, `%`, or `~`. * Example: To represent the product ID + /// `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, which + /// is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment + /// is the tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only + /// when `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like + /// `/`, `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct + /// parsing, especially those containing special characters. The presence of tilde (`~`) characters in + /// the `{productinput}` segment is used to differentiate between the two formats. Note: For calls to + /// the v1beta version, the plain format is `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -529,18 +571,6 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Mer [Google.Apis.Util.RequestParameterAttribute("dataSource", Google.Apis.Util.RequestParameterType.Query)] public virtual string DataSource { get; set; } - /// - /// Optional. If true, the `{productInput}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. Default - /// value is `false`. Use this if your `{productInput}` contains special characters, such as forward - /// slash `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will - /// only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting - /// this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// /// Optional. The list of product attributes to be updated. If the update mask is omitted, then it is /// treated as implied field mask equivalent to all fields that are populated (have a non-empty value). @@ -587,14 +617,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", @@ -629,11 +651,24 @@ public ProductsResource(Google.Apis.Services.IClientService service) /// deleting a product input, it may take several minutes before the updated final product can be retrieved. /// /// - /// Required. The name of the product to retrieve. Format: `accounts/{account}/products/{product}` where the - /// last section `product` consists of: `content_language~feed_label~offer_id` example for product name is - /// `accounts/123/products/en~US~sku123`. A legacy local product name would be - /// `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` section - /// consists of: `channel~content_language~feed_label~offer_id`, for example: + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} segment + /// is a unique identifier for the product. This identifier must be unique within a merchant account and + /// generally follows the structure: `content_language~feed_label~offer_id`. Example: `en~US~sku123` For + /// legacy local products, the structure is: `local~content_language~feed_label~offer_id`. Example: + /// `local~en~US~sku123` The format of the {product} segment in the URL is automatically detected by the + /// server, supporting two options: 1. **Encoded Format**: The `{product}` segment is an unpadded base64url + /// encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product + /// identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the + /// product ID `en~US~sku/123`, the `{product}` segment must be the base64url encoding of this string, which + /// is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{product}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, + /// `%`, or `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, + /// especially those containing special characters. The presence of tilde (`~`) characters in the + /// `{product}` segment is used to differentiate between the two formats. Note: For calls to the v1beta + /// version, the plain format is `channel~content_language~feed_label~offer_id`, for example: /// `accounts/123/products/online~en~US~sku123`. /// public virtual GetRequest Get(string name) @@ -655,28 +690,30 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba } /// - /// Required. The name of the product to retrieve. Format: `accounts/{account}/products/{product}` where - /// the last section `product` consists of: `content_language~feed_label~offer_id` example for product - /// name is `accounts/123/products/en~US~sku123`. A legacy local product name would be - /// `accounts/123/products/local~en~US~sku123`. Note: For calls to the v1beta version, the `product` - /// section consists of: `channel~content_language~feed_label~offer_id`, for example: + /// Required. The name of the product. Format: `accounts/{account}/products/{product}` The {product} + /// segment is a unique identifier for the product. This identifier must be unique within a merchant + /// account and generally follows the structure: `content_language~feed_label~offer_id`. Example: + /// `en~US~sku123` For legacy local products, the structure is: + /// `local~content_language~feed_label~offer_id`. Example: `local~en~US~sku123` The format of the + /// {product} segment in the URL is automatically detected by the server, supporting two options: 1. + /// **Encoded Format**: The `{product}` segment is an unpadded base64url encoded string (RFC 4648 + /// Section 5). The decoded string must result in the `content_language~feed_label~offer_id` structure. + /// This encoding MUST be used if any part of the product identifier (like `offer_id`) contains + /// characters such as `/`, `%`, or `~`. * Example: To represent the product ID `en~US~sku/123`, the + /// `{product}` segment must be the base64url encoding of this string, which is `ZW5-VVMtc2t1LzEyMw`. + /// The full resource name for the product would be `accounts/123/products/ZW5-VVMtc2t1LzEyMw`. 2. + /// **Plain Format**: The `{product}` segment is the tilde-separated string + /// `content_language~feed_label~offer_id`. This format is suitable only when `content_language`, + /// `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or `~`. We + /// recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{product}` + /// segment is used to differentiate between the two formats. Note: For calls to the v1beta version, the + /// plain format is `channel~content_language~feed_label~offer_id`, for example: /// `accounts/123/products/online~en~US~sku123`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } - /// - /// Optional. If true, the `{product}` in the `name` field of the request will be interpreted as - /// unpadded base64url-encoded and decoded during request processing to match the decoded value. Default - /// value is `false`. Use this if your `{product}` contains special characters, such as forward slash - /// `/` or other characters that are unpadded base64url-encoded (as per RFC 7515: - /// https://datatracker.ietf.org/doc/html/rfc7515#section-2). Note that future versions of the API will - /// only accept unpadded base64url-encoded product ids, so we strongly recommend proactively setting - /// this to `true` and encoding the product ids. - /// - [Google.Apis.Util.RequestParameterAttribute("productIdBase64UrlEncoded", Google.Apis.Util.RequestParameterType.Query)] - public virtual System.Nullable ProductIdBase64UrlEncoded { get; set; } - /// Gets the method name. public override string MethodName => "get"; @@ -698,14 +735,6 @@ protected override void InitParameters() DefaultValue = null, Pattern = @"^accounts/[^/]+/products/[^/]+$", }); - RequestParameters.Add("productIdBase64UrlEncoded", new Google.Apis.Discovery.Parameter - { - Name = "productIdBase64UrlEncoded", - IsRequired = false, - ParameterType = "query", - DefaultValue = null, - Pattern = null, - }); } } @@ -1856,7 +1885,7 @@ public class LoyaltyPoints : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// A message that represents loyalty program. + /// LINT.IfChange(LoyaltyProgram) A message that represents loyalty program. public class LoyaltyProgram : Google.Apis.Requests.IDirectResponseSchema { /// The cashback that can be used for future purchases. @@ -2150,12 +2179,25 @@ public class ProductInput : Google.Apis.Requests.IDirectResponseSchema public virtual string FeedLabel { get; set; } /// - /// Identifier. The name of the product input. Format: `accounts/{account}/productInputs/{productinput}` where - /// the last section `productinput` consists of: `content_language~feed_label~offer_id` example for product - /// input name is `accounts/123/productInputs/en~US~sku123`. A legacy local product input name would be - /// `accounts/123/productInputs/local~en~US~sku123`. Note: For calls to the v1beta version, the `productInput` - /// section consists of: `channel~content_language~feed_label~offer_id`, for example: - /// `accounts/123/productInputs/online~en~US~sku123`. + /// Identifier. The name of the product. Format: `accounts/{account}/productInputs/{productinput}` The + /// {productinput} segment is a unique identifier for the product. This identifier must be unique within a + /// merchant account and generally follows the structure: `content_language~feed_label~offer_id`. Example: + /// `en~US~sku123` For legacy local products, the structure is: `local~content_language~feed_label~offer_id`. + /// Example: `local~en~US~sku123` The format of the {productinput} segment in the URL is automatically detected + /// by the server, supporting two options: 1. **Encoded Format**: The `{productinput}` segment is an unpadded + /// base64url encoded string (RFC 4648 Section 5). The decoded string must result in the + /// `content_language~feed_label~offer_id` structure. This encoding MUST be used if any part of the product + /// identifier (like `offer_id`) contains characters such as `/`, `%`, or `~`. * Example: To represent the + /// product ID `en~US~sku/123`, the `{productinput}` segment must be the base64url encoding of this string, + /// which is `ZW5-VVMtc2t1LzEyMw`. The full resource name for the product would be + /// `accounts/123/productinputs/ZW5-VVMtc2t1LzEyMw`. 2. **Plain Format**: The `{productinput}` segment is the + /// tilde-separated string `content_language~feed_label~offer_id`. This format is suitable only when + /// `content_language`, `feed_label`, and `offer_id` do not contain URL-problematic characters like `/`, `%`, or + /// `~`. We recommend using the **Encoded Format** for all product IDs to ensure correct parsing, especially + /// those containing special characters. The presence of tilde (`~`) characters in the `{productinput}` segment + /// is used to differentiate between the two formats. Note: For calls to the v1beta version, the plain format is + /// `channel~content_language~feed_label~offer_id`, for example: + /// `accounts/123/productinputs/online~en~US~sku123`. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } diff --git a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj index 2c9435e0bde..a5493763d38 100644 --- a/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj +++ b/Src/Generated/Google.Apis.Merchant.products_v1beta/Google.Apis.Merchant.products_v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Merchant.products_v1beta Client Library - 1.72.0.3965 + 1.72.0.3971 Google LLC Copyright 2025 Google LLC Google From 9425976d3878770fa40b3f1084cd99e2db620bb4 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:25:59 +0000 Subject: [PATCH 072/106] feat: Generate Google.Apis.MigrationCenterAPI.v1 version 1.72.0.3967 --- DiscoveryJson/migrationcenter.v1.json | 6 +++++- .../Google.Apis.MigrationCenterAPI.v1.cs | 4 ++++ .../Google.Apis.MigrationCenterAPI.v1.csproj | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/migrationcenter.v1.json b/DiscoveryJson/migrationcenter.v1.json index 532d1fe061c..580b8211c9f 100644 --- a/DiscoveryJson/migrationcenter.v1.json +++ b/DiscoveryJson/migrationcenter.v1.json @@ -2440,7 +2440,7 @@ } } }, - "revision": "20251106", + "revision": "20251111", "rootUrl": "https://migrationcenter.googleapis.com/", "schemas": { "AddAssetsToGroupRequest": { @@ -5156,6 +5156,10 @@ "$ref": "NetworkAdapterList", "description": "List of network adapters." }, + "defaultGateway": { + "description": "Optional. Default gateway address.", + "type": "string" + }, "primaryIpAddress": { "description": "The primary IP address of the machine.", "type": "string" diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs index 989166dd816..aa91376acfc 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.cs @@ -8237,6 +8237,10 @@ public class MachineNetworkDetails : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("adapters")] public virtual NetworkAdapterList Adapters { get; set; } + /// Optional. Default gateway address. + [Newtonsoft.Json.JsonPropertyAttribute("defaultGateway")] + public virtual string DefaultGateway { get; set; } + /// The primary IP address of the machine. [Newtonsoft.Json.JsonPropertyAttribute("primaryIpAddress")] public virtual string PrimaryIpAddress { get; set; } diff --git a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj index afd2597dc38..3adce9f44c4 100644 --- a/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj +++ b/Src/Generated/Google.Apis.MigrationCenterAPI.v1/Google.Apis.MigrationCenterAPI.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MigrationCenterAPI.v1 Client Library - 1.72.0.3962 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From 8751cc4aea4ec3f6acd043009386c482fddb0c38 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:01 +0000 Subject: [PATCH 073/106] feat: Generate Google.Apis.NetAppFiles.v1 version 1.72.0.3965 --- DiscoveryJson/netapp.v1.json | 8 +++----- .../Google.Apis.NetAppFiles.v1.csproj | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/netapp.v1.json b/DiscoveryJson/netapp.v1.json index 4123c6352e1..5f6bbab5f7f 100644 --- a/DiscoveryJson/netapp.v1.json +++ b/DiscoveryJson/netapp.v1.json @@ -2515,7 +2515,7 @@ } } }, - "revision": "20251029", + "revision": "20251109", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -4606,8 +4606,7 @@ "UPDATING", "RESTORING", "DISABLED", - "ERROR", - "DEGRADED" + "ERROR" ], "enumDescriptions": [ "Unspecified Storage Pool State", @@ -4617,8 +4616,7 @@ "Storage Pool State is Updating", "Storage Pool State is Restoring", "Storage Pool State is Disabled", - "Storage Pool State is Error", - "Storage Pool State is Degraded The storage pool is operational, but with reduced performance." + "Storage Pool State is Error" ], "readOnly": true, "type": "string" diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj index 467425d3f98..06fce6007a2 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj +++ b/Src/Generated/Google.Apis.NetAppFiles.v1/Google.Apis.NetAppFiles.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetAppFiles.v1 Client Library - 1.72.0.3954 + 1.72.0.3965 Google LLC Copyright 2025 Google LLC Google From 1dfe92a9a4daaff43ea878dbcb2a5f8f7e79f759 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:03 +0000 Subject: [PATCH 074/106] feat: Generate Google.Apis.NetAppFiles.v1beta1 version 1.72.0.3965 --- DiscoveryJson/netapp.v1beta1.json | 8 +++----- .../Google.Apis.NetAppFiles.v1beta1.csproj | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/netapp.v1beta1.json b/DiscoveryJson/netapp.v1beta1.json index 5c33ac031ff..4f2a39583c3 100644 --- a/DiscoveryJson/netapp.v1beta1.json +++ b/DiscoveryJson/netapp.v1beta1.json @@ -2543,7 +2543,7 @@ } } }, - "revision": "20251029", + "revision": "20251109", "rootUrl": "https://netapp.googleapis.com/", "schemas": { "ActiveDirectory": { @@ -4660,8 +4660,7 @@ "UPDATING", "RESTORING", "DISABLED", - "ERROR", - "DEGRADED" + "ERROR" ], "enumDescriptions": [ "Unspecified Storage Pool State", @@ -4671,8 +4670,7 @@ "Storage Pool State is Updating", "Storage Pool State is Restoring", "Storage Pool State is Disabled", - "Storage Pool State is Error", - "Storage Pool State is Degraded The storage pool is operational, but with reduced performance." + "Storage Pool State is Error" ], "readOnly": true, "type": "string" diff --git a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj index 9ab80ad11c4..b6c77f416dd 100644 --- a/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetAppFiles.v1beta1/Google.Apis.NetAppFiles.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetAppFiles.v1beta1 Client Library - 1.72.0.3954 + 1.72.0.3965 Google LLC Copyright 2025 Google LLC Google From e2ef180f549e8a41e60c3e46a571723f5dc7e6e8 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:06 +0000 Subject: [PATCH 075/106] feat: Generate Google.Apis.NetworkManagement.v1 version 1.72.0.3961 --- DiscoveryJson/networkmanagement.v1.json | 20 ++++++++++++------- .../Google.Apis.NetworkManagement.v1.cs | 12 +++++------ .../Google.Apis.NetworkManagement.v1.csproj | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/DiscoveryJson/networkmanagement.v1.json b/DiscoveryJson/networkmanagement.v1.json index 943f8cce655..a0917dd902d 100644 --- a/DiscoveryJson/networkmanagement.v1.json +++ b/DiscoveryJson/networkmanagement.v1.json @@ -427,7 +427,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", + "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -1090,7 +1090,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", + "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1233,7 +1233,7 @@ } } }, - "revision": "20251022", + "revision": "20251105", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1900,7 +1900,8 @@ "L2_INTERCONNECT_UNSUPPORTED_PORT", "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", - "HYBRID_SUBNET_REGION_MISMATCH" + "HYBRID_SUBNET_REGION_MISMATCH", + "HYBRID_SUBNET_NO_ROUTE" ], "enumDescriptions": [ "Cause is unspecified.", @@ -2001,7 +2002,8 @@ "Packet is dropped due to using an unsupported port (any other than 6081) for L2 Interconnect.", "Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment.", "Packet could be dropped because it matches a route associated with an NCC spoke in the hybrid subnet context, but such a configuration is not supported.", - "Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet." + "Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet.", + "Packet is dropped because no matching route was found in the hybrid subnet." ], "type": "string" }, @@ -2403,6 +2405,8 @@ "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", + "SYSTEM_NETWORK_FIREWALL_POLICY_RULE", + "SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE", "UNSUPPORTED_FIREWALL_POLICY_RULE", "TRACKING_STATE", "ANALYSIS_SKIPPED" @@ -2413,8 +2417,10 @@ "VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).", "Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).", "Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", - "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", - "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", + "User-defined global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", + "User-defined regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", + "System-defined global network firewall policy rule.", + "System-defined regional network firewall policy rule.", "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)", "Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode" diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs index feeeb28d656..21d81d624c0 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs +++ b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.cs @@ -816,8 +816,8 @@ protected override void InitParameters() /// Lists all `VpcFlowLogsConfigs` in a given organization. /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: - /// `organizations/{organization_id}/locations/global` + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level + /// resources: `organizations/{organization_id}/locations/global` /// public virtual ListRequest List(string parent) { @@ -836,7 +836,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level /// resources: `organizations/{organization_id}/locations/global` /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] @@ -2446,8 +2446,8 @@ protected override void InitParameters() /// Lists all `VpcFlowLogsConfigs` in a given project. /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: - /// `organizations/{organization_id}/locations/global` + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level + /// resources: `organizations/{organization_id}/locations/global` /// public virtual ListRequest List(string parent) { @@ -2466,7 +2466,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level /// resources: `organizations/{organization_id}/locations/global` /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj index d5d2f9d0e42..5193686a9c0 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1/Google.Apis.NetworkManagement.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1 Client Library - 1.72.0.3947 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From d1db473edb2a72d0308733f45280400c322c3f38 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:08 +0000 Subject: [PATCH 076/106] feat: Generate Google.Apis.NetworkManagement.v1beta1 version 1.72.0.3961 --- DiscoveryJson/networkmanagement.v1beta1.json | 20 ++++++++++++------- .../Google.Apis.NetworkManagement.v1beta1.cs | 12 +++++------ ...ogle.Apis.NetworkManagement.v1beta1.csproj | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/DiscoveryJson/networkmanagement.v1beta1.json b/DiscoveryJson/networkmanagement.v1beta1.json index 28dd4a785a6..9d64605a55b 100644 --- a/DiscoveryJson/networkmanagement.v1beta1.json +++ b/DiscoveryJson/networkmanagement.v1beta1.json @@ -431,7 +431,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", + "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", "location": "path", "pattern": "^organizations/[^/]+/locations/[^/]+$", "required": true, @@ -1094,7 +1094,7 @@ "type": "string" }, "parent": { - "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", + "description": "Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For project-level resources: `projects/{project_id}/locations/global` - For organization-level resources: `organizations/{organization_id}/locations/global`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+$", "required": true, @@ -1237,7 +1237,7 @@ } } }, - "revision": "20251022", + "revision": "20251105", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1904,7 +1904,8 @@ "L2_INTERCONNECT_UNSUPPORTED_PORT", "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", - "HYBRID_SUBNET_REGION_MISMATCH" + "HYBRID_SUBNET_REGION_MISMATCH", + "HYBRID_SUBNET_NO_ROUTE" ], "enumDescriptions": [ "Cause is unspecified.", @@ -2005,7 +2006,8 @@ "Packet is dropped due to using an unsupported port (any other than 6081) for L2 Interconnect.", "Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment.", "Packet could be dropped because it matches a route associated with an NCC spoke in the hybrid subnet context, but such a configuration is not supported.", - "Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet." + "Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet.", + "Packet is dropped because no matching route was found in the hybrid subnet." ], "type": "string" }, @@ -2415,6 +2417,8 @@ "SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE", "NETWORK_FIREWALL_POLICY_RULE", "NETWORK_REGIONAL_FIREWALL_POLICY_RULE", + "SYSTEM_NETWORK_FIREWALL_POLICY_RULE", + "SYSTEM_REGIONAL_NETWORK_FIREWALL_POLICY_RULE", "UNSUPPORTED_FIREWALL_POLICY_RULE", "TRACKING_STATE", "ANALYSIS_SKIPPED" @@ -2425,8 +2429,10 @@ "VPC firewall rule. For details, see [VPC firewall rules overview](https://cloud.google.com/vpc/docs/firewalls).", "Implied VPC firewall rule. For details, see [Implied rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules).", "Implicit firewall rules that are managed by serverless VPC access to allow ingress access. They are not visible in the Google Cloud console. For details, see [VPC connector's implicit rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access).", - "Global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", - "Regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", + "User-defined global network firewall policy rule. For details, see [Network firewall policies](https://cloud.google.com/vpc/docs/network-firewall-policies).", + "User-defined regional network firewall policy rule. For details, see [Regional network firewall policies](https://cloud.google.com/firewall/docs/regional-firewall-policies).", + "System-defined global network firewall policy rule.", + "System-defined regional network firewall policy rule.", "Firewall policy rule containing attributes not yet supported in Connectivity tests. Firewall analysis is skipped if such a rule can potentially be matched. Please see the [list of unsupported configurations](https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs).", "Tracking state for response traffic created when request traffic goes through allow firewall rule. For details, see [firewall rules specifications](https://cloud.google.com/firewall/docs/firewalls#specifications)", "Firewall analysis was skipped due to executing Connectivity Test in the BypassFirewallChecks mode" diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs index 4c859c1cab8..5fbb21f0edb 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.cs @@ -837,8 +837,8 @@ protected override void InitParameters() /// Lists all `VpcFlowLogsConfigs` in a given organization. /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: - /// `organizations/{organization_id}/locations/global` + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level + /// resources: `organizations/{organization_id}/locations/global` /// public virtual ListRequest List(string parent) { @@ -857,7 +857,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level /// resources: `organizations/{organization_id}/locations/global` /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] @@ -2467,8 +2467,8 @@ protected override void InitParameters() /// Lists all `VpcFlowLogsConfigs` in a given project. /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level resources: - /// `organizations/{organization_id}/locations/global` + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level + /// resources: `organizations/{organization_id}/locations/global` /// public virtual ListRequest List(string parent) { @@ -2487,7 +2487,7 @@ public ListRequest(Google.Apis.Services.IClientService service, string parent) : /// /// Required. The parent resource of the VpcFlowLogsConfig, in one of the following formats: - For - /// project-level resourcs: `projects/{project_id}/locations/global` - For organization-level + /// project-level resources: `projects/{project_id}/locations/global` - For organization-level /// resources: `organizations/{organization_id}/locations/global` /// [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] diff --git a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj index c7daeb7051f..59ba4e87dff 100644 --- a/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkManagement.v1beta1/Google.Apis.NetworkManagement.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkManagement.v1beta1 Client Library - 1.72.0.3947 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 6b0b9ca31c73894d8c3b771706b3c6d657726899 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:10 +0000 Subject: [PATCH 077/106] feat: Generate Google.Apis.NetworkServices.v1 version 1.72.0.3961 --- DiscoveryJson/networkservices.v1.json | 8 +++++--- .../Google.Apis.NetworkServices.v1.csproj | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/networkservices.v1.json b/DiscoveryJson/networkservices.v1.json index 33f3a33319c..fb477dcd28e 100644 --- a/DiscoveryJson/networkservices.v1.json +++ b/DiscoveryJson/networkservices.v1.json @@ -3191,7 +3191,7 @@ } } }, - "revision": "20251029", + "revision": "20251105", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuditConfig": { @@ -3323,11 +3323,13 @@ "description": "Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.", "enum": [ "WIRE_FORMAT_UNSPECIFIED", - "EXT_PROC_GRPC" + "EXT_PROC_GRPC", + "EXT_AUTHZ_GRPC" ], "enumDescriptions": [ "Not specified.", - "The extension service uses ext_proc gRPC API over a gRPC stream. This is the default value if the wire format is not specified. The backend service for the extension must use HTTP2 or H2C as the protocol. All `supported_events` for a client request are sent as part of the same gRPC stream." + "The extension service uses ext_proc gRPC API over a gRPC stream. This is the default value if the wire format is not specified. The backend service for the extension must use HTTP2 or H2C as the protocol. All `supported_events` for a client request are sent as part of the same gRPC stream.", + "The extension service uses Envoy's `ext_authz` gRPC API. The backend service for the extension must use HTTP2, or H2C as the protocol. `EXT_AUTHZ_GRPC` is only supported for regional `AuthzExtension` resources." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj index 8b1c460ad22..1ca0a8d2455 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj +++ b/Src/Generated/Google.Apis.NetworkServices.v1/Google.Apis.NetworkServices.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkServices.v1 Client Library - 1.72.0.3954 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 3902be3d17904e7ffd859ad7947f42529abc0d7f Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:12 +0000 Subject: [PATCH 078/106] feat: Generate Google.Apis.NetworkServices.v1beta1 version 1.72.0.3961 --- DiscoveryJson/networkservices.v1beta1.json | 8 +++++--- .../Google.Apis.NetworkServices.v1beta1.csproj | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/networkservices.v1beta1.json b/DiscoveryJson/networkservices.v1beta1.json index b0938b217b8..64a1bee4404 100644 --- a/DiscoveryJson/networkservices.v1beta1.json +++ b/DiscoveryJson/networkservices.v1beta1.json @@ -3100,7 +3100,7 @@ } } }, - "revision": "20251029", + "revision": "20251105", "rootUrl": "https://networkservices.googleapis.com/", "schemas": { "AuthzExtension": { @@ -3184,11 +3184,13 @@ "description": "Optional. The format of communication supported by the callout extension. If not specified, the default value `EXT_PROC_GRPC` is used.", "enum": [ "WIRE_FORMAT_UNSPECIFIED", - "EXT_PROC_GRPC" + "EXT_PROC_GRPC", + "EXT_AUTHZ_GRPC" ], "enumDescriptions": [ "Not specified.", - "The extension service uses ext_proc gRPC API over a gRPC stream. This is the default value if the wire format is not specified. The backend service for the extension must use HTTP2 or H2C as the protocol. All `supported_events` for a client request are sent as part of the same gRPC stream." + "The extension service uses ext_proc gRPC API over a gRPC stream. This is the default value if the wire format is not specified. The backend service for the extension must use HTTP2 or H2C as the protocol. All `supported_events` for a client request are sent as part of the same gRPC stream.", + "The extension service uses Envoy's `ext_authz` gRPC API. The backend service for the extension must use HTTP2, or H2C as the protocol. `EXT_AUTHZ_GRPC` is only supported for regional `AuthzExtension` resources." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj index 7e127ba82f6..27760034eb2 100644 --- a/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj +++ b/Src/Generated/Google.Apis.NetworkServices.v1beta1/Google.Apis.NetworkServices.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.NetworkServices.v1beta1 Client Library - 1.72.0.3954 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 6555f4bec0833cacc79b55eb3c5256cc8cc5b3cf Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:15 +0000 Subject: [PATCH 079/106] feat: Generate Google.Apis.CloudObservability.v1 version 1.72.0.3969 --- DiscoveryJson/observability.v1.json | 6 +++--- .../Google.Apis.CloudObservability.v1.cs | 10 +++++----- .../Google.Apis.CloudObservability.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/observability.v1.json b/DiscoveryJson/observability.v1.json index 5e40c622a59..68409b5c557 100644 --- a/DiscoveryJson/observability.v1.json +++ b/DiscoveryJson/observability.v1.json @@ -296,7 +296,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -536,7 +536,7 @@ } } }, - "revision": "20251023", + "revision": "20251113", "rootUrl": "https://observability.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -585,7 +585,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.cs b/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.cs index 8fcd770a2e0..7f87ceab0fd 100644 --- a/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.cs +++ b/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.cs @@ -526,9 +526,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -1289,8 +1289,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.csproj b/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.csproj index 244763a6824..46c8f3767d9 100644 --- a/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.csproj +++ b/Src/Generated/Google.Apis.CloudObservability.v1/Google.Apis.CloudObservability.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudObservability.v1 Client Library - 1.72.0.3948 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From 7ac2c866db768b5bcb4b0bb8782c19ba61f1ffdc Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:17 +0000 Subject: [PATCH 080/106] feat: Generate Google.Apis.OracleDatabase.v1 version 1.72.0.3973 --- DiscoveryJson/oracledatabase.v1.json | 6 +++--- .../Google.Apis.OracleDatabase.v1.cs | 10 +++++----- .../Google.Apis.OracleDatabase.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/oracledatabase.v1.json b/DiscoveryJson/oracledatabase.v1.json index 3b3371ecef5..76ae6da82e6 100644 --- a/DiscoveryJson/oracledatabase.v1.json +++ b/DiscoveryJson/oracledatabase.v1.json @@ -2382,7 +2382,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2472,7 +2472,7 @@ } } }, - "revision": "20251022", + "revision": "20251117", "rootUrl": "https://oracledatabase.googleapis.com/", "schemas": { "AllConnectionStrings": { @@ -6299,7 +6299,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.cs b/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.cs index 0f1b0f1b858..d05c6ccb38f 100644 --- a/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.cs +++ b/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.cs @@ -5468,9 +5468,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -9461,8 +9461,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.csproj b/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.csproj index ac7301dd39f..970ba87091a 100644 --- a/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.csproj +++ b/Src/Generated/Google.Apis.OracleDatabase.v1/Google.Apis.OracleDatabase.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.OracleDatabase.v1 Client Library - 1.72.0.3947 + 1.72.0.3973 Google LLC Copyright 2025 Google LLC Google From d0cdb4b1575ff7ba3eb8bba423fdb73dbb400312 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:19 +0000 Subject: [PATCH 081/106] feat: Generate Google.Apis.ParameterManager.v1 version 1.72.0.3966 --- DiscoveryJson/parametermanager.v1.json | 12 +++++++++++- .../Google.Apis.ParameterManager.v1.csproj | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/parametermanager.v1.json b/DiscoveryJson/parametermanager.v1.json index bcbc7730874..2a75881a6a4 100644 --- a/DiscoveryJson/parametermanager.v1.json +++ b/DiscoveryJson/parametermanager.v1.json @@ -240,6 +240,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://parametermanager.europe-west15.rep.googleapis.com/", "location": "europe-west15" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://parametermanager.us.rep.googleapis.com/", + "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://parametermanager.eu.rep.googleapis.com/", + "location": "eu" } ], "fullyEncodeReservedExpansion": true, @@ -821,7 +831,7 @@ } } }, - "revision": "20251025", + "revision": "20251110", "rootUrl": "https://parametermanager.googleapis.com/", "schemas": { "Empty": { diff --git a/Src/Generated/Google.Apis.ParameterManager.v1/Google.Apis.ParameterManager.v1.csproj b/Src/Generated/Google.Apis.ParameterManager.v1/Google.Apis.ParameterManager.v1.csproj index c431fb6ab6b..b4d53b5f456 100644 --- a/Src/Generated/Google.Apis.ParameterManager.v1/Google.Apis.ParameterManager.v1.csproj +++ b/Src/Generated/Google.Apis.ParameterManager.v1/Google.Apis.ParameterManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ParameterManager.v1 Client Library - 1.72.0.3950 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google From b7a18512d7bb37e526c59bc3ae5719244d746a40 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:21 +0000 Subject: [PATCH 082/106] feat: Generate Google.Apis.PaymentsResellerSubscription.v1 version 1.72.0.3969 --- DiscoveryJson/paymentsresellersubscription.v1.json | 6 +++--- .../Google.Apis.PaymentsResellerSubscription.v1.cs | 2 +- .../Google.Apis.PaymentsResellerSubscription.v1.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/paymentsresellersubscription.v1.json b/DiscoveryJson/paymentsresellersubscription.v1.json index a95b4a78e72..3ae7b3a0752 100644 --- a/DiscoveryJson/paymentsresellersubscription.v1.json +++ b/DiscoveryJson/paymentsresellersubscription.v1.json @@ -586,7 +586,7 @@ } } }, - "revision": "20251109", + "revision": "20251113", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "Amount": { @@ -1332,14 +1332,14 @@ "description": "Optional. The cycle options for the subscription." }, "resumeMode": { - "description": "Optional. The mode to resume the subscription.", + "description": "Required. The mode to resume the subscription.", "enum": [ "RESUME_MODE_UNSPECIFIED", "RESUME_MODE_CYCLE_OPTIONS", "RESUME_MODE_RESTORE_EXISTING_BILLING_SCHEDULE" ], "enumDescriptions": [ - "Reserved value for invalid or unexpected value.", + "Reserved for invalid or unexpected value. Do not use.", "Resume the subscription using the input from `cycle_options`.", "Resume the subscription with the existing billing schedule. The subscription's next renewal time must still be in the future for this mode to be applicable." ], diff --git a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs index 6dc6dcdd91c..635c01cfdc6 100644 --- a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs +++ b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.cs @@ -2307,7 +2307,7 @@ public class ResumeSubscriptionRequest : Google.Apis.Requests.IDirectResponseSch [Newtonsoft.Json.JsonPropertyAttribute("cycleOptions")] public virtual CycleOptions CycleOptions { get; set; } - /// Optional. The mode to resume the subscription. + /// Required. The mode to resume the subscription. [Newtonsoft.Json.JsonPropertyAttribute("resumeMode")] public virtual string ResumeMode { get; set; } diff --git a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj index 780d1fc4d6f..b18afdcb670 100644 --- a/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj +++ b/Src/Generated/Google.Apis.PaymentsResellerSubscription.v1/Google.Apis.PaymentsResellerSubscription.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PaymentsResellerSubscription.v1 Client Library - 1.72.0.3965 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From f6dbe099e5323de91f57ac79629c1ce111ca4406 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:24 +0000 Subject: [PATCH 083/106] feat: Generate Google.Apis.PeopleService.v1 version 1.72.0.3973 --- DiscoveryJson/people.v1.json | 4 ++-- .../Google.Apis.PeopleService.v1.cs | 4 ++-- .../Google.Apis.PeopleService.v1.csproj | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/people.v1.json b/DiscoveryJson/people.v1.json index 7a3c34d3ea6..67baef8d029 100644 --- a/DiscoveryJson/people.v1.json +++ b/DiscoveryJson/people.v1.json @@ -12,7 +12,7 @@ "description": "See and download your contacts" }, "https://www.googleapis.com/auth/directory.readonly": { - "description": "See and download your organization's GSuite directory" + "description": "See and download your organization's Google Workspace directory" }, "https://www.googleapis.com/auth/user.addresses.read": { "description": "View your street addresses" @@ -1190,7 +1190,7 @@ } } }, - "revision": "20250513", + "revision": "20251117", "rootUrl": "https://people.googleapis.com/", "schemas": { "Address": { diff --git a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs index a9ea6be07b5..b8339fe1ba5 100644 --- a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs +++ b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.cs @@ -71,7 +71,7 @@ public class Scope /// See and download your contacts public static string ContactsReadonly = "https://www.googleapis.com/auth/contacts.readonly"; - /// See and download your organization's GSuite directory + /// See and download your organization's Google Workspace directory public static string DirectoryReadonly = "https://www.googleapis.com/auth/directory.readonly"; /// View your street addresses @@ -111,7 +111,7 @@ public static class ScopeConstants /// See and download your contacts public const string ContactsReadonly = "https://www.googleapis.com/auth/contacts.readonly"; - /// See and download your organization's GSuite directory + /// See and download your organization's Google Workspace directory public const string DirectoryReadonly = "https://www.googleapis.com/auth/directory.readonly"; /// View your street addresses diff --git a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj index a158c13c295..98d871fd0c6 100644 --- a/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj +++ b/Src/Generated/Google.Apis.PeopleService.v1/Google.Apis.PeopleService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PeopleService.v1 Client Library - 1.69.0.3785 + 1.72.0.3973 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 904f770997f252049b3ca8e32ea56faff0ca6ab1 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:26 +0000 Subject: [PATCH 084/106] feat: Generate Google.Apis.Pubsub.v1 version 1.72.0.3960 --- DiscoveryJson/pubsub.v1.json | 106 +++++++++++++++++- .../Google.Apis.Pubsub.v1.csproj | 2 +- 2 files changed, 104 insertions(+), 4 deletions(-) diff --git a/DiscoveryJson/pubsub.v1.json b/DiscoveryJson/pubsub.v1.json index 43f411281f9..5a7667918e7 100644 --- a/DiscoveryJson/pubsub.v1.json +++ b/DiscoveryJson/pubsub.v1.json @@ -19,6 +19,36 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.asia-south1.rep.googleapis.com/", @@ -31,14 +61,44 @@ }, { "description": "Regional Endpoint", - "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", - "location": "me-central2" + "endpointUrl": "https://pubsub.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.europe-west2.rep.googleapis.com/", + "location": "europe-west2" }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", "location": "europe-west3" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west8.rep.googleapis.com/", @@ -49,6 +109,46 @@ "endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", "location": "europe-west9" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.us-central1.rep.googleapis.com/", @@ -1648,7 +1748,7 @@ } } }, - "revision": "20251025", + "revision": "20251104", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj index 159e0b21fb9..eb2ba5c47bf 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1 Client Library - 1.72.0.3950 + 1.72.0.3960 Google LLC Copyright 2025 Google LLC Google From 5377daf8585f949917b7db6a28cb87b645466539 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:28 +0000 Subject: [PATCH 085/106] feat: Generate Google.Apis.Pubsub.v1beta1a version 1.72.0.3960 --- DiscoveryJson/pubsub.v1beta1a.json | 106 +++++++++++++++++- .../Google.Apis.Pubsub.v1beta1a.csproj | 6 +- 2 files changed, 106 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/pubsub.v1beta1a.json b/DiscoveryJson/pubsub.v1beta1a.json index 14196fc9b8a..9955571fec9 100644 --- a/DiscoveryJson/pubsub.v1beta1a.json +++ b/DiscoveryJson/pubsub.v1beta1a.json @@ -19,6 +19,36 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.asia-south1.rep.googleapis.com/", @@ -31,14 +61,44 @@ }, { "description": "Regional Endpoint", - "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", - "location": "me-central2" + "endpointUrl": "https://pubsub.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.europe-west2.rep.googleapis.com/", + "location": "europe-west2" }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", "location": "europe-west3" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west8.rep.googleapis.com/", @@ -49,6 +109,46 @@ "endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", "location": "europe-west9" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.us-central1.rep.googleapis.com/", @@ -539,7 +639,7 @@ } } }, - "revision": "20250807", + "revision": "20251104", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj index dc807902f3f..81fabf4c191 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta1a/Google.Apis.Pubsub.v1beta1a.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1beta1a Client Library - 1.70.0.3871 + 1.72.0.3960 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 6cb86066155dfaa8e1aee14f9b035ebd2c20f68a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:30 +0000 Subject: [PATCH 086/106] feat: Generate Google.Apis.Pubsub.v1beta2 version 1.72.0.3960 --- DiscoveryJson/pubsub.v1beta2.json | 106 +++++++++++++++++- .../Google.Apis.Pubsub.v1beta2.csproj | 6 +- 2 files changed, 106 insertions(+), 6 deletions(-) diff --git a/DiscoveryJson/pubsub.v1beta2.json b/DiscoveryJson/pubsub.v1beta2.json index 70ba0816c5f..a1879675f67 100644 --- a/DiscoveryJson/pubsub.v1beta2.json +++ b/DiscoveryJson/pubsub.v1beta2.json @@ -19,6 +19,36 @@ "discoveryVersion": "v1", "documentationLink": "https://cloud.google.com/pubsub/docs", "endpoints": [ + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.africa-south1.rep.googleapis.com/", + "location": "africa-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast1.rep.googleapis.com/", + "location": "asia-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.asia-south1.rep.googleapis.com/", @@ -31,14 +61,44 @@ }, { "description": "Regional Endpoint", - "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", - "location": "me-central2" + "endpointUrl": "https://pubsub.asia-southeast1.rep.googleapis.com/", + "location": "asia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-southeast2.rep.googleapis.com/", + "location": "asia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.australia-southeast1.rep.googleapis.com/", + "location": "australia-southeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.australia-southeast2.rep.googleapis.com/", + "location": "australia-southeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.europe-west2.rep.googleapis.com/", + "location": "europe-west2" }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west3.rep.googleapis.com/", "location": "europe-west3" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.europe-west6.rep.googleapis.com/", + "location": "europe-west6" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.europe-west8.rep.googleapis.com/", @@ -49,6 +109,46 @@ "endpointUrl": "https://pubsub.europe-west9.rep.googleapis.com/", "location": "europe-west9" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-central1.rep.googleapis.com/", + "location": "me-central1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-central2.rep.googleapis.com/", + "location": "me-central2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.me-west1.rep.googleapis.com/", + "location": "me-west1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-northeast1.rep.googleapis.com/", + "location": "northamerica-northeast1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-northeast2.rep.googleapis.com/", + "location": "northamerica-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.southamerica-east1.rep.googleapis.com/", + "location": "southamerica-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://pubsub.southamerica-west1.rep.googleapis.com/", + "location": "southamerica-west1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://pubsub.us-central1.rep.googleapis.com/", @@ -806,7 +906,7 @@ } } }, - "revision": "20250807", + "revision": "20251104", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { diff --git a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj index 5262531ac27..0aaf94eded0 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj +++ b/Src/Generated/Google.Apis.Pubsub.v1beta2/Google.Apis.Pubsub.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.Pubsub.v1beta2 Client Library - 1.70.0.3871 + 1.72.0.3960 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 4d5128950f511d853023a4e279d04275a2433edc Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:33 +0000 Subject: [PATCH 087/106] feat: Generate Google.Apis.PubsubLite.v1 version 1.72.0.3963 --- DiscoveryJson/pubsublite.v1.json | 6 +++--- .../Google.Apis.PubsubLite.v1.cs | 8 ++++---- .../Google.Apis.PubsubLite.v1.csproj | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/DiscoveryJson/pubsublite.v1.json b/DiscoveryJson/pubsublite.v1.json index 2671aba7c49..2368a350bd0 100644 --- a/DiscoveryJson/pubsublite.v1.json +++ b/DiscoveryJson/pubsublite.v1.json @@ -224,7 +224,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1045,7 +1045,7 @@ } } }, - "revision": "20251003", + "revision": "20251107", "rootUrl": "https://pubsublite.googleapis.com/", "schemas": { "CancelOperationRequest": { @@ -1297,7 +1297,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs index 0b4ba5ec998..acc37799833 100644 --- a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs +++ b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.cs @@ -556,8 +556,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -2758,8 +2758,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj index f10f8bace14..1dad76dd63a 100644 --- a/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj +++ b/Src/Generated/Google.Apis.PubsubLite.v1/Google.Apis.PubsubLite.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.PubsubLite.v1 Client Library - 1.72.0.3928 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From 7570c742b33500368111043c1dc331e4015c3043 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:35 +0000 Subject: [PATCH 088/106] feat: Generate Google.Apis.CloudRetail.v2 version 1.72.0.3969 --- DiscoveryJson/retail.v2.json | 10 ++++---- .../Google.Apis.CloudRetail.v2.cs | 25 ++++++++++--------- .../Google.Apis.CloudRetail.v2.csproj | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/DiscoveryJson/retail.v2.json b/DiscoveryJson/retail.v2.json index 58db242e2ed..46a8c14a4f3 100644 --- a/DiscoveryJson/retail.v2.json +++ b/DiscoveryJson/retail.v2.json @@ -1647,7 +1647,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2258,7 +2258,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2335,7 +2335,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2353,7 +2353,7 @@ } } }, - "revision": "20251002", + "revision": "20251113", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -8333,7 +8333,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs index 49bf5aa33ea..64bd316d801 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs +++ b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.cs @@ -2915,9 +2915,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -5563,9 +5563,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -5739,10 +5739,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` - /// when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This - /// field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless - /// explicitly documented otherwise in service or product specific documentation. + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + /// when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + /// documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -14424,8 +14425,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj index 0b3aed1a183..572f993244d 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj +++ b/Src/Generated/Google.Apis.CloudRetail.v2/Google.Apis.CloudRetail.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRetail.v2 Client Library - 1.72.0.3927 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From 9984c5b54cbc39d9f887585650c58ed415abb48c Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:37 +0000 Subject: [PATCH 089/106] feat: Generate Google.Apis.CloudRetail.v2alpha version 1.72.0.3969 --- DiscoveryJson/retail.v2alpha.json | 10 ++++---- .../Google.Apis.CloudRetail.v2alpha.cs | 25 ++++++++++--------- .../Google.Apis.CloudRetail.v2alpha.csproj | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/DiscoveryJson/retail.v2alpha.json b/DiscoveryJson/retail.v2alpha.json index 81f7568dd9a..245fe6d98af 100644 --- a/DiscoveryJson/retail.v2alpha.json +++ b/DiscoveryJson/retail.v2alpha.json @@ -2108,7 +2108,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2747,7 +2747,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2824,7 +2824,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2874,7 +2874,7 @@ } } }, - "revision": "20251030", + "revision": "20251113", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -9416,7 +9416,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs index 859bfbda82f..a1e2fb2474c 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs +++ b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.cs @@ -3523,9 +3523,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -6236,9 +6236,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -6412,10 +6412,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` - /// when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This - /// field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless - /// explicitly documented otherwise in service or product specific documentation. + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + /// when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + /// documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -16170,8 +16171,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj index 504751b2b40..1430f4f80f7 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj +++ b/Src/Generated/Google.Apis.CloudRetail.v2alpha/Google.Apis.CloudRetail.v2alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRetail.v2alpha Client Library - 1.72.0.3955 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From 803141d9fc08d6a1668fb1501264476cf57c2494 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:39 +0000 Subject: [PATCH 090/106] feat: Generate Google.Apis.CloudRetail.v2beta version 1.72.0.3969 --- DiscoveryJson/retail.v2beta.json | 10 ++++---- .../Google.Apis.CloudRetail.v2beta.cs | 25 ++++++++++--------- .../Google.Apis.CloudRetail.v2beta.csproj | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) diff --git a/DiscoveryJson/retail.v2beta.json b/DiscoveryJson/retail.v2beta.json index a8b16079650..85c971b6463 100644 --- a/DiscoveryJson/retail.v2beta.json +++ b/DiscoveryJson/retail.v2beta.json @@ -1764,7 +1764,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2403,7 +2403,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2480,7 +2480,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -2498,7 +2498,7 @@ } } }, - "revision": "20251030", + "revision": "20251113", "rootUrl": "https://retail.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -8698,7 +8698,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs index e64a2d59ab9..1d584962be9 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs +++ b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.cs @@ -3036,9 +3036,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in /// an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -5749,9 +5749,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be - /// `true` when reading across collections e.g. when `parent` is set to - /// `"projects/example/locations/-"`. This field is not by default supported and will result in an + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be + /// `true` when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product /// specific documentation. /// @@ -5925,10 +5925,11 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are - /// unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` - /// when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This - /// field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless - /// explicitly documented otherwise in service or product specific documentation. + /// unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` + /// when reading across collections. For example, when `parent` is set to + /// `"projects/example/locations/-"`. This field is not supported by default and will result in an + /// `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific + /// documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } @@ -14956,8 +14957,8 @@ public class GoogleLongrunningListOperationsResponse : Google.Apis.Requests.IDir /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj index 8eab1fc1454..47b69529a5a 100644 --- a/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj +++ b/Src/Generated/Google.Apis.CloudRetail.v2beta/Google.Apis.CloudRetail.v2beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRetail.v2beta Client Library - 1.72.0.3955 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From d2a88f1a077c8403ff60733badcbc43561a0131c Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:42 +0000 Subject: [PATCH 091/106] feat: Generate Google.Apis.CloudRun.v1 version 1.72.0.3963 --- DiscoveryJson/run.v1.json | 12 +++++++++++- .../Google.Apis.CloudRun.v1.csproj | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/run.v1.json b/DiscoveryJson/run.v1.json index 064f97d88c7..8171fac2a81 100644 --- a/DiscoveryJson/run.v1.json +++ b/DiscoveryJson/run.v1.json @@ -111,6 +111,11 @@ "endpointUrl": "https://europe-west12-run.googleapis.com/", "location": "europe-west12" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://europe-west15-run.googleapis.com/", + "location": "europe-west15" + }, { "description": "Locational Endpoint", "endpointUrl": "https://europe-west2-run.googleapis.com/", @@ -336,6 +341,11 @@ "endpointUrl": "https://run.europe-west12.rep.googleapis.com/", "location": "europe-west12" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://run.europe-west15.rep.googleapis.com/", + "location": "europe-west15" + }, { "description": "Regional Endpoint", "endpointUrl": "https://run.europe-west2.rep.googleapis.com/", @@ -3132,7 +3142,7 @@ } } }, - "revision": "20251031", + "revision": "20251107", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { diff --git a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj index faed213f4d2..c65a8297700 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v1 Client Library - 1.72.0.3956 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From d743115c456f4c1ccd0831d92b0ba27e2006c11a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:44 +0000 Subject: [PATCH 092/106] feat: Generate Google.Apis.CloudRun.v2 version 1.72.0.3963 --- DiscoveryJson/run.v2.json | 12 +++++++++++- .../Google.Apis.CloudRun.v2.csproj | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/run.v2.json b/DiscoveryJson/run.v2.json index 54cc7b8def2..f8f353c5db0 100644 --- a/DiscoveryJson/run.v2.json +++ b/DiscoveryJson/run.v2.json @@ -111,6 +111,11 @@ "endpointUrl": "https://europe-west12-run.googleapis.com/", "location": "europe-west12" }, + { + "description": "Locational Endpoint", + "endpointUrl": "https://europe-west15-run.googleapis.com/", + "location": "europe-west15" + }, { "description": "Locational Endpoint", "endpointUrl": "https://europe-west2-run.googleapis.com/", @@ -336,6 +341,11 @@ "endpointUrl": "https://run.europe-west12.rep.googleapis.com/", "location": "europe-west12" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://run.europe-west15.rep.googleapis.com/", + "location": "europe-west15" + }, { "description": "Regional Endpoint", "endpointUrl": "https://run.europe-west2.rep.googleapis.com/", @@ -2167,7 +2177,7 @@ } } }, - "revision": "20251031", + "revision": "20251107", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { diff --git a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj index 62aceebc367..a8d6a49d344 100644 --- a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj +++ b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudRun.v2 Client Library - 1.72.0.3956 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From 9467a3aec30e87f5bc71450a625eb444c0ccea27 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:46 +0000 Subject: [PATCH 093/106] feat: Generate Google.Apis.SA360.v0 version 1.72.0.3972 --- DiscoveryJson/searchads360.v0.json | 241 ++++++++++++++++-- .../Google.Apis.SA360.v0.cs | 208 ++++++++++++++- .../Google.Apis.SA360.v0.csproj | 6 +- 3 files changed, 423 insertions(+), 32 deletions(-) diff --git a/DiscoveryJson/searchads360.v0.json b/DiscoveryJson/searchads360.v0.json index cc386b576f5..36074af638b 100644 --- a/DiscoveryJson/searchads360.v0.json +++ b/DiscoveryJson/searchads360.v0.json @@ -260,7 +260,7 @@ } } }, - "revision": "20250721", + "revision": "20251116", "rootUrl": "https://searchads360.googleapis.com/", "schemas": { "GoogleAdsSearchads360V0Common__AdScheduleInfo": { @@ -627,6 +627,33 @@ "properties": {}, "type": "object" }, + "GoogleAdsSearchads360V0Common__FinalAppUrl": { + "description": "A URL for deep linking into an app for the given operating system.", + "id": "GoogleAdsSearchads360V0Common__FinalAppUrl", + "properties": { + "osType": { + "description": "The operating system targeted by this URL. Required.", + "enum": [ + "UNSPECIFIED", + "UNKNOWN", + "IOS", + "ANDROID" + ], + "enumDescriptions": [ + "Not specified.", + "Used for return value only. Represents value unknown in this version.", + "The Apple IOS operating system.", + "The Android operating system." + ], + "type": "string" + }, + "url": { + "description": "The app deep link URL. Deep links specify a location in an app that corresponds to the content you'd like to show, and should be of the form {scheme}://{host_path} The scheme identifies which app to open. For your app, you can use a custom scheme that starts with the app's name. The host and path specify the unique location in the app where your content exists. Example: \"exampleapp://productid_1234\". Required.", + "type": "string" + } + }, + "type": "object" + }, "GoogleAdsSearchads360V0Common__FrequencyCapEntry": { "description": "A rule specifying the maximum number of times an ad (or some set of ads) can be shown to a user over a particular time period.", "id": "GoogleAdsSearchads360V0Common__FrequencyCapEntry", @@ -1010,6 +1037,11 @@ "format": "double", "type": "number" }, + "averageCartSize": { + "description": "Average cart size is the average number of products in each order attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Average cart size is the total number of products sold divided by the total number of orders you received. Example: You received 2 orders, the first included 3 products and the second included 2. The average cart size is 2.5 products = (3+2)/2. This metric is only available if you report conversions with cart data.", + "format": "double", + "type": "number" + }, "averageCost": { "description": "The average amount you pay per interaction. This amount is the total cost of your ads divided by the total number of interactions.", "format": "double", @@ -1025,6 +1057,16 @@ "format": "double", "type": "number" }, + "averageImpressionFrequencyPerUser": { + "description": "The average number of times a unique user saw your ad during the requested time period. This metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for following campaign types - Display, Video, Discovery and App.", + "format": "double", + "type": "number" + }, + "averageOrderValueMicros": { + "description": "Average order value is the average revenue you made per order attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Average order value is the total revenue from your orders divided by the total number of orders. Example: You received 3 orders which made $10, $15 and $20 worth of revenue. The average order value is $15 = ($10 + $15 + $20)/3. This metric is only available if you report conversions with cart data.", + "format": "int64", + "type": "string" + }, "averageQualityScore": { "description": "The average quality score.", "format": "double", @@ -1152,6 +1194,11 @@ "format": "int64", "type": "string" }, + "costOfGoodsSoldMicros": { + "description": "Cost of goods sold (COGS) is the total cost of the products you sold in orders attributed to your ads. How it works: You can add a cost of goods sold value to every product in Merchant Center. If you report conversions with cart data, the products you sold are matched with their cost of goods sold value and this can be used to calculate the gross profit you made on each order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has a cost of goods sold value of $5. The cost of goods sold for this order is $8 = $3 + $5. This metric is only available if you report conversions with cart data.", + "format": "int64", + "type": "string" + }, "costPerAllConversions": { "description": "The cost of ad interactions divided by all conversions.", "format": "double", @@ -1222,6 +1269,16 @@ "format": "int64", "type": "string" }, + "grossProfitMargin": { + "description": "Gross profit margin is the percentage gross profit you made from orders attributed to your ads, after taking out the cost of goods sold (COGS). How it works: You report conversions with cart data for completed purchases on your website. Gross profit margin is the gross profit you made divided by your total revenue and multiplied by 100%. Gross profit margin calculations only include products that have a cost of goods sold value in Merchant Center. Example: Someone bought a hat and a shirt in an order on your website. The hat is priced $10 and has a cost of goods sold value of $3. The shirt is priced $20 but has no cost of goods sold value. Gross profit margin for this order will only take into account the hat because it has a cost of goods sold value, so it's 70% = ($10 - $3)/$10 x 100%. This metric is only available if you report conversions with cart data.", + "format": "double", + "type": "number" + }, + "grossProfitMicros": { + "description": "Gross profit is the profit you made from orders attributed to your ads minus the cost of goods sold (COGS). How it works: Gross profit is the revenue you made from sales attributed to your ads minus cost of goods sold. Gross profit calculations only include products that have a cost of goods sold value in Merchant Center. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order from your website. The hat is priced $10 and the shirt is priced $20. The hat has a cost of goods sold value of $3, but the shirt has no cost of goods sold value. Gross profit for this order will only take into account the hat, so it's $7 = $10 - $3. This metric is only available if you report conversions with cart data.", + "format": "int64", + "type": "string" + }, "historicalCreativeQualityScore": { "description": "The creative historical quality score.", "enum": [ @@ -1354,6 +1411,11 @@ "format": "double", "type": "number" }, + "orders": { + "description": "Orders is the total number of purchase conversions you received attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. If a conversion is attributed to previous interactions with your ads (clicks for text or Shopping ads, views for video ads etc.) it's counted as an order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order on your website. Even though they bought 2 products, this would count as 1 order. This metric is only available if you report conversions with cart data.", + "format": "double", + "type": "number" + }, "rawEventConversionMetrics": { "description": "The raw event conversion metrics.", "items": { @@ -1361,6 +1423,11 @@ }, "type": "array" }, + "revenueMicros": { + "description": "Revenue is the total amount you made from orders attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Revenue is the total value of all the orders you received attributed to your ads, minus any discount. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order from your website. The hat is priced $10 and the shirt is priced $20. The entire order has a $5 discount. The revenue from this order is $25 = ($10 + $20) - $5. This metric is only available if you report conversions with cart data.", + "format": "int64", + "type": "string" + }, "searchAbsoluteTopImpressionShare": { "description": "The percentage of the customer's Shopping or Search ad impressions that are shown in the most prominent Shopping position. See https://support.google.com/sa360/answer/9566729 for details. Any value below 0.1 is reported as 0.0999.", "format": "double", @@ -1421,6 +1488,16 @@ "format": "double", "type": "number" }, + "uniqueUsers": { + "description": "The number of unique users who saw your ad during the requested time period. This metric cannot be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for following campaign types - Display, Video, Discovery and App.", + "format": "int64", + "type": "string" + }, + "unitsSold": { + "description": "Units sold is the total number of products sold from orders attributed to your ads. How it works: You report conversions with cart data for completed purchases on your website. Units sold is the total number of products sold from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat then bought the same hat, a shirt and a jacket. The units sold in this order is 3. This metric is only available if you report conversions with cart data.", + "format": "double", + "type": "number" + }, "valuePerAllConversions": { "description": "The value of all conversions divided by the number of all conversions.", "format": "double", @@ -3929,6 +4006,24 @@ "$ref": "GoogleAdsSearchads360V0Common__SearchAds360ExpandedTextAdInfo", "description": "Immutable. Details pertaining to an expanded text ad." }, + "finalAppUrls": { + "description": "A list of final app URLs that will be used on mobile if the user has the specific app installed.", + "items": { + "$ref": "GoogleAdsSearchads360V0Common__FinalAppUrl" + }, + "type": "array" + }, + "finalMobileUrls": { + "description": "The list of possible final mobile URLs after all cross-domain redirects for the ad.", + "items": { + "type": "string" + }, + "type": "array" + }, + "finalUrlSuffix": { + "description": "The suffix to use when constructing a final URL.", + "type": "string" + }, "finalUrls": { "description": "The list of possible final URLs after all cross-domain redirects for the ad.", "items": { @@ -3962,6 +4057,10 @@ "$ref": "GoogleAdsSearchads360V0Common__SearchAds360TextAdInfo", "description": "Immutable. Details pertaining to a text ad." }, + "trackingUrlTemplate": { + "description": "The URL template for constructing a tracking URL.", + "type": "string" + }, "type": { "description": "Output only. The type of ad.", "enum": [ @@ -4136,6 +4235,10 @@ "readOnly": true, "type": "string" }, + "finalUrlSuffix": { + "description": "URL template for appending params to Final URL.", + "type": "string" + }, "id": { "description": "Output only. The ID of the ad group.", "format": "int64", @@ -4195,6 +4298,10 @@ "$ref": "GoogleAdsSearchads360V0Common__TargetingSetting", "description": "Setting for targeting related features." }, + "trackingUrlTemplate": { + "description": "The URL template for constructing a tracking URL.", + "type": "string" + }, "type": { "description": "Immutable. The type of the ad group.", "enum": [ @@ -4397,7 +4504,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form: `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`", + "description": "Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names have the form: `customers/{owner_customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}`", "type": "string" } }, @@ -4422,7 +4529,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. The resource name of the ad group ad label. Ad group ad label resource names have the form: `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}`", + "description": "Immutable. The resource name of the ad group ad label. Ad group ad label resource names have the form: `customers/{owner_customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}`", "type": "string" } }, @@ -4659,6 +4766,13 @@ "readOnly": true, "type": "string" }, + "finalMobileUrls": { + "description": "The list of possible final mobile URLs after all cross-domain redirects.", + "items": { + "type": "string" + }, + "type": "array" + }, "finalUrlSuffix": { "description": "URL template for appending params to final URL.", "type": "string" @@ -4828,6 +4942,13 @@ "readOnly": true, "type": "string" }, + "urlCustomParameters": { + "description": "The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`.", + "items": { + "$ref": "GoogleAdsSearchads360V0Common__CustomParameter" + }, + "type": "array" + }, "userList": { "$ref": "GoogleAdsSearchads360V0Common__UserListInfo", "description": "Immutable. User List." @@ -4858,7 +4979,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form: `customers/{customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}`", + "description": "Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label resource names have the form: `customers/{owner_customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}`", "type": "string" } }, @@ -4883,7 +5004,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. The resource name of the ad group criterion label. Ad group criterion label resource names have the form: `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`", + "description": "Immutable. The resource name of the ad group criterion label. Ad group criterion label resource names have the form: `customers/{owner_customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}`", "type": "string" } }, @@ -4908,7 +5029,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. The resource name of the ad group effective label. Ad group effective label resource names have the form: `customers/{customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}`", + "description": "Immutable. The resource name of the ad group effective label. Ad group effective label resource names have the form: `customers/{owner_customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}`", "type": "string" } }, @@ -4933,7 +5054,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. The resource name of the ad group label. Ad group label resource names have the form: `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}`", + "description": "Immutable. The resource name of the ad group label. Ad group label resource names have the form: `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}`", "type": "string" } }, @@ -4997,6 +5118,17 @@ "readOnly": true, "type": "string" }, + "finalMobileUrls": { + "description": "A list of possible final mobile URLs after all cross domain redirects.", + "items": { + "type": "string" + }, + "type": "array" + }, + "finalUrlSuffix": { + "description": "URL template for appending params to landing page URLs served with parallel tracking.", + "type": "string" + }, "finalUrls": { "description": "A list of possible final URLs after all cross domain redirects.", "items": { @@ -5144,6 +5276,13 @@ "readOnly": true, "type": "string" }, + "urlCustomParameters": { + "description": "A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, final_urls, and/or final_mobile_urls.", + "items": { + "$ref": "GoogleAdsSearchads360V0Common__CustomParameter" + }, + "type": "array" + }, "youtubeVideoAsset": { "$ref": "GoogleAdsSearchads360V0Common__YoutubeVideoAsset", "description": "Immutable. A YouTube video asset." @@ -5285,7 +5424,9 @@ "AD_IMAGE", "BUSINESS_LOGO", "HOTEL_PROPERTY", - "DISCOVERY_CAROUSEL_CARD" + "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION" ], "enumDescriptions": [ "Not specified.", @@ -5317,7 +5458,9 @@ "The asset is linked for use to select an ad image.", "The asset is linked for use as a business logo.", "The asset is linked for use as a hotel property in a Performance Max for travel goals campaign.", - "The asset is linked for use as a discovery carousel card." + "The asset is linked for use as a discovery carousel card.", + "The asset is linked for use as a long description.", + "The asset is linked for use as a call-to-action." ], "type": "string" }, @@ -5985,7 +6128,9 @@ "AD_IMAGE", "BUSINESS_LOGO", "HOTEL_PROPERTY", - "DISCOVERY_CAROUSEL_CARD" + "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION" ], "enumDescriptions": [ "Not specified.", @@ -6017,12 +6162,62 @@ "The asset is linked for use to select an ad image.", "The asset is linked for use as a business logo.", "The asset is linked for use as a hotel property in a Performance Max for travel goals campaign.", - "The asset is linked for use as a discovery carousel card." + "The asset is linked for use as a discovery carousel card.", + "The asset is linked for use as a long description.", + "The asset is linked for use as a call-to-action." ], "type": "string" }, "type": "array" }, + "feedTypes": { + "description": "Output only. Types of feeds that are attached directly to this campaign.", + "items": { + "enum": [ + "UNSPECIFIED", + "UNKNOWN", + "PAGE_FEED", + "DYNAMIC_EDUCATION", + "MERCHANT_CENTER_FEED", + "DYNAMIC_REAL_ESTATE", + "DYNAMIC_CUSTOM", + "DYNAMIC_HOTELS_AND_RENTALS", + "DYNAMIC_FLIGHTS", + "DYNAMIC_TRAVEL", + "DYNAMIC_LOCAL", + "DYNAMIC_JOBS", + "LOCATION_SYNC", + "BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP", + "CHAIN_DYNAMIC_LOCATION_GROUP", + "STATIC_LOCATION_GROUP", + "HOTEL_PROPERTY", + "TRAVEL_FEED" + ], + "enumDescriptions": [ + "Not specified.", + "Used for return value only. Represents value unknown in this version.", + "Page asset set.", + "Dynamic education asset set.", + "Google Merchant Center asset set.", + "Dynamic real estate asset set.", + "Dynamic custom asset set.", + "Dynamic hotels and rentals asset set.", + "Dynamic flights asset set.", + "Dynamic travel asset set.", + "Dynamic local asset set.", + "Dynamic jobs asset set.", + "Location sync level asset set.", + "Business Profile location group asset set.", + "Chain location group asset set which can be used for both owned locations and affiliate locations.", + "Static location group asset set which can be used for both owned locations and affiliate locations.", + "Hotel Property asset set which is used to link a hotel property feed to Performance Max for travel goals campaigns.", + "Travel Feed asset set type. Can represent either a Hotel feed or a Things to Do (activities) feed." + ], + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "finalUrlSuffix": { "description": "Suffix used to append query parameters to landing pages that are served with parallel tracking.", "type": "string" @@ -6531,7 +6726,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. Name of the resource. CampaignEffectivelabel resource names have the form: `customers/{customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}`", + "description": "Immutable. Name of the resource. CampaignEffectivelabel resource names have the form: `customers/{owner_customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}`", "type": "string" } }, @@ -6556,7 +6751,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. Name of the resource. Campaign label resource names have the form: `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}`", + "description": "Immutable. Name of the resource. Campaign label resource names have the form: `customers/{owner_customer_id}/campaignLabels/{campaign_id}~{label_id}`", "type": "string" } }, @@ -6621,7 +6816,9 @@ "AD_IMAGE", "BUSINESS_LOGO", "HOTEL_PROPERTY", - "DISCOVERY_CAROUSEL_CARD" + "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION" ], "enumDescriptions": [ "Not specified.", @@ -6653,7 +6850,9 @@ "The asset is linked for use to select an ad image.", "The asset is linked for use as a business logo.", "The asset is linked for use as a hotel property in a Performance Max for travel goals campaign.", - "The asset is linked for use as a discovery carousel card." + "The asset is linked for use as a discovery carousel card.", + "The asset is linked for use as a long description.", + "The asset is linked for use as a call-to-action." ], "readOnly": true, "type": "string" @@ -7897,7 +8096,7 @@ "type": "string" }, "resourceName": { - "description": "Immutable. Name of the resource. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`", + "description": "Immutable. Name of the resource. Label resource names have the form: `customers/{owner_customer_id}/labels/{label_id}`", "type": "string" }, "status": { @@ -8248,7 +8447,7 @@ "type": "object" }, "GoogleAdsSearchads360V0Resources__ShoppingPerformanceView": { - "description": "Shopping performance view. Provides Shopping campaign statistics aggregated at several product dimension levels. Product dimension values from Merchant Center such as brand, category, custom attributes, product condition and product type will reflect the state of each dimension as of the date and time when the corresponding event was recorded.", + "description": "Shopping performance view. Provides Shopping campaign statistics aggregated at several product dimension levels. Product dimension values from Merchant Center such as brand, category, custom attributes, product condition and product type will reflect the state of each dimension as of the date and time when the corresponding event was recorded. The number of impressions and clicks that shopping_performance_view returns stats for may be different from campaign reports. shopping_performance_view shows impressions and clicks on products appearing in ads, while campaign reports show impressions and clicks on the ads themselves. Depending on the format, an ad can show from zero to several products, so the numbers may not match. In Google Ads UI, you can query impressions and clicks of products appearing in ads by selecting a column from \"Product attributes\" in the report editor. For example, selecting the \"Brand\" column is equivalent to selecting `segments.product_brand`.", "id": "GoogleAdsSearchads360V0Resources__ShoppingPerformanceView", "properties": { "resourceName": { @@ -8370,7 +8569,9 @@ "AD_IMAGE", "BUSINESS_LOGO", "HOTEL_PROPERTY", - "DISCOVERY_CAROUSEL_CARD" + "DISCOVERY_CAROUSEL_CARD", + "LONG_DESCRIPTION", + "CALL_TO_ACTION" ], "enumDescriptions": [ "Not specified.", @@ -8402,7 +8603,9 @@ "The asset is linked for use to select an ad image.", "The asset is linked for use as a business logo.", "The asset is linked for use as a hotel property in a Performance Max for travel goals campaign.", - "The asset is linked for use as a discovery carousel card." + "The asset is linked for use as a discovery carousel card.", + "The asset is linked for use as a long description.", + "The asset is linked for use as a call-to-action." ], "readOnly": true, "type": "string" diff --git a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs index 966567af977..2d4577c5953 100644 --- a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs +++ b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.cs @@ -808,6 +808,26 @@ public class GoogleAdsSearchads360V0CommonEnhancedCpc : Google.Apis.Requests.IDi public virtual string ETag { get; set; } } + /// A URL for deep linking into an app for the given operating system. + public class GoogleAdsSearchads360V0CommonFinalAppUrl : Google.Apis.Requests.IDirectResponseSchema + { + /// The operating system targeted by this URL. Required. + [Newtonsoft.Json.JsonPropertyAttribute("osType")] + public virtual string OsType { get; set; } + + /// + /// The app deep link URL. Deep links specify a location in an app that corresponds to the content you'd like to + /// show, and should be of the form {scheme}://{host_path} The scheme identifies which app to open. For your + /// app, you can use a custom scheme that starts with the app's name. The host and path specify the unique + /// location in the app where your content exists. Example: "exampleapp://productid_1234". Required. + /// + [Newtonsoft.Json.JsonPropertyAttribute("url")] + public virtual string Url { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A rule specifying the maximum number of times an ad (or some set of ads) can be shown to a user over a /// particular time period. @@ -1166,6 +1186,16 @@ public class GoogleAdsSearchads360V0CommonMetrics : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("allConversionsValuePerCost")] public virtual System.Nullable AllConversionsValuePerCost { get; set; } + /// + /// Average cart size is the average number of products in each order attributed to your ads. How it works: You + /// report conversions with cart data for completed purchases on your website. Average cart size is the total + /// number of products sold divided by the total number of orders you received. Example: You received 2 orders, + /// the first included 3 products and the second included 2. The average cart size is 2.5 products = (3+2)/2. + /// This metric is only available if you report conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("averageCartSize")] + public virtual System.Nullable AverageCartSize { get; set; } + /// /// The average amount you pay per interaction. This amount is the total cost of your ads divided by the total /// number of interactions. @@ -1189,6 +1219,24 @@ public class GoogleAdsSearchads360V0CommonMetrics : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("averageCpm")] public virtual System.Nullable AverageCpm { get; set; } + /// + /// The average number of times a unique user saw your ad during the requested time period. This metric cannot + /// be aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for + /// following campaign types - Display, Video, Discovery and App. + /// + [Newtonsoft.Json.JsonPropertyAttribute("averageImpressionFrequencyPerUser")] + public virtual System.Nullable AverageImpressionFrequencyPerUser { get; set; } + + /// + /// Average order value is the average revenue you made per order attributed to your ads. How it works: You + /// report conversions with cart data for completed purchases on your website. Average order value is the total + /// revenue from your orders divided by the total number of orders. Example: You received 3 orders which made + /// $10, $15 and $20 worth of revenue. The average order value is $15 = ($10 + $15 + $20)/3. This metric is only + /// available if you report conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("averageOrderValueMicros")] + public virtual System.Nullable AverageOrderValueMicros { get; set; } + /// The average quality score. [Newtonsoft.Json.JsonPropertyAttribute("averageQualityScore")] public virtual System.Nullable AverageQualityScore { get; set; } @@ -1428,6 +1476,18 @@ public class GoogleAdsSearchads360V0CommonMetrics : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("costMicros")] public virtual System.Nullable CostMicros { get; set; } + /// + /// Cost of goods sold (COGS) is the total cost of the products you sold in orders attributed to your ads. How + /// it works: You can add a cost of goods sold value to every product in Merchant Center. If you report + /// conversions with cart data, the products you sold are matched with their cost of goods sold value and this + /// can be used to calculate the gross profit you made on each order. Example: Someone clicked on a Shopping ad + /// for a hat then bought the same hat and a shirt. The hat has a cost of goods sold value of $3, the shirt has + /// a cost of goods sold value of $5. The cost of goods sold for this order is $8 = $3 + $5. This metric is only + /// available if you report conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("costOfGoodsSoldMicros")] + public virtual System.Nullable CostOfGoodsSoldMicros { get; set; } + /// The cost of ad interactions divided by all conversions. [Newtonsoft.Json.JsonPropertyAttribute("costPerAllConversions")] public virtual System.Nullable CostPerAllConversions { get; set; } @@ -1555,6 +1615,33 @@ public class GoogleAdsSearchads360V0CommonMetrics : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("generalInvalidClicks")] public virtual System.Nullable GeneralInvalidClicks { get; set; } + /// + /// Gross profit margin is the percentage gross profit you made from orders attributed to your ads, after taking + /// out the cost of goods sold (COGS). How it works: You report conversions with cart data for completed + /// purchases on your website. Gross profit margin is the gross profit you made divided by your total revenue + /// and multiplied by 100%. Gross profit margin calculations only include products that have a cost of goods + /// sold value in Merchant Center. Example: Someone bought a hat and a shirt in an order on your website. The + /// hat is priced $10 and has a cost of goods sold value of $3. The shirt is priced $20 but has no cost of goods + /// sold value. Gross profit margin for this order will only take into account the hat because it has a cost of + /// goods sold value, so it's 70% = ($10 - $3)/$10 x 100%. This metric is only available if you report + /// conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("grossProfitMargin")] + public virtual System.Nullable GrossProfitMargin { get; set; } + + /// + /// Gross profit is the profit you made from orders attributed to your ads minus the cost of goods sold (COGS). + /// How it works: Gross profit is the revenue you made from sales attributed to your ads minus cost of goods + /// sold. Gross profit calculations only include products that have a cost of goods sold value in Merchant + /// Center. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an order + /// from your website. The hat is priced $10 and the shirt is priced $20. The hat has a cost of goods sold value + /// of $3, but the shirt has no cost of goods sold value. Gross profit for this order will only take into + /// account the hat, so it's $7 = $10 - $3. This metric is only available if you report conversions with cart + /// data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("grossProfitMicros")] + public virtual System.Nullable GrossProfitMicros { get; set; } + /// The creative historical quality score. [Newtonsoft.Json.JsonPropertyAttribute("historicalCreativeQualityScore")] public virtual string HistoricalCreativeQualityScore { get; set; } @@ -1669,10 +1756,32 @@ public class GoogleAdsSearchads360V0CommonMetrics : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("mobileFriendlyClicksPercentage")] public virtual System.Nullable MobileFriendlyClicksPercentage { get; set; } + /// + /// Orders is the total number of purchase conversions you received attributed to your ads. How it works: You + /// report conversions with cart data for completed purchases on your website. If a conversion is attributed to + /// previous interactions with your ads (clicks for text or Shopping ads, views for video ads etc.) it's counted + /// as an order. Example: Someone clicked on a Shopping ad for a hat then bought the same hat and a shirt in an + /// order on your website. Even though they bought 2 products, this would count as 1 order. This metric is only + /// available if you report conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("orders")] + public virtual System.Nullable Orders { get; set; } + /// The raw event conversion metrics. [Newtonsoft.Json.JsonPropertyAttribute("rawEventConversionMetrics")] public virtual System.Collections.Generic.IList RawEventConversionMetrics { get; set; } + /// + /// Revenue is the total amount you made from orders attributed to your ads. How it works: You report + /// conversions with cart data for completed purchases on your website. Revenue is the total value of all the + /// orders you received attributed to your ads, minus any discount. Example: Someone clicked on a Shopping ad + /// for a hat then bought the same hat and a shirt in an order from your website. The hat is priced $10 and the + /// shirt is priced $20. The entire order has a $5 discount. The revenue from this order is $25 = ($10 + $20) - + /// $5. This metric is only available if you report conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("revenueMicros")] + public virtual System.Nullable RevenueMicros { get; set; } + /// /// The percentage of the customer's Shopping or Search ad impressions that are shown in the most prominent /// Shopping position. See https://support.google.com/sa360/answer/9566729 for details. Any value below 0.1 is @@ -1769,6 +1878,24 @@ public class GoogleAdsSearchads360V0CommonMetrics : Google.Apis.Requests.IDirect [Newtonsoft.Json.JsonPropertyAttribute("topImpressionPercentage")] public virtual System.Nullable TopImpressionPercentage { get; set; } + /// + /// The number of unique users who saw your ad during the requested time period. This metric cannot be + /// aggregated, and can only be requested for date ranges of 92 days or less. This metric is available for + /// following campaign types - Display, Video, Discovery and App. + /// + [Newtonsoft.Json.JsonPropertyAttribute("uniqueUsers")] + public virtual System.Nullable UniqueUsers { get; set; } + + /// + /// Units sold is the total number of products sold from orders attributed to your ads. How it works: You report + /// conversions with cart data for completed purchases on your website. Units sold is the total number of + /// products sold from all orders attributed to your ads. Example: Someone clicked on a Shopping ad for a hat + /// then bought the same hat, a shirt and a jacket. The units sold in this order is 3. This metric is only + /// available if you report conversions with cart data. + /// + [Newtonsoft.Json.JsonPropertyAttribute("unitsSold")] + public virtual System.Nullable UnitsSold { get; set; } + /// The value of all conversions divided by the number of all conversions. [Newtonsoft.Json.JsonPropertyAttribute("valuePerAllConversions")] public virtual System.Nullable ValuePerAllConversions { get; set; } @@ -3160,6 +3287,20 @@ public class GoogleAdsSearchads360V0ResourcesAd : Google.Apis.Requests.IDirectRe [Newtonsoft.Json.JsonPropertyAttribute("expandedTextAd")] public virtual GoogleAdsSearchads360V0CommonSearchAds360ExpandedTextAdInfo ExpandedTextAd { get; set; } + /// + /// A list of final app URLs that will be used on mobile if the user has the specific app installed. + /// + [Newtonsoft.Json.JsonPropertyAttribute("finalAppUrls")] + public virtual System.Collections.Generic.IList FinalAppUrls { get; set; } + + /// The list of possible final mobile URLs after all cross-domain redirects for the ad. + [Newtonsoft.Json.JsonPropertyAttribute("finalMobileUrls")] + public virtual System.Collections.Generic.IList FinalMobileUrls { get; set; } + + /// The suffix to use when constructing a final URL. + [Newtonsoft.Json.JsonPropertyAttribute("finalUrlSuffix")] + public virtual string FinalUrlSuffix { get; set; } + /// The list of possible final URLs after all cross-domain redirects for the ad. [Newtonsoft.Json.JsonPropertyAttribute("finalUrls")] public virtual System.Collections.Generic.IList FinalUrls { get; set; } @@ -3194,6 +3335,10 @@ public class GoogleAdsSearchads360V0ResourcesAd : Google.Apis.Requests.IDirectRe [Newtonsoft.Json.JsonPropertyAttribute("textAd")] public virtual GoogleAdsSearchads360V0CommonSearchAds360TextAdInfo TextAd { get; set; } + /// The URL template for constructing a tracking URL. + [Newtonsoft.Json.JsonPropertyAttribute("trackingUrlTemplate")] + public virtual string TrackingUrlTemplate { get; set; } + /// Output only. The type of ad. [Newtonsoft.Json.JsonPropertyAttribute("type")] public virtual string Type { get; set; } @@ -3247,6 +3392,10 @@ public class GoogleAdsSearchads360V0ResourcesAdGroup : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("engineStatus")] public virtual string EngineStatus { get; set; } + /// URL template for appending params to Final URL. + [Newtonsoft.Json.JsonPropertyAttribute("finalUrlSuffix")] + public virtual string FinalUrlSuffix { get; set; } + /// Output only. The ID of the ad group. [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual System.Nullable Id { get; set; } @@ -3302,6 +3451,10 @@ public class GoogleAdsSearchads360V0ResourcesAdGroup : Google.Apis.Requests.IDir [Newtonsoft.Json.JsonPropertyAttribute("targetingSetting")] public virtual GoogleAdsSearchads360V0CommonTargetingSetting TargetingSetting { get; set; } + /// The URL template for constructing a tracking URL. + [Newtonsoft.Json.JsonPropertyAttribute("trackingUrlTemplate")] + public virtual string TrackingUrlTemplate { get; set; } + /// Immutable. The type of the ad group. [Newtonsoft.Json.JsonPropertyAttribute("type")] public virtual string Type { get; set; } @@ -3391,7 +3544,7 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupAdEffectiveLabel : Google.Ap /// /// Immutable. The resource name of the ad group ad effective label. Ad group ad effective label resource names - /// have the form: `customers/{customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` + /// have the form: `customers/{owner_customer_id}/adGroupAdEffectiveLabels/{ad_group_id}~{ad_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -3417,7 +3570,7 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupAdLabel : Google.Apis.Reques /// /// Immutable. The resource name of the ad group ad label. Ad group ad label resource names have the form: - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + /// `customers/{owner_customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -3582,6 +3735,10 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupCriterion : Google.Apis.Requ [Newtonsoft.Json.JsonPropertyAttribute("engineStatus")] public virtual string EngineStatus { get; set; } + /// The list of possible final mobile URLs after all cross-domain redirects. + [Newtonsoft.Json.JsonPropertyAttribute("finalMobileUrls")] + public virtual System.Collections.Generic.IList FinalMobileUrls { get; set; } + /// URL template for appending params to final URL. [Newtonsoft.Json.JsonPropertyAttribute("finalUrlSuffix")] public virtual string FinalUrlSuffix { get; set; } @@ -3658,6 +3815,13 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupCriterion : Google.Apis.Requ [Newtonsoft.Json.JsonPropertyAttribute("type")] public virtual string Type { get; set; } + /// + /// The list of mappings used to substitute custom parameter tags in a `tracking_url_template`, `final_urls`, or + /// `mobile_final_urls`. + /// + [Newtonsoft.Json.JsonPropertyAttribute("urlCustomParameters")] + public virtual System.Collections.Generic.IList UrlCustomParameters { get; set; } + /// Immutable. User List. [Newtonsoft.Json.JsonPropertyAttribute("userList")] public virtual GoogleAdsSearchads360V0CommonUserListInfo UserList { get; set; } @@ -3691,7 +3855,7 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupCriterionEffectiveLabel : Go /// /// Immutable. The resource name of the ad group criterion effective label. Ad group criterion effective label /// resource names have the form: - /// `customers/{customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// `customers/{owner_customer_id}/adGroupCriterionEffectiveLabels/{ad_group_id}~{criterion_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -3717,7 +3881,7 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupCriterionLabel : Google.Apis /// /// Immutable. The resource name of the ad group criterion label. Ad group criterion label resource names have - /// the form: `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// the form: `customers/{owner_customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -3774,7 +3938,7 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupEffectiveLabel : Google.Apis /// /// Immutable. The resource name of the ad group effective label. Ad group effective label resource names have - /// the form: `customers/{customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}` + /// the form: `customers/{owner_customer_id}/adGroupEffectiveLabels/{ad_group_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -3800,7 +3964,7 @@ public class GoogleAdsSearchads360V0ResourcesAdGroupLabel : Google.Apis.Requests /// /// Immutable. The resource name of the ad group label. Ad group label resource names have the form: - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// `customers/{owner_customer_id}/adGroupLabels/{ad_group_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -3853,6 +4017,14 @@ public class GoogleAdsSearchads360V0ResourcesAsset : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("engineStatus")] public virtual string EngineStatus { get; set; } + /// A list of possible final mobile URLs after all cross domain redirects. + [Newtonsoft.Json.JsonPropertyAttribute("finalMobileUrls")] + public virtual System.Collections.Generic.IList FinalMobileUrls { get; set; } + + /// URL template for appending params to landing page URLs served with parallel tracking. + [Newtonsoft.Json.JsonPropertyAttribute("finalUrlSuffix")] + public virtual string FinalUrlSuffix { get; set; } + /// A list of possible final URLs after all cross domain redirects. [Newtonsoft.Json.JsonPropertyAttribute("finalUrls")] public virtual System.Collections.Generic.IList FinalUrls { get; set; } @@ -3915,6 +4087,13 @@ public class GoogleAdsSearchads360V0ResourcesAsset : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("type")] public virtual string Type { get; set; } + /// + /// A list of mappings to be used for substituting URL custom parameter tags in the tracking_url_template, + /// final_urls, and/or final_mobile_urls. + /// + [Newtonsoft.Json.JsonPropertyAttribute("urlCustomParameters")] + public virtual System.Collections.Generic.IList UrlCustomParameters { get; set; } + /// Immutable. A YouTube video asset. [Newtonsoft.Json.JsonPropertyAttribute("youtubeVideoAsset")] public virtual GoogleAdsSearchads360V0CommonYoutubeVideoAsset YoutubeVideoAsset { get; set; } @@ -4438,6 +4617,10 @@ public class GoogleAdsSearchads360V0ResourcesCampaign : Google.Apis.Requests.IDi [Newtonsoft.Json.JsonPropertyAttribute("excludedParentAssetFieldTypes")] public virtual System.Collections.Generic.IList ExcludedParentAssetFieldTypes { get; set; } + /// Output only. Types of feeds that are attached directly to this campaign. + [Newtonsoft.Json.JsonPropertyAttribute("feedTypes")] + public virtual System.Collections.Generic.IList FeedTypes { get; set; } + /// /// Suffix used to append query parameters to landing pages that are served with parallel tracking. /// @@ -4854,7 +5037,7 @@ public class GoogleAdsSearchads360V0ResourcesCampaignEffectiveLabel : Google.Api /// /// Immutable. Name of the resource. CampaignEffectivelabel resource names have the form: - /// `customers/{customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}` + /// `customers/{owner_customer_id}/campaignEffectiveLabels/{campaign_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -4895,7 +5078,7 @@ public class GoogleAdsSearchads360V0ResourcesCampaignLabel : Google.Apis.Request /// /// Immutable. Name of the resource. Campaign label resource names have the form: - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// `customers/{owner_customer_id}/campaignLabels/{campaign_id}~{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -5943,7 +6126,7 @@ public class GoogleAdsSearchads360V0ResourcesLabel : Google.Apis.Requests.IDirec /// /// Immutable. Name of the resource. Label resource names have the form: - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{owner_customer_id}/labels/{label_id}` /// [Newtonsoft.Json.JsonPropertyAttribute("resourceName")] public virtual string ResourceName { get; set; } @@ -6301,7 +6484,12 @@ public class GoogleAdsSearchads360V0ResourcesSearchAds360Field : Google.Apis.Req /// Shopping performance view. Provides Shopping campaign statistics aggregated at several product dimension levels. /// Product dimension values from Merchant Center such as brand, category, custom attributes, product condition and /// product type will reflect the state of each dimension as of the date and time when the corresponding event was - /// recorded. + /// recorded. The number of impressions and clicks that shopping_performance_view returns stats for may be different + /// from campaign reports. shopping_performance_view shows impressions and clicks on products appearing in ads, + /// while campaign reports show impressions and clicks on the ads themselves. Depending on the format, an ad can + /// show from zero to several products, so the numbers may not match. In Google Ads UI, you can query impressions + /// and clicks of products appearing in ads by selecting a column from "Product attributes" in the report editor. + /// For example, selecting the "Brand" column is equivalent to selecting `segments.product_brand`. /// public class GoogleAdsSearchads360V0ResourcesShoppingPerformanceView : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj index 2c47cca265c..d82b4900926 100644 --- a/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj +++ b/Src/Generated/Google.Apis.SA360.v0/Google.Apis.SA360.v0.csproj @@ -3,7 +3,7 @@ Google.Apis.SA360.v0 Client Library - 1.70.0.3854 + 1.72.0.3972 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 8d37c3d34dc179c29fbbd74e2299c4a644973ad2 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:49 +0000 Subject: [PATCH 094/106] feat: Generate Google.Apis.SecretManager.v1 version 1.72.0.3961 --- DiscoveryJson/secretmanager.v1.json | 49 ++++++++++++++++++- .../Google.Apis.SecretManager.v1.cs | 4 +- .../Google.Apis.SecretManager.v1.csproj | 2 +- 3 files changed, 50 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/secretmanager.v1.json b/DiscoveryJson/secretmanager.v1.json index d33b5a99b7e..0c604ed8075 100644 --- a/DiscoveryJson/secretmanager.v1.json +++ b/DiscoveryJson/secretmanager.v1.json @@ -26,11 +26,31 @@ "endpointUrl": "https://secretmanager.africa-south1.rep.googleapis.com/", "location": "africa-south1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.asia-northeast1.rep.googleapis.com/", "location": "asia-northeast1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.asia-south1.rep.googleapis.com/", @@ -51,6 +71,11 @@ "endpointUrl": "https://secretmanager.asia-southeast2.rep.googleapis.com/", "location": "asia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.australia-southeast1.rep.googleapis.com/", @@ -66,16 +91,31 @@ "endpointUrl": "https://secretmanager.europe-central2.rep.googleapis.com/", "location": "europe-central2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-north2.rep.googleapis.com/", "location": "europe-north2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west1.rep.googleapis.com/", "location": "europe-west1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west12.rep.googleapis.com/", @@ -136,6 +176,11 @@ "endpointUrl": "https://secretmanager.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.southamerica-east1.rep.googleapis.com/", @@ -341,7 +386,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1311,7 +1356,7 @@ } } }, - "revision": "20251004", + "revision": "20251105", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { diff --git a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs index 3c1b282c1e1..1da46ac74fa 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.cs @@ -1440,8 +1440,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj index da744d4761d..e8708196bed 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1/Google.Apis.SecretManager.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1 Client Library - 1.72.0.3929 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 8f2e7678ae14d10e0f31772b2b54d51d6d88bc7c Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:51 +0000 Subject: [PATCH 095/106] feat: Generate Google.Apis.SecretManager.v1beta1 version 1.72.0.3961 --- DiscoveryJson/secretmanager.v1beta1.json | 49 ++++++++++++++++++- .../Google.Apis.SecretManager.v1beta1.cs | 4 +- .../Google.Apis.SecretManager.v1beta1.csproj | 2 +- 3 files changed, 50 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/secretmanager.v1beta1.json b/DiscoveryJson/secretmanager.v1beta1.json index fc2d23f07a8..488487cd685 100644 --- a/DiscoveryJson/secretmanager.v1beta1.json +++ b/DiscoveryJson/secretmanager.v1beta1.json @@ -26,11 +26,31 @@ "endpointUrl": "https://secretmanager.africa-south1.rep.googleapis.com/", "location": "africa-south1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.asia-northeast1.rep.googleapis.com/", "location": "asia-northeast1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.asia-south1.rep.googleapis.com/", @@ -51,6 +71,11 @@ "endpointUrl": "https://secretmanager.asia-southeast2.rep.googleapis.com/", "location": "asia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.australia-southeast1.rep.googleapis.com/", @@ -66,16 +91,31 @@ "endpointUrl": "https://secretmanager.europe-central2.rep.googleapis.com/", "location": "europe-central2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-north2.rep.googleapis.com/", "location": "europe-north2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west1.rep.googleapis.com/", "location": "europe-west1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west12.rep.googleapis.com/", @@ -136,6 +176,11 @@ "endpointUrl": "https://secretmanager.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.southamerica-east1.rep.googleapis.com/", @@ -341,7 +386,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -831,7 +876,7 @@ } } }, - "revision": "20251004", + "revision": "20251105", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs index 3e25f5ce274..bb2d10694fc 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.cs @@ -362,8 +362,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj index bd284771ba5..bfc46fa2680 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1beta1/Google.Apis.SecretManager.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1beta1 Client Library - 1.72.0.3929 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 42ff14e9e8730bbf116153b0e24a6f152bb81f5d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:53 +0000 Subject: [PATCH 096/106] feat: Generate Google.Apis.SecretManager.v1beta2 version 1.72.0.3961 --- DiscoveryJson/secretmanager.v1beta2.json | 49 ++++++++++++++++++- .../Google.Apis.SecretManager.v1beta2.cs | 4 +- .../Google.Apis.SecretManager.v1beta2.csproj | 2 +- 3 files changed, 50 insertions(+), 5 deletions(-) diff --git a/DiscoveryJson/secretmanager.v1beta2.json b/DiscoveryJson/secretmanager.v1beta2.json index 6e4a5a01e90..76c1b2d8307 100644 --- a/DiscoveryJson/secretmanager.v1beta2.json +++ b/DiscoveryJson/secretmanager.v1beta2.json @@ -26,11 +26,31 @@ "endpointUrl": "https://secretmanager.africa-south1.rep.googleapis.com/", "location": "africa-south1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-east1.rep.googleapis.com/", + "location": "asia-east1" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-east2.rep.googleapis.com/", + "location": "asia-east2" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.asia-northeast1.rep.googleapis.com/", "location": "asia-northeast1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-northeast2.rep.googleapis.com/", + "location": "asia-northeast2" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-northeast3.rep.googleapis.com/", + "location": "asia-northeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.asia-south1.rep.googleapis.com/", @@ -51,6 +71,11 @@ "endpointUrl": "https://secretmanager.asia-southeast2.rep.googleapis.com/", "location": "asia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.australia-southeast1.rep.googleapis.com/", @@ -66,16 +91,31 @@ "endpointUrl": "https://secretmanager.europe-central2.rep.googleapis.com/", "location": "europe-central2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-north1.rep.googleapis.com/", + "location": "europe-north1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-north2.rep.googleapis.com/", "location": "europe-north2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-southwest1.rep.googleapis.com/", + "location": "europe-southwest1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west1.rep.googleapis.com/", "location": "europe-west1" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.europe-west10.rep.googleapis.com/", + "location": "europe-west10" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.europe-west12.rep.googleapis.com/", @@ -136,6 +176,11 @@ "endpointUrl": "https://secretmanager.northamerica-northeast2.rep.googleapis.com/", "location": "northamerica-northeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://secretmanager.northamerica-south1.rep.googleapis.com/", + "location": "northamerica-south1" + }, { "description": "Regional Endpoint", "endpointUrl": "https://secretmanager.southamerica-east1.rep.googleapis.com/", @@ -341,7 +386,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", + "description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1311,7 +1356,7 @@ } } }, - "revision": "20251004", + "revision": "20251105", "rootUrl": "https://secretmanager.googleapis.com/", "schemas": { "AccessSecretVersionResponse": { diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.cs b/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.cs index 4b73ba972f0..7be558f044b 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.cs +++ b/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.cs @@ -1440,8 +1440,8 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b public virtual string Name { get; private set; } /// - /// Optional. Unless explicitly documented otherwise, don't use this unsupported field which is - /// primarily intended for internal usage. + /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented + /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } diff --git a/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.csproj b/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.csproj index 2ce207b3449..f4e84606ebc 100644 --- a/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.csproj +++ b/Src/Generated/Google.Apis.SecretManager.v1beta2/Google.Apis.SecretManager.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.SecretManager.v1beta2 Client Library - 1.72.0.3929 + 1.72.0.3961 Google LLC Copyright 2025 Google LLC Google From 87e31a874ae64081666cf21a67f967dc2efb4b73 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:56 +0000 Subject: [PATCH 097/106] feat: Generate Google.Apis.ServiceNetworking.v1 version 1.72.0.3969 --- DiscoveryJson/servicenetworking.v1.json | 6 +++--- .../Google.Apis.ServiceNetworking.v1.cs | 10 +++++----- .../Google.Apis.ServiceNetworking.v1.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/DiscoveryJson/servicenetworking.v1.json b/DiscoveryJson/servicenetworking.v1.json index 1024727c74e..46d2b8537fc 100644 --- a/DiscoveryJson/servicenetworking.v1.json +++ b/DiscoveryJson/servicenetworking.v1.json @@ -224,7 +224,7 @@ "type": "string" }, "returnPartialSuccess": { - "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", "location": "query", "type": "boolean" } @@ -1034,7 +1034,7 @@ } } }, - "revision": "20251027", + "revision": "20251113", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2774,7 +2774,7 @@ "type": "array" }, "unreachable": { - "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.", "items": { "type": "string" }, diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs index 89c3877b6b2..829c9a60e78 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.cs @@ -498,9 +498,9 @@ public ListRequest(Google.Apis.Services.IClientService service, string name) : b /// /// When set to `true`, operations that are reachable are returned as normal, and those that are unreachable - /// are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading - /// across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by - /// default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented + /// are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading + /// across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is + /// not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented /// otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] @@ -4666,8 +4666,8 @@ public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema /// /// Unordered list. Unreachable resources. Populated when the request sets - /// `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all - /// resources across all supported locations. + /// `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to + /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj index 5d9a1b9056e..e4532dc6b4e 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1/Google.Apis.ServiceNetworking.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1 Client Library - 1.72.0.3952 + 1.72.0.3969 Google LLC Copyright 2025 Google LLC Google From 6f938269b9f4a34dcb74de58819173bdee39142a Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:26:58 +0000 Subject: [PATCH 098/106] feat: Generate Google.Apis.Sheets.v4 version 1.72.0.3966 --- DiscoveryJson/sheets.v4.json | 4 ++-- .../Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs | 4 ++-- .../Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DiscoveryJson/sheets.v4.json b/DiscoveryJson/sheets.v4.json index 1391cc92f2c..411f6a77722 100644 --- a/DiscoveryJson/sheets.v4.json +++ b/DiscoveryJson/sheets.v4.json @@ -875,7 +875,7 @@ } } }, - "revision": "20250616", + "revision": "20251110", "rootUrl": "https://sheets.googleapis.com/", "schemas": { "AddBandingRequest": { @@ -5377,7 +5377,7 @@ "id": "NumberFormat", "properties": { "pattern": { - "description": "Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the [Date and Number Formats guide](https://developers.google.com/workspace/sheets/api/guides/formats) for more information about the supported patterns.", + "description": "Pattern string used for formatting. If not set, a default pattern based on the spreadsheet's locale will be used if necessary for the given type. See the [Date and Number Formats guide](https://developers.google.com/workspace/sheets/api/guides/formats) for more information about the supported patterns.", "type": "string" }, "type": { diff --git a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs index 52b15d8d7d4..6fda76df8c1 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs +++ b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.cs @@ -6355,8 +6355,8 @@ public class NamedRange : Google.Apis.Requests.IDirectResponseSchema public class NumberFormat : Google.Apis.Requests.IDirectResponseSchema { /// - /// Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if - /// necessary for the given type. See the [Date and Number Formats + /// Pattern string used for formatting. If not set, a default pattern based on the spreadsheet's locale will be + /// used if necessary for the given type. See the [Date and Number Formats /// guide](https://developers.google.com/workspace/sheets/api/guides/formats) for more information about the /// supported patterns. /// diff --git a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj index e98d8528089..6a31eb9b833 100644 --- a/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj +++ b/Src/Generated/Google.Apis.Sheets.v4/Google.Apis.Sheets.v4.csproj @@ -3,7 +3,7 @@ Google.Apis.Sheets.v4 Client Library - 1.70.0.3819 + 1.72.0.3966 Google LLC Copyright 2025 Google LLC Google @@ -59,8 +59,8 @@ - - + + From 4e1104091148efd13b590ad1c33939c2b5ab74a3 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:00 +0000 Subject: [PATCH 099/106] feat: Generate Google.Apis.SQLAdmin.v1 version 1.72.0.3963 --- DiscoveryJson/sqladmin.v1.json | 188 ++++++++++++- .../Google.Apis.SQLAdmin.v1.cs | 248 +++++++++++++++++- .../Google.Apis.SQLAdmin.v1.csproj | 2 +- 3 files changed, 422 insertions(+), 16 deletions(-) diff --git a/DiscoveryJson/sqladmin.v1.json b/DiscoveryJson/sqladmin.v1.json index d87f41bf9c6..2fadce6ab9a 100644 --- a/DiscoveryJson/sqladmin.v1.json +++ b/DiscoveryJson/sqladmin.v1.json @@ -785,6 +785,38 @@ }, "instances": { "methods": { + "ListEntraIdCertificates": { + "description": "Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of certificates listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.", + "flatPath": "v1/projects/{project}/instances/{instance}/listEntraIdCertificates", + "httpMethod": "GET", + "id": "sql.instances.ListEntraIdCertificates", + "parameterOrder": [ + "project", + "instance" + ], + "parameters": { + "instance": { + "description": "Required. Cloud SQL instance ID. This does not include the project ID.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Required. Project ID of the project that contains the instance.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1/projects/{project}/instances/{instance}/listEntraIdCertificates", + "response": { + "$ref": "InstancesListEntraIdCertificatesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/sqlservice.admin" + ] + }, "ListServerCertificates": { "description": "Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead.", "flatPath": "v1/projects/{project}/instances/{instance}/listServerCertificates", @@ -817,6 +849,41 @@ "https://www.googleapis.com/auth/sqlservice.admin" ] }, + "RotateEntraIdCertificate": { + "description": "Rotates the server certificate version to one previously added with the addEntraIdCertificate method.", + "flatPath": "v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate", + "httpMethod": "POST", + "id": "sql.instances.RotateEntraIdCertificate", + "parameterOrder": [ + "project", + "instance" + ], + "parameters": { + "instance": { + "description": "Required. Cloud SQL instance ID. This does not include the project ID.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Required. Project ID of the project that contains the instance.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate", + "request": { + "$ref": "InstancesRotateEntraIdCertificateRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/sqlservice.admin" + ] + }, "RotateServerCertificate": { "description": "Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead.", "flatPath": "v1/projects/{project}/instances/{instance}/rotateServerCertificate", @@ -2647,6 +2714,12 @@ "instance" ], "parameters": { + "databaseRoles": { + "description": "Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.", + "location": "query", + "repeated": true, + "type": "string" + }, "host": { "description": "Optional. Host of the user in the instance.", "location": "query", @@ -2685,7 +2758,7 @@ } } }, - "revision": "20251019", + "revision": "20251107", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -4562,7 +4635,7 @@ ], "enumDescriptions": [ "This is an unknown suspension reason.", - "The instance is suspended due to billing issues (for example:, GCP account issue)", + "The instance is suspended due to billing issues (for example:, account issue)", "The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).", "The instance is causing operational issues (for example:, causing the database to crash).", "The KMS key used by the instance is either revoked or denied access to" @@ -5472,7 +5545,7 @@ "type": "object" }, "noRecovery": { - "description": "Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.", + "description": "Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.", "type": "boolean" }, "recoveryOnly": { @@ -5741,6 +5814,28 @@ }, "type": "object" }, + "InstancesListEntraIdCertificatesResponse": { + "description": "Instances ListEntraIdCertificates response.", + "id": "InstancesListEntraIdCertificatesResponse", + "properties": { + "activeVersion": { + "description": "The `sha1_fingerprint` of the active certificate from `certs`.", + "type": "string" + }, + "certs": { + "description": "List of Entra ID certificates for the instance.", + "items": { + "$ref": "SslCert" + }, + "type": "array" + }, + "kind": { + "description": "This is always `sql#instancesListEntraIdCertificates`.", + "type": "string" + } + }, + "type": "object" + }, "InstancesListResponse": { "description": "Database instances list response.", "id": "InstancesListResponse", @@ -5872,6 +5967,17 @@ }, "type": "object" }, + "InstancesRotateEntraIdCertificateRequest": { + "description": "Rotate Entra ID certificate request.", + "id": "InstancesRotateEntraIdCertificateRequest", + "properties": { + "rotateEntraIdCertificateContext": { + "$ref": "RotateEntraIdCertificateContext", + "description": "Optional. Contains details about the rotate server certificate operation." + } + }, + "type": "object" + }, "InstancesRotateServerCaRequest": { "description": "Rotate server CA request.", "id": "InstancesRotateServerCaRequest", @@ -5984,6 +6090,20 @@ "description": "Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID}", "type": "string" }, + "serverCertificateRotationMode": { + "description": "Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or self-service maintenance updates up to six months before it expires. This setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.", + "enum": [ + "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", + "NO_AUTOMATIC_ROTATION", + "AUTOMATIC_ROTATION_DURING_MAINTENANCE" + ], + "enumDescriptions": [ + "Unspecified: no automatic server certificate rotation.", + "No automatic server certificate rotation. The user must [manage server certificate rotation](/sql/docs/mysql/manage-ssl-instance#rotate-server-certificate-cas) on their side.", + "Automatic server certificate rotation during Cloud SQL scheduled maintenance or self-service maintenance updates. Requires `server_ca_mode` to be `GOOGLE_MANAGED_CAS_CA` or `CUSTOMER_MANAGED_CAS_CA`." + ], + "type": "string" + }, "sslMode": { "description": "Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.", "enum": [ @@ -6725,7 +6845,7 @@ "type": "object" }, "PointInTimeRestoreContext": { - "description": "The context to perform a point-in-time recovery of an instance managed by Google Cloud Backup and Disaster Recovery.", + "description": "The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) Service.", "id": "PointInTimeRestoreContext", "properties": { "allocatedIpRange": { @@ -6733,7 +6853,7 @@ "type": "string" }, "datasource": { - "description": "The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", + "description": "The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", "type": "string" }, "pointInTime": { @@ -7275,6 +7395,21 @@ }, "type": "object" }, + "RotateEntraIdCertificateContext": { + "description": "Instance rotate Entra ID certificate context.", + "id": "RotateEntraIdCertificateContext", + "properties": { + "kind": { + "description": "Optional. This is always `sql#rotateEntraIdCertificateContext`.", + "type": "string" + }, + "nextVersion": { + "description": "Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added server certificate version.", + "type": "string" + } + }, + "type": "object" + }, "RotateServerCaContext": { "description": "Instance rotate server CA context.", "id": "RotateServerCaContext", @@ -7422,7 +7557,7 @@ "type": "boolean" }, "dataApiAccess": { - "description": "This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default.", + "description": "This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.", "enum": [ "DATA_API_ACCESS_UNSPECIFIED", "DISALLOW_DATA_API", @@ -7430,8 +7565,8 @@ ], "enumDescriptions": [ "Unspecified, effectively the same as `DISALLOW_DATA_API`.", - "Disallow using Data API to connect to the instance.", - "Allow using Data API to connect to the instance. For private IP instances, this will allow authorized users to access the instance from the public internet." + "Disallow using ExecuteSql API to connect to the instance.", + "Allow using ExecuteSql API to connect to the instance. For private IP instances, this allows authorized users to access the instance from the public internet using ExecuteSql API." ], "type": "string" }, @@ -7523,6 +7658,10 @@ "description": "Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.", "type": "boolean" }, + "entraidConfig": { + "$ref": "SqlServerEntraIdConfig", + "description": "Optional. The Microsoft Entra ID configuration for the SQL Server instance." + }, "finalBackupConfig": { "$ref": "FinalBackupConfig", "description": "Optional. The final backup configuration for the instance." @@ -8181,6 +8320,26 @@ }, "type": "object" }, + "SqlServerEntraIdConfig": { + "description": "SQL Server Entra ID configuration.", + "id": "SqlServerEntraIdConfig", + "properties": { + "applicationId": { + "description": "Optional. The application ID for the Entra ID configuration.", + "type": "string" + }, + "kind": { + "description": "Output only. This is always sql#sqlServerEntraIdConfig", + "readOnly": true, + "type": "string" + }, + "tenantId": { + "description": "Optional. The tenant ID for the Entra ID configuration.", + "type": "string" + } + }, + "type": "object" + }, "SqlServerUserDetails": { "description": "Represents a Sql Server user on the Cloud SQL instance.", "id": "SqlServerUserDetails", @@ -8478,6 +8637,13 @@ "description": "A Cloud SQL user resource.", "id": "User", "properties": { + "databaseRoles": { + "description": "Optional. Role memberships of the user", + "items": { + "type": "string" + }, + "type": "array" + }, "dualPasswordType": { "description": "Dual password status for the user.", "enum": [ @@ -8555,7 +8721,8 @@ "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER", - "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" + "CLOUD_IAM_GROUP_SERVICE_ACCOUNT", + "ENTRAID_USER" ], "enumDescriptions": [ "The database's built-in user type.", @@ -8563,7 +8730,8 @@ "Cloud IAM service account.", "Cloud IAM group. Not used for login.", "Read-only. Login for a user that belongs to the Cloud IAM group.", - "Read-only. Login for a service account that belongs to the Cloud IAM group." + "Read-only. Login for a service account that belongs to the Cloud IAM group.", + "Microsoft Entra ID user." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs index 085ea24e5c1..acd213b751e 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.cs @@ -1742,6 +1742,73 @@ public InstancesResource(Google.Apis.Services.IClientService service) this.service = service; } + /// + /// Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of + /// certificates listed: the certificate that is currently in use, a future that has been added but not yet used + /// to sign a certificate, and a certificate that has been rotated out. + /// + /// Required. Project ID of the project that contains the instance. + /// Required. Cloud SQL instance ID. This does not include the project ID. + public virtual ListEntraIdCertificatesRequest ListEntraIdCertificates(string project, string instance) + { + return new ListEntraIdCertificatesRequest(this.service, project, instance); + } + + /// + /// Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of + /// certificates listed: the certificate that is currently in use, a future that has been added but not yet used + /// to sign a certificate, and a certificate that has been rotated out. + /// + public class ListEntraIdCertificatesRequest : SQLAdminBaseServiceRequest + { + /// Constructs a new ListEntraIdCertificates request. + public ListEntraIdCertificatesRequest(Google.Apis.Services.IClientService service, string project, string instance) : base(service) + { + Project = project; + Instance = instance; + InitParameters(); + } + + /// Required. Project ID of the project that contains the instance. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Required. Cloud SQL instance ID. This does not include the project ID. + [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Instance { get; private set; } + + /// Gets the method name. + public override string MethodName => "ListEntraIdCertificates"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/projects/{project}/instances/{instance}/listEntraIdCertificates"; + + /// Initializes ListEntraIdCertificates parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("instance", new Google.Apis.Discovery.Parameter + { + Name = "instance", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. /// There can be up to three sets of certs listed: the certificate that is currently in use, a future that has @@ -1811,6 +1878,77 @@ protected override void InitParameters() } } + /// + /// Rotates the server certificate version to one previously added with the addEntraIdCertificate method. + /// + /// The body of the request. + /// Required. Project ID of the project that contains the instance. + /// Required. Cloud SQL instance ID. This does not include the project ID. + public virtual RotateEntraIdCertificateRequest RotateEntraIdCertificate(Google.Apis.SQLAdmin.v1.Data.InstancesRotateEntraIdCertificateRequest body, string project, string instance) + { + return new RotateEntraIdCertificateRequest(this.service, body, project, instance); + } + + /// + /// Rotates the server certificate version to one previously added with the addEntraIdCertificate method. + /// + public class RotateEntraIdCertificateRequest : SQLAdminBaseServiceRequest + { + /// Constructs a new RotateEntraIdCertificate request. + public RotateEntraIdCertificateRequest(Google.Apis.Services.IClientService service, Google.Apis.SQLAdmin.v1.Data.InstancesRotateEntraIdCertificateRequest body, string project, string instance) : base(service) + { + Project = project; + Instance = instance; + Body = body; + InitParameters(); + } + + /// Required. Project ID of the project that contains the instance. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Required. Cloud SQL instance ID. This does not include the project ID. + [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Instance { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.SQLAdmin.v1.Data.InstancesRotateEntraIdCertificateRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "RotateEntraIdCertificate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/projects/{project}/instances/{instance}/rotateEntraIdCertificate"; + + /// Initializes RotateEntraIdCertificate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("instance", new Google.Apis.Discovery.Parameter + { + Name = "instance", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Rotates the server certificate version to one previously added with the addServerCertificate method. For /// instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead. @@ -5595,6 +5733,13 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.SQ [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] public virtual string Instance { get; private set; } + /// + /// Optional. List of database roles to grant to the user. body.database_roles will be ignored for update + /// request. + /// + [Google.Apis.Util.RequestParameterAttribute("databaseRoles", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable DatabaseRoles { get; set; } + /// Optional. Host of the user in the instance. [Google.Apis.Util.RequestParameterAttribute("host", Google.Apis.Util.RequestParameterType.Query)] public virtual string Host { get; set; } @@ -5638,6 +5783,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("databaseRoles", new Google.Apis.Discovery.Parameter + { + Name = "databaseRoles", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("host", new Google.Apis.Discovery.Parameter { Name = "host", @@ -7938,7 +8091,7 @@ public class BakImportOptionsData public virtual EncryptionOptionsData EncryptionOptions { get; set; } /// - /// Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud + /// Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud /// SQL for SQL Server. /// [Newtonsoft.Json.JsonPropertyAttribute("noRecovery")] @@ -8268,6 +8421,25 @@ public class InstancesImportRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Instances ListEntraIdCertificates response. + public class InstancesListEntraIdCertificatesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The `sha1_fingerprint` of the active certificate from `certs`. + [Newtonsoft.Json.JsonPropertyAttribute("activeVersion")] + public virtual string ActiveVersion { get; set; } + + /// List of Entra ID certificates for the instance. + [Newtonsoft.Json.JsonPropertyAttribute("certs")] + public virtual System.Collections.Generic.IList Certs { get; set; } + + /// This is always `sql#instancesListEntraIdCertificates`. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Database instances list response. public class InstancesListResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -8402,6 +8574,17 @@ public class InstancesRestoreBackupRequest : Google.Apis.Requests.IDirectRespons public virtual string ETag { get; set; } } + /// Rotate Entra ID certificate request. + public class InstancesRotateEntraIdCertificateRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Contains details about the rotate server certificate operation. + [Newtonsoft.Json.JsonPropertyAttribute("rotateEntraIdCertificateContext")] + public virtual RotateEntraIdCertificateContext RotateEntraIdCertificateContext { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Rotate server CA request. public class InstancesRotateServerCaRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -8590,6 +8773,15 @@ public class IpConfiguration : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("serverCaPool")] public virtual string ServerCaPool { get; set; } + /// + /// Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. + /// When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or + /// self-service maintenance updates up to six months before it expires. This setting can only be set if + /// server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serverCertificateRotationMode")] + public virtual string ServerCertificateRotationMode { get; set; } + /// /// Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward /// compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * @@ -9385,8 +9577,8 @@ public class PerformDiskShrinkContext : Google.Apis.Requests.IDirectResponseSche } /// - /// The context to perform a point-in-time recovery of an instance managed by Google Cloud Backup and Disaster - /// Recovery. + /// The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) + /// Service. /// public class PointInTimeRestoreContext : Google.Apis.Requests.IDirectResponseSchema { @@ -9401,7 +9593,7 @@ public class PointInTimeRestoreContext : Google.Apis.Requests.IDirectResponseSch public virtual string AllocatedIpRange { get; set; } /// - /// The Google Cloud Backup and Disaster Recovery Datasource URI. Format: + /// The Backup and Disaster Recovery (DR) Service Datasource URI. Format: /// projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}. /// [Newtonsoft.Json.JsonPropertyAttribute("datasource")] @@ -9827,6 +10019,24 @@ public class RestoreBackupContext : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Instance rotate Entra ID certificate context. + public class RotateEntraIdCertificateContext : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. This is always `sql#rotateEntraIdCertificateContext`. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the + /// most recently added server certificate version. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextVersion")] + public virtual string NextVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Instance rotate server CA context. public class RotateServerCaContext : Google.Apis.Requests.IDirectResponseSchema { @@ -9958,7 +10168,8 @@ public class Settings : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable CrashSafeReplicationEnabled { get; set; } /// - /// This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default. + /// This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by + /// default. /// [Newtonsoft.Json.JsonPropertyAttribute("dataApiAccess")] public virtual string DataApiAccess { get; set; } @@ -10029,6 +10240,10 @@ public class Settings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("enableGoogleMlIntegration")] public virtual System.Nullable EnableGoogleMlIntegration { get; set; } + /// Optional. The Microsoft Entra ID configuration for the SQL Server instance. + [Newtonsoft.Json.JsonPropertyAttribute("entraidConfig")] + public virtual SqlServerEntraIdConfig EntraidConfig { get; set; } + /// Optional. The final backup configuration for the instance. [Newtonsoft.Json.JsonPropertyAttribute("finalBackupConfig")] public virtual FinalBackupConfig FinalBackupConfig { get; set; } @@ -10621,6 +10836,25 @@ public class SqlServerDatabaseDetails : Google.Apis.Requests.IDirectResponseSche public virtual string ETag { get; set; } } + /// SQL Server Entra ID configuration. + public class SqlServerEntraIdConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The application ID for the Entra ID configuration. + [Newtonsoft.Json.JsonPropertyAttribute("applicationId")] + public virtual string ApplicationId { get; set; } + + /// Output only. This is always sql#sqlServerEntraIdConfig + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// Optional. The tenant ID for the Entra ID configuration. + [Newtonsoft.Json.JsonPropertyAttribute("tenantId")] + public virtual string TenantId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents a Sql Server user on the Cloud SQL instance. public class SqlServerUserDetails : Google.Apis.Requests.IDirectResponseSchema { @@ -10976,6 +11210,10 @@ public class TruncateLogContext : Google.Apis.Requests.IDirectResponseSchema /// A Cloud SQL user resource. public class User : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. Role memberships of the user + [Newtonsoft.Json.JsonPropertyAttribute("databaseRoles")] + public virtual System.Collections.Generic.IList DatabaseRoles { get; set; } + /// Dual password status for the user. [Newtonsoft.Json.JsonPropertyAttribute("dualPasswordType")] public virtual string DualPasswordType { get; set; } diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj index 8510a7c64ee..864050ebeea 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1/Google.Apis.SQLAdmin.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SQLAdmin.v1 Client Library - 1.72.0.3944 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From cccc8298c630604e100a9e80d7de3bf13e272325 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:03 +0000 Subject: [PATCH 100/106] feat: Generate Google.Apis.SQLAdmin.v1beta4 version 1.72.0.3963 --- DiscoveryJson/sqladmin.v1beta4.json | 234 +++++++++++- .../Google.Apis.SQLAdmin.v1beta4.cs | 338 +++++++++++++++++- .../Google.Apis.SQLAdmin.v1beta4.csproj | 2 +- 3 files changed, 559 insertions(+), 15 deletions(-) diff --git a/DiscoveryJson/sqladmin.v1beta4.json b/DiscoveryJson/sqladmin.v1beta4.json index 349a9887e72..f8828475d21 100644 --- a/DiscoveryJson/sqladmin.v1beta4.json +++ b/DiscoveryJson/sqladmin.v1beta4.json @@ -785,6 +785,38 @@ }, "instances": { "methods": { + "ListEntraIdCertificates": { + "description": "Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of certificates listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out.", + "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/listEntraIdCertificates", + "httpMethod": "GET", + "id": "sql.instances.ListEntraIdCertificates", + "parameterOrder": [ + "project", + "instance" + ], + "parameters": { + "instance": { + "description": "Required. Cloud SQL instance ID. This does not include the project ID.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Required. Project ID of the project that contains the instance.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "sql/v1beta4/projects/{project}/instances/{instance}/listEntraIdCertificates", + "response": { + "$ref": "InstancesListEntraIdCertificatesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/sqlservice.admin" + ] + }, "ListServerCertificates": { "description": "Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. There can be up to three sets of certs listed: the certificate that is currently in use, a future that has been added but not yet used to sign a certificate, and a certificate that has been rotated out. For instances not using Certificate Authority Service (CAS) server CA, use ListServerCas instead.", "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/listServerCertificates", @@ -817,6 +849,41 @@ "https://www.googleapis.com/auth/sqlservice.admin" ] }, + "RotateEntraIdCertificate": { + "description": "Rotates the Entra Id certificate version to one previously added with the addEntraIdCertificate method.", + "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rotateEntraIdCertificate", + "httpMethod": "POST", + "id": "sql.instances.RotateEntraIdCertificate", + "parameterOrder": [ + "project", + "instance" + ], + "parameters": { + "instance": { + "description": "Required. Cloud SQL instance ID. This does not include the project ID.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Required. Project ID of the project that contains the instance.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "sql/v1beta4/projects/{project}/instances/{instance}/rotateEntraIdCertificate", + "request": { + "$ref": "InstancesRotateEntraIdCertificateRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/sqlservice.admin" + ] + }, "RotateServerCertificate": { "description": "Rotates the server certificate version to one previously added with the addServerCertificate method. For instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead.", "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCertificate", @@ -887,6 +954,41 @@ "https://www.googleapis.com/auth/sqlservice.admin" ] }, + "addEntraIdCertificate": { + "description": "Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added but never used in a certificate rotation, this operation replaces that version.", + "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate", + "httpMethod": "POST", + "id": "sql.instances.addEntraIdCertificate", + "parameterOrder": [ + "project", + "instance" + ], + "parameters": { + "instance": { + "description": "Required. Cloud SQL instance ID. This does not include the project ID.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Required. Project ID of the project that contains the instance.", + "location": "path", + "required": true, + "type": "string" + } + }, + "path": "sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate", + "request": { + "$ref": "SqlInstancesAddEntraIdCertificateRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/sqlservice.admin" + ] + }, "addServerCa": { "description": "Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, use AddServerCertificate to add a new server certificate.", "flatPath": "sql/v1beta4/projects/{project}/instances/{instance}/addServerCa", @@ -2647,6 +2749,12 @@ "instance" ], "parameters": { + "databaseRoles": { + "description": "Optional. List of database roles to grant to the user. body.database_roles will be ignored for update request.", + "location": "query", + "repeated": true, + "type": "string" + }, "host": { "description": "Optional. Host of the user in the instance.", "location": "query", @@ -2668,6 +2776,11 @@ "location": "path", "required": true, "type": "string" + }, + "revokeExistingRoles": { + "description": "Optional. revoke the existing roles granted to the user.", + "location": "query", + "type": "boolean" } }, "path": "sql/v1beta4/projects/{project}/instances/{instance}/users", @@ -2685,7 +2798,7 @@ } } }, - "revision": "20251023", + "revision": "20251107", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -4563,7 +4676,7 @@ ], "enumDescriptions": [ "This is an unknown suspension reason.", - "The instance is suspended due to billing issues (for example:, GCP account issue)", + "The instance is suspended due to billing issues (for example:, account issue)", "The instance is suspended due to illegal content (for example:, child pornography, copyrighted material, etc.).", "The instance is causing operational issues (for example:, causing the database to crash).", "The KMS key used by the instance is either revoked or denied access to" @@ -5473,7 +5586,7 @@ "type": "object" }, "noRecovery": { - "description": "Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.", + "description": "Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud SQL for SQL Server.", "type": "boolean" }, "recoveryOnly": { @@ -5742,6 +5855,28 @@ }, "type": "object" }, + "InstancesListEntraIdCertificatesResponse": { + "description": "Instances ListEntraIdCertificates response.", + "id": "InstancesListEntraIdCertificatesResponse", + "properties": { + "activeVersion": { + "description": "The `sha1_fingerprint` of the active certificate from `certs`.", + "type": "string" + }, + "certs": { + "description": "List of Entra ID certificates for the instance.", + "items": { + "$ref": "SslCert" + }, + "type": "array" + }, + "kind": { + "description": "This is always `sql#instancesListEntraIdCertificates`.", + "type": "string" + } + }, + "type": "object" + }, "InstancesListResponse": { "description": "Database instances list response.", "id": "InstancesListResponse", @@ -5873,6 +6008,17 @@ }, "type": "object" }, + "InstancesRotateEntraIdCertificateRequest": { + "description": "Rotate Entra ID Certificate request.", + "id": "InstancesRotateEntraIdCertificateRequest", + "properties": { + "rotateEntraIdCertificateContext": { + "$ref": "RotateEntraIdCertificateContext", + "description": "Optional. Contains details about the rotate Entra ID certificate operation." + } + }, + "type": "object" + }, "InstancesRotateServerCaRequest": { "description": "Rotate Server CA request.", "id": "InstancesRotateServerCaRequest", @@ -5985,6 +6131,20 @@ "description": "Optional. The resource name of the server CA pool for an instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID}", "type": "string" }, + "serverCertificateRotationMode": { + "description": "Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or self-service maintenance updates up to six months before it expires. This setting can only be set if server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA.", + "enum": [ + "SERVER_CERTIFICATE_ROTATION_MODE_UNSPECIFIED", + "NO_AUTOMATIC_ROTATION", + "AUTOMATIC_ROTATION_DURING_MAINTENANCE" + ], + "enumDescriptions": [ + "Unspecified: no automatic server certificate rotation.", + "No automatic server certificate rotation. The user must [manage server certificate rotation](/sql/docs/mysql/manage-ssl-instance#rotate-server-certificate-cas) on their side.", + "Automatic server certificate rotation during Cloud SQL scheduled maintenance or self-service maintenance updates. Requires `server_ca_mode` to be `GOOGLE_MANAGED_CAS_CA` or `CUSTOMER_MANAGED_CAS_CA`." + ], + "type": "string" + }, "sslMode": { "description": "Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The value of `ssl_mode` has priority over the value of `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while `require_ssl=false` means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only SSL connections.", "enum": [ @@ -6726,7 +6886,7 @@ "type": "object" }, "PointInTimeRestoreContext": { - "description": "Context to perform a point-in-time restore of an instance managed by Google Cloud Backup and Disaster Recovery.", + "description": "Context to perform a point-in-time restore of an instance managed by Backup and Disaster Recovery (DR) Service.", "id": "PointInTimeRestoreContext", "properties": { "allocatedIpRange": { @@ -6734,7 +6894,7 @@ "type": "string" }, "datasource": { - "description": "The Google Cloud Backup and Disaster Recovery Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", + "description": "The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.", "type": "string" }, "pointInTime": { @@ -7276,6 +7436,21 @@ }, "type": "object" }, + "RotateEntraIdCertificateContext": { + "description": "Instance rotate Entra ID certificate context.", + "id": "RotateEntraIdCertificateContext", + "properties": { + "kind": { + "description": "Optional. This is always `sql#rotateEntraIdCertificateContext`.", + "type": "string" + }, + "nextVersion": { + "description": "Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the most recently added Entra ID certificate version.", + "type": "string" + } + }, + "type": "object" + }, "RotateServerCaContext": { "description": "Instance rotate server CA context.", "id": "RotateServerCaContext", @@ -7423,7 +7598,7 @@ "type": "boolean" }, "dataApiAccess": { - "description": "This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default.", + "description": "This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by default.", "enum": [ "DATA_API_ACCESS_UNSPECIFIED", "DISALLOW_DATA_API", @@ -7431,8 +7606,8 @@ ], "enumDescriptions": [ "Unspecified, effectively the same as `DISALLOW_DATA_API`.", - "Disallow using Data API to connect to the instance.", - "Allow using Data API to connect to the instance. For private IP instances, this will allow authorized users to access the instance from the public internet." + "Disallow using ExecuteSql API to connect to the instance.", + "Allow using ExecuteSql API to connect to the instance. For private IP instances, this allows authorized users to access the instance from the public internet using ExecuteSql API." ], "type": "string" }, @@ -7524,6 +7699,10 @@ "description": "Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL instances.", "type": "boolean" }, + "entraidConfig": { + "$ref": "SqlServerEntraIdConfig", + "description": "Optional. The Microsoft Entra ID configuration for the SQL Server instance." + }, "finalBackupConfig": { "$ref": "FinalBackupConfig", "description": "Optional. The final backup configuration for the instance." @@ -7834,6 +8013,12 @@ }, "type": "object" }, + "SqlInstancesAddEntraIdCertificateRequest": { + "description": "Request for AddEntraIdCertificate RPC.", + "id": "SqlInstancesAddEntraIdCertificateRequest", + "properties": {}, + "type": "object" + }, "SqlInstancesExecuteSqlResponse": { "description": "Execute SQL statements response.", "id": "SqlInstancesExecuteSqlResponse", @@ -8180,6 +8365,26 @@ }, "type": "object" }, + "SqlServerEntraIdConfig": { + "description": "SQL Server Entra ID configuration.", + "id": "SqlServerEntraIdConfig", + "properties": { + "applicationId": { + "description": "Optional. The application ID for the Entra ID configuration.", + "type": "string" + }, + "kind": { + "description": "Output only. This is always sql#sqlServerEntraIdConfig", + "readOnly": true, + "type": "string" + }, + "tenantId": { + "description": "Optional. The tenant ID for the Entra ID configuration.", + "type": "string" + } + }, + "type": "object" + }, "SqlServerUserDetails": { "description": "Represents a Sql Server user on the Cloud SQL instance.", "id": "SqlServerUserDetails", @@ -8477,6 +8682,13 @@ "description": "A Cloud SQL user resource.", "id": "User", "properties": { + "databaseRoles": { + "description": "Optional. Role memberships of the user", + "items": { + "type": "string" + }, + "type": "array" + }, "dualPasswordType": { "description": "Dual password status for the user.", "enum": [ @@ -8554,7 +8766,8 @@ "CLOUD_IAM_SERVICE_ACCOUNT", "CLOUD_IAM_GROUP", "CLOUD_IAM_GROUP_USER", - "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" + "CLOUD_IAM_GROUP_SERVICE_ACCOUNT", + "ENTRAID_USER" ], "enumDescriptions": [ "The database's built-in user type.", @@ -8562,7 +8775,8 @@ "Cloud IAM service account.", "Cloud IAM group. Not used for login.", "Read-only. Login for a user that belongs to the Cloud IAM group.", - "Read-only. Login for a service account that belongs to the Cloud IAM group." + "Read-only. Login for a service account that belongs to the Cloud IAM group.", + "Microsoft Entra ID user." ], "type": "string" } diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs index 3d8c7cf4f88..16df72af6ce 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.cs @@ -1742,6 +1742,73 @@ public InstancesResource(Google.Apis.Services.IClientService service) this.service = service; } + /// + /// Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of + /// certificates listed: the certificate that is currently in use, a future that has been added but not yet used + /// to sign a certificate, and a certificate that has been rotated out. + /// + /// Required. Project ID of the project that contains the instance. + /// Required. Cloud SQL instance ID. This does not include the project ID. + public virtual ListEntraIdCertificatesRequest ListEntraIdCertificates(string project, string instance) + { + return new ListEntraIdCertificatesRequest(this.service, project, instance); + } + + /// + /// Lists all versions of EntraID certificates for the specified instance. There can be up to three sets of + /// certificates listed: the certificate that is currently in use, a future that has been added but not yet used + /// to sign a certificate, and a certificate that has been rotated out. + /// + public class ListEntraIdCertificatesRequest : SQLAdminBaseServiceRequest + { + /// Constructs a new ListEntraIdCertificates request. + public ListEntraIdCertificatesRequest(Google.Apis.Services.IClientService service, string project, string instance) : base(service) + { + Project = project; + Instance = instance; + InitParameters(); + } + + /// Required. Project ID of the project that contains the instance. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Required. Cloud SQL instance ID. This does not include the project ID. + [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Instance { get; private set; } + + /// Gets the method name. + public override string MethodName => "ListEntraIdCertificates"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "sql/v1beta4/projects/{project}/instances/{instance}/listEntraIdCertificates"; + + /// Initializes ListEntraIdCertificates parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("instance", new Google.Apis.Discovery.Parameter + { + Name = "instance", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Lists all versions of server certificates and certificate authorities (CAs) for the specified instance. /// There can be up to three sets of certs listed: the certificate that is currently in use, a future that has @@ -1811,6 +1878,77 @@ protected override void InitParameters() } } + /// + /// Rotates the Entra Id certificate version to one previously added with the addEntraIdCertificate method. + /// + /// The body of the request. + /// Required. Project ID of the project that contains the instance. + /// Required. Cloud SQL instance ID. This does not include the project ID. + public virtual RotateEntraIdCertificateRequest RotateEntraIdCertificate(Google.Apis.SQLAdmin.v1beta4.Data.InstancesRotateEntraIdCertificateRequest body, string project, string instance) + { + return new RotateEntraIdCertificateRequest(this.service, body, project, instance); + } + + /// + /// Rotates the Entra Id certificate version to one previously added with the addEntraIdCertificate method. + /// + public class RotateEntraIdCertificateRequest : SQLAdminBaseServiceRequest + { + /// Constructs a new RotateEntraIdCertificate request. + public RotateEntraIdCertificateRequest(Google.Apis.Services.IClientService service, Google.Apis.SQLAdmin.v1beta4.Data.InstancesRotateEntraIdCertificateRequest body, string project, string instance) : base(service) + { + Project = project; + Instance = instance; + Body = body; + InitParameters(); + } + + /// Required. Project ID of the project that contains the instance. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Required. Cloud SQL instance ID. This does not include the project ID. + [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Instance { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.SQLAdmin.v1beta4.Data.InstancesRotateEntraIdCertificateRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "RotateEntraIdCertificate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "sql/v1beta4/projects/{project}/instances/{instance}/rotateEntraIdCertificate"; + + /// Initializes RotateEntraIdCertificate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("instance", new Google.Apis.Discovery.Parameter + { + Name = "instance", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Rotates the server certificate version to one previously added with the addServerCertificate method. For /// instances not using Certificate Authority Service (CAS) server CA, use RotateServerCa instead. @@ -1959,6 +2097,79 @@ protected override void InitParameters() } } + /// + /// Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added + /// but never used in a certificate rotation, this operation replaces that version. + /// + /// The body of the request. + /// Required. Project ID of the project that contains the instance. + /// Required. Cloud SQL instance ID. This does not include the project ID. + public virtual AddEntraIdCertificateRequest AddEntraIdCertificate(Google.Apis.SQLAdmin.v1beta4.Data.SqlInstancesAddEntraIdCertificateRequest body, string project, string instance) + { + return new AddEntraIdCertificateRequest(this.service, body, project, instance); + } + + /// + /// Adds a new Entra ID certificate for the specified instance. If an Entra ID certificate was previously added + /// but never used in a certificate rotation, this operation replaces that version. + /// + public class AddEntraIdCertificateRequest : SQLAdminBaseServiceRequest + { + /// Constructs a new AddEntraIdCertificate request. + public AddEntraIdCertificateRequest(Google.Apis.Services.IClientService service, Google.Apis.SQLAdmin.v1beta4.Data.SqlInstancesAddEntraIdCertificateRequest body, string project, string instance) : base(service) + { + Project = project; + Instance = instance; + Body = body; + InitParameters(); + } + + /// Required. Project ID of the project that contains the instance. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// Required. Cloud SQL instance ID. This does not include the project ID. + [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Instance { get; private set; } + + /// Gets or sets the body of this request. + Google.Apis.SQLAdmin.v1beta4.Data.SqlInstancesAddEntraIdCertificateRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "addEntraIdCertificate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "sql/v1beta4/projects/{project}/instances/{instance}/addEntraIdCertificate"; + + /// Initializes AddEntraIdCertificate parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("project", new Google.Apis.Discovery.Parameter + { + Name = "project", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("instance", new Google.Apis.Discovery.Parameter + { + Name = "instance", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + } + } + /// /// Add a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a /// certificate rotation. If a CA version was previously added but never used in a certificate rotation, this @@ -5601,6 +5812,13 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.SQ [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] public virtual string Instance { get; private set; } + /// + /// Optional. List of database roles to grant to the user. body.database_roles will be ignored for update + /// request. + /// + [Google.Apis.Util.RequestParameterAttribute("databaseRoles", Google.Apis.Util.RequestParameterType.Query)] + public virtual Google.Apis.Util.Repeatable DatabaseRoles { get; set; } + /// Optional. Host of the user in the instance. [Google.Apis.Util.RequestParameterAttribute("host", Google.Apis.Util.RequestParameterType.Query)] public virtual string Host { get; set; } @@ -5609,6 +5827,10 @@ public UpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.SQ [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Query)] public virtual string Name { get; set; } + /// Optional. revoke the existing roles granted to the user. + [Google.Apis.Util.RequestParameterAttribute("revokeExistingRoles", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable RevokeExistingRoles { get; set; } + /// Gets or sets the body of this request. Google.Apis.SQLAdmin.v1beta4.Data.User Body { get; set; } @@ -5644,6 +5866,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("databaseRoles", new Google.Apis.Discovery.Parameter + { + Name = "databaseRoles", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); RequestParameters.Add("host", new Google.Apis.Discovery.Parameter { Name = "host", @@ -5660,6 +5890,14 @@ protected override void InitParameters() DefaultValue = null, Pattern = null, }); + RequestParameters.Add("revokeExistingRoles", new Google.Apis.Discovery.Parameter + { + Name = "revokeExistingRoles", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); } } } @@ -7948,7 +8186,7 @@ public class BakImportOptionsData public virtual EncryptionOptionsData EncryptionOptions { get; set; } /// - /// Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud + /// Whether or not the backup importing will restore database with NORECOVERY option. Applies only to Cloud /// SQL for SQL Server. /// [Newtonsoft.Json.JsonPropertyAttribute("noRecovery")] @@ -8284,6 +8522,25 @@ public class InstancesImportRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Instances ListEntraIdCertificates response. + public class InstancesListEntraIdCertificatesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The `sha1_fingerprint` of the active certificate from `certs`. + [Newtonsoft.Json.JsonPropertyAttribute("activeVersion")] + public virtual string ActiveVersion { get; set; } + + /// List of Entra ID certificates for the instance. + [Newtonsoft.Json.JsonPropertyAttribute("certs")] + public virtual System.Collections.Generic.IList Certs { get; set; } + + /// This is always `sql#instancesListEntraIdCertificates`. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Database instances list response. public class InstancesListResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -8418,6 +8675,17 @@ public class InstancesRestoreBackupRequest : Google.Apis.Requests.IDirectRespons public virtual string ETag { get; set; } } + /// Rotate Entra ID Certificate request. + public class InstancesRotateEntraIdCertificateRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. Contains details about the rotate Entra ID certificate operation. + [Newtonsoft.Json.JsonPropertyAttribute("rotateEntraIdCertificateContext")] + public virtual RotateEntraIdCertificateContext RotateEntraIdCertificateContext { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Rotate Server CA request. public class InstancesRotateServerCaRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -8606,6 +8874,15 @@ public class IpConfiguration : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("serverCaPool")] public virtual string ServerCaPool { get; set; } + /// + /// Optional. Controls the automatic server certificate rotation feature. This feature is disabled by default. + /// When enabled, the server certificate will be automatically rotated during Cloud SQL scheduled maintenance or + /// self-service maintenance updates up to six months before it expires. This setting can only be set if + /// server_ca_mode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA. + /// + [Newtonsoft.Json.JsonPropertyAttribute("serverCertificateRotationMode")] + public virtual string ServerCertificateRotationMode { get; set; } + /// /// Specify how SSL/TLS is enforced in database connections. If you must use the `require_ssl` flag for backward /// compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: * @@ -9401,7 +9678,7 @@ public class PerformDiskShrinkContext : Google.Apis.Requests.IDirectResponseSche } /// - /// Context to perform a point-in-time restore of an instance managed by Google Cloud Backup and Disaster Recovery. + /// Context to perform a point-in-time restore of an instance managed by Backup and Disaster Recovery (DR) Service. /// public class PointInTimeRestoreContext : Google.Apis.Requests.IDirectResponseSchema { @@ -9416,7 +9693,7 @@ public class PointInTimeRestoreContext : Google.Apis.Requests.IDirectResponseSch public virtual string AllocatedIpRange { get; set; } /// - /// The Google Cloud Backup and Disaster Recovery Datasource URI. Format: + /// The Backup and Disaster Recovery (DR) Service Datasource URI. Format: /// projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}. /// [Newtonsoft.Json.JsonPropertyAttribute("datasource")] @@ -9842,6 +10119,24 @@ public class RestoreBackupContext : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Instance rotate Entra ID certificate context. + public class RotateEntraIdCertificateContext : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. This is always `sql#rotateEntraIdCertificateContext`. + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// + /// Optional. The fingerprint of the next version to be rotated to. If left unspecified, will be rotated to the + /// most recently added Entra ID certificate version. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nextVersion")] + public virtual string NextVersion { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Instance rotate server CA context. public class RotateServerCaContext : Google.Apis.Requests.IDirectResponseSchema { @@ -9973,7 +10268,8 @@ public class Settings : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable CrashSafeReplicationEnabled { get; set; } /// - /// This parameter controls whether to allow using Data API to connect to the instance. Not allowed by default. + /// This parameter controls whether to allow using ExecuteSql API to connect to the instance. Not allowed by + /// default. /// [Newtonsoft.Json.JsonPropertyAttribute("dataApiAccess")] public virtual string DataApiAccess { get; set; } @@ -10044,6 +10340,10 @@ public class Settings : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("enableGoogleMlIntegration")] public virtual System.Nullable EnableGoogleMlIntegration { get; set; } + /// Optional. The Microsoft Entra ID configuration for the SQL Server instance. + [Newtonsoft.Json.JsonPropertyAttribute("entraidConfig")] + public virtual SqlServerEntraIdConfig EntraidConfig { get; set; } + /// Optional. The final backup configuration for the instance. [Newtonsoft.Json.JsonPropertyAttribute("finalBackupConfig")] public virtual FinalBackupConfig FinalBackupConfig { get; set; } @@ -10223,6 +10523,13 @@ public class SqlInstancesAcquireSsrsLeaseResponse : Google.Apis.Requests.IDirect public virtual string ETag { get; set; } } + /// Request for AddEntraIdCertificate RPC. + public class SqlInstancesAddEntraIdCertificateRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Execute SQL statements response. public class SqlInstancesExecuteSqlResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -10634,6 +10941,25 @@ public class SqlServerDatabaseDetails : Google.Apis.Requests.IDirectResponseSche public virtual string ETag { get; set; } } + /// SQL Server Entra ID configuration. + public class SqlServerEntraIdConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. The application ID for the Entra ID configuration. + [Newtonsoft.Json.JsonPropertyAttribute("applicationId")] + public virtual string ApplicationId { get; set; } + + /// Output only. This is always sql#sqlServerEntraIdConfig + [Newtonsoft.Json.JsonPropertyAttribute("kind")] + public virtual string Kind { get; set; } + + /// Optional. The tenant ID for the Entra ID configuration. + [Newtonsoft.Json.JsonPropertyAttribute("tenantId")] + public virtual string TenantId { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Represents a Sql Server user on the Cloud SQL instance. public class SqlServerUserDetails : Google.Apis.Requests.IDirectResponseSchema { @@ -10989,6 +11315,10 @@ public class TruncateLogContext : Google.Apis.Requests.IDirectResponseSchema /// A Cloud SQL user resource. public class User : Google.Apis.Requests.IDirectResponseSchema { + /// Optional. Role memberships of the user + [Newtonsoft.Json.JsonPropertyAttribute("databaseRoles")] + public virtual System.Collections.Generic.IList DatabaseRoles { get; set; } + /// Dual password status for the user. [Newtonsoft.Json.JsonPropertyAttribute("dualPasswordType")] public virtual string DualPasswordType { get; set; } diff --git a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj index 1e423bfac4c..268ba6c6df3 100644 --- a/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj +++ b/Src/Generated/Google.Apis.SQLAdmin.v1beta4/Google.Apis.SQLAdmin.v1beta4.csproj @@ -3,7 +3,7 @@ Google.Apis.SQLAdmin.v1beta4 Client Library - 1.72.0.3948 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google From fbce97ab2035e350a130e8b8ff6ef0c93e83b01d Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:05 +0000 Subject: [PATCH 101/106] feat: Generate Google.Apis.Storagetransfer.v1 version 1.72.0.3962 --- DiscoveryJson/storagetransfer.v1.json | 14 +++++++++++++- .../Google.Apis.Storagetransfer.v1.cs | 18 ++++++++++++++++++ .../Google.Apis.Storagetransfer.v1.csproj | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/DiscoveryJson/storagetransfer.v1.json b/DiscoveryJson/storagetransfer.v1.json index 10aa28bac76..2cfac4f02e4 100644 --- a/DiscoveryJson/storagetransfer.v1.json +++ b/DiscoveryJson/storagetransfer.v1.json @@ -637,7 +637,7 @@ } } }, - "revision": "20251010", + "revision": "20251106", "rootUrl": "https://storagetransfer.googleapis.com/", "schemas": { "AgentPool": { @@ -746,6 +746,10 @@ "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", "type": "string" }, + "privateNetworkService": { + "description": "Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: `projects/{project_id}/locations/{location}/namespaces/{namespace}/services/{service}`", + "type": "string" + }, "roleArn": { "description": "The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. For more information about ARNs, see [IAM ARNs](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns). When a role ARN is provided, Transfer Service fetches temporary credentials for the session using a `AssumeRoleWithWebIdentity` call for the provided role using the GoogleServiceAccount for this project.", "type": "string" @@ -777,6 +781,10 @@ "description": "Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.", "type": "string" }, + "privateNetworkService": { + "description": "Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: `projects/{project_id}/locations/{location}/namespaces/{namespace}/services/{service}`", + "type": "string" + }, "storageAccount": { "description": "Required. The name of the Azure Storage account.", "type": "string" @@ -1336,6 +1344,10 @@ "format": "google-datetime", "type": "string" }, + "matchGlob": { + "description": "Optional. If specified, only objects matching this glob are transferred.", + "type": "string" + }, "maxTimeElapsedSinceLastModification": { "description": "Ensures that objects are not transferred if a specific maximum time has elapsed since the \"last modification time\". When a TransferOperation begins, objects with a \"last modification time\" are transferred only if the elapsed time between the start_time of the `TransferOperation`and the \"last modification time\" of the object is less than the value of max_time_elapsed_since_last_modification`. Objects that do not have a \"last modification time\" are also transferred.", "format": "google-duration", diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs index c6f6aef7299..22574f2c8b4 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.cs @@ -1615,6 +1615,13 @@ public class AwsS3Data : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } + /// + /// Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: + /// `projects/{project_id}/locations/{location}/namespaces/{namespace}/services/{service}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("privateNetworkService")] + public virtual string PrivateNetworkService { get; set; } + /// /// The Amazon Resource Name (ARN) of the role to support temporary credentials via `AssumeRoleWithWebIdentity`. /// For more information about ARNs, see [IAM @@ -1675,6 +1682,13 @@ public class AzureBlobStorageData : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } + /// + /// Service Directory Service to be used as the endpoint for transfers from a custom VPC. Format: + /// `projects/{project_id}/locations/{location}/namespaces/{namespace}/services/{service}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("privateNetworkService")] + public virtual string PrivateNetworkService { get; set; } + /// Required. The name of the Azure Storage account. [Newtonsoft.Json.JsonPropertyAttribute("storageAccount")] public virtual string StorageAccount { get; set; } @@ -2338,6 +2352,10 @@ public virtual System.DateTimeOffset? LastModifiedSinceDateTimeOffset set => LastModifiedSinceRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } + /// Optional. If specified, only objects matching this glob are transferred. + [Newtonsoft.Json.JsonPropertyAttribute("matchGlob")] + public virtual string MatchGlob { get; set; } + /// /// Ensures that objects are not transferred if a specific maximum time has elapsed since the "last modification /// time". When a TransferOperation begins, objects with a "last modification time" are transferred only if the diff --git a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj index 7d853f363b8..dbd7eb9746c 100644 --- a/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj +++ b/Src/Generated/Google.Apis.Storagetransfer.v1/Google.Apis.Storagetransfer.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Storagetransfer.v1 Client Library - 1.72.0.3935 + 1.72.0.3962 Google LLC Copyright 2025 Google LLC Google From c465de6b36ac65797ce3cf163c7c218db76878a0 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:07 +0000 Subject: [PATCH 102/106] feat: Generate Google.Apis.CloudSecurityToken.v1 version 1.72.0.3963 --- DiscoveryJson/sts.v1.json | 6 +++++- .../Google.Apis.CloudSecurityToken.v1.cs | 7 +++++++ .../Google.Apis.CloudSecurityToken.v1.csproj | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/DiscoveryJson/sts.v1.json b/DiscoveryJson/sts.v1.json index 43e5f6670c8..32e017d48d4 100644 --- a/DiscoveryJson/sts.v1.json +++ b/DiscoveryJson/sts.v1.json @@ -338,7 +338,7 @@ } } }, - "revision": "20250827", + "revision": "20251107", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -471,6 +471,10 @@ "$ref": "GoogleIdentityStsV1AccessBoundary", "description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." }, + "bindCertFingerprint": { + "description": "The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long. The resulting token will be bound to this value.", + "type": "string" + }, "userProject": { "description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", "type": "string" diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs index 1573a4eed8a..08915ba6d81 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.cs @@ -634,6 +634,13 @@ public class GoogleIdentityStsV1Options : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("accessBoundary")] public virtual GoogleIdentityStsV1AccessBoundary AccessBoundary { get; set; } + /// + /// The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters + /// long. The resulting token will be bound to this value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("bindCertFingerprint")] + public virtual string BindCertFingerprint { get; set; } + /// /// A Google project used for quota and billing purposes when the credential is used to access Google APIs. The /// provided project overrides the project bound to the credential. The value must be a project number or a diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj index e271b36f5a6..80ada09edb1 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1/Google.Apis.CloudSecurityToken.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSecurityToken.v1 Client Library - 1.70.0.3891 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google @@ -59,7 +59,7 @@ - + From 729613ab834a31661b5f194a4ff37ee715234e96 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:09 +0000 Subject: [PATCH 103/106] feat: Generate Google.Apis.CloudSecurityToken.v1beta version 1.72.0.3963 --- DiscoveryJson/sts.v1beta.json | 6 +++++- .../Google.Apis.CloudSecurityToken.v1beta.cs | 7 +++++++ .../Google.Apis.CloudSecurityToken.v1beta.csproj | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/DiscoveryJson/sts.v1beta.json b/DiscoveryJson/sts.v1beta.json index 44afd53697d..67a17d7561d 100644 --- a/DiscoveryJson/sts.v1beta.json +++ b/DiscoveryJson/sts.v1beta.json @@ -338,7 +338,7 @@ } } }, - "revision": "20250521", + "revision": "20251107", "rootUrl": "https://sts.googleapis.com/", "schemas": { "GoogleIamV1Binding": { @@ -407,6 +407,10 @@ "$ref": "GoogleIdentityStsV1AccessBoundary", "description": "An access boundary that defines the upper bound of permissions the credential may have. The value should be a JSON object of AccessBoundary. The access boundary can include up to 10 rules. The size of the parameter value should not exceed 2048 characters." }, + "bindCertFingerprint": { + "description": "The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters long. The resulting token will be bound to this value.", + "type": "string" + }, "userProject": { "description": "A Google project used for quota and billing purposes when the credential is used to access Google APIs. The provided project overrides the project bound to the credential. The value must be a project number or a project ID. Example: `my-sample-project-191923`. The maximum length is 32 characters.", "type": "string" diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs index b9bcf1688a2..22813e5e0f4 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.cs @@ -452,6 +452,13 @@ public class GoogleIdentityStsV1Options : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("accessBoundary")] public virtual GoogleIdentityStsV1AccessBoundary AccessBoundary { get; set; } + /// + /// The unpadded, base64url-encoded SHA-256 hash of the certificate's DER encoding and it must be 43 characters + /// long. The resulting token will be bound to this value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("bindCertFingerprint")] + public virtual string BindCertFingerprint { get; set; } + /// /// A Google project used for quota and billing purposes when the credential is used to access Google APIs. The /// provided project overrides the project bound to the credential. The value must be a project number or a diff --git a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj index 4e16bd66381..306a97ad02e 100644 --- a/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudSecurityToken.v1beta/Google.Apis.CloudSecurityToken.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudSecurityToken.v1beta Client Library - 1.69.0.3793 + 1.72.0.3963 Google LLC Copyright 2025 Google LLC Google @@ -59,7 +59,7 @@ - + From b110e924325dd349e1470764f7295d95c3d1b823 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:12 +0000 Subject: [PATCH 104/106] feat: Generate Google.Apis.Testing.v1 version 1.72.0.3967 --- DiscoveryJson/testing.v1.json | 9 +++++++-- .../Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/DiscoveryJson/testing.v1.json b/DiscoveryJson/testing.v1.json index a6472343d57..159a40c620c 100644 --- a/DiscoveryJson/testing.v1.json +++ b/DiscoveryJson/testing.v1.json @@ -454,7 +454,7 @@ } } }, - "revision": "20251003", + "revision": "20251111", "rootUrl": "https://testing.googleapis.com/", "schemas": { "Account": { @@ -805,10 +805,15 @@ "ROBO_VERSION_1", "ROBO_VERSION_2" ], + "enumDeprecated": [ + false, + false, + true + ], "enumDescriptions": [ "This means that the server should choose the mode. Recommended.", "Runs Robo in UIAutomator-only mode without app resigning", - "Runs Robo in standard Espresso with UIAutomator fallback" + "Deprecated: Use ROBO_VERSION_1 instead for all use cases. Runs Robo in standard Espresso with UIAutomator fallback" ], "type": "string" }, diff --git a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj index 7afdaa4d165..434d419f290 100644 --- a/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj +++ b/Src/Generated/Google.Apis.Testing.v1/Google.Apis.Testing.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Testing.v1 Client Library - 1.72.0.3928 + 1.72.0.3967 Google LLC Copyright 2025 Google LLC Google From 749bebe0897ce954346f1e9b149f0c8cbf3d8321 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:14 +0000 Subject: [PATCH 105/106] feat: Generate Google.Apis.VMMigrationService.v1 version 1.72.0.3962 --- DiscoveryJson/vmmigration.v1.json | 12 ++++++++++-- .../Google.Apis.VMMigrationService.v1.cs | 10 ++++++++++ .../Google.Apis.VMMigrationService.v1.csproj | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/DiscoveryJson/vmmigration.v1.json b/DiscoveryJson/vmmigration.v1.json index 24d6149ccb9..707841d109c 100644 --- a/DiscoveryJson/vmmigration.v1.json +++ b/DiscoveryJson/vmmigration.v1.json @@ -2548,7 +2548,7 @@ } } }, - "revision": "20251030", + "revision": "20251106", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -4163,7 +4163,15 @@ "DataDiskImageImport": { "description": "Used when the image import is not using OS adaptation process.", "id": "DataDiskImageImport", - "properties": {}, + "properties": { + "guestOsFeatures": { + "description": "Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.", + "items": { + "type": "string" + }, + "type": "array" + } + }, "type": "object" }, "DatacenterConnector": { diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs index 38675819d75..dba453467bf 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs +++ b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.cs @@ -7299,6 +7299,16 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset /// Used when the image import is not using OS adaptation process. public class DataDiskImageImport : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. A list of guest OS features to apply to the imported image. These features are flags that are used + /// by Compute Engine to enable certain capabilities for virtual machine instances that are created from the + /// image. This field does not change the OS of the image; it only marks the image with the specified features. + /// The user must ensure that the OS is compatible with the features. For a list of available features, see + /// https://cloud.google.com/compute/docs/images/create-custom#guest-os-features. + /// + [Newtonsoft.Json.JsonPropertyAttribute("guestOsFeatures")] + public virtual System.Collections.Generic.IList GuestOsFeatures { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj index 3374d337ed3..9929cf33d57 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj +++ b/Src/Generated/Google.Apis.VMMigrationService.v1/Google.Apis.VMMigrationService.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.VMMigrationService.v1 Client Library - 1.72.0.3955 + 1.72.0.3962 Google LLC Copyright 2025 Google LLC Google From 93b2a0eee64d61d87dd2ad8b044e306e2b654a40 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Wed, 19 Nov 2025 22:27:16 +0000 Subject: [PATCH 106/106] feat: Generate Google.Apis.VMMigrationService.v1alpha1 version 1.72.0.3962 --- DiscoveryJson/vmmigration.v1alpha1.json | 12 ++++++++++-- .../Google.Apis.VMMigrationService.v1alpha1.cs | 10 ++++++++++ .../Google.Apis.VMMigrationService.v1alpha1.csproj | 2 +- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/DiscoveryJson/vmmigration.v1alpha1.json b/DiscoveryJson/vmmigration.v1alpha1.json index beb38cec314..27acdf578f4 100644 --- a/DiscoveryJson/vmmigration.v1alpha1.json +++ b/DiscoveryJson/vmmigration.v1alpha1.json @@ -2548,7 +2548,7 @@ } } }, - "revision": "20251030", + "revision": "20251106", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -4198,7 +4198,15 @@ "DataDiskImageImport": { "description": "Used when the image import is not using OS adaptation process.", "id": "DataDiskImageImport", - "properties": {}, + "properties": { + "guestOsFeatures": { + "description": "Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see https://cloud.google.com/compute/docs/images/create-custom#guest-os-features.", + "items": { + "type": "string" + }, + "type": "array" + } + }, "type": "object" }, "DatacenterConnector": { diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs index d991a842e65..2895bcdfb0e 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs +++ b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.cs @@ -7332,6 +7332,16 @@ public virtual System.DateTimeOffset? StartTimeDateTimeOffset /// Used when the image import is not using OS adaptation process. public class DataDiskImageImport : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. A list of guest OS features to apply to the imported image. These features are flags that are used + /// by Compute Engine to enable certain capabilities for virtual machine instances that are created from the + /// image. This field does not change the OS of the image; it only marks the image with the specified features. + /// The user must ensure that the OS is compatible with the features. For a list of available features, see + /// https://cloud.google.com/compute/docs/images/create-custom#guest-os-features. + /// + [Newtonsoft.Json.JsonPropertyAttribute("guestOsFeatures")] + public virtual System.Collections.Generic.IList GuestOsFeatures { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } diff --git a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj index 8bc9b5b6c0f..20293528ff1 100644 --- a/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj +++ b/Src/Generated/Google.Apis.VMMigrationService.v1alpha1/Google.Apis.VMMigrationService.v1alpha1.csproj @@ -3,7 +3,7 @@ Google.Apis.VMMigrationService.v1alpha1 Client Library - 1.72.0.3955 + 1.72.0.3962 Google LLC Copyright 2025 Google LLC Google