From 0ac3f1c8cf93bef6a10101715c5717ddc66595ea Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas Date: Thu, 26 Oct 2023 01:23:07 -0700 Subject: [PATCH] Update discovery documents and generated code automatically_generated_update --- DiscoveryJson/admin_directory_v1.json | 2 +- DiscoveryJson/aiplatform_v1.json | 66 +- DiscoveryJson/aiplatform_v1beta1.json | 66 +- DiscoveryJson/androidmanagement_v1.json | 6 +- DiscoveryJson/biglake_v1.json | 910 ++++++++ DiscoveryJson/chat_v1.json | 50 +- DiscoveryJson/cloudresourcemanager_v1.json | 8 +- .../cloudresourcemanager_v1beta1.json | 4 +- DiscoveryJson/cloudresourcemanager_v3.json | 6 +- DiscoveryJson/compute_alpha.json | 120 +- DiscoveryJson/compute_beta.json | 224 +- DiscoveryJson/compute_v1.json | 339 ++- DiscoveryJson/contactcenterinsights_v1.json | 22 +- DiscoveryJson/container_v1.json | 41 +- DiscoveryJson/container_v1beta1.json | 67 +- DiscoveryJson/dataflow_v1b3.json | 7 +- DiscoveryJson/dataplex_v1.json | 4 +- DiscoveryJson/dialogflow_v2.json | 78 +- DiscoveryJson/dialogflow_v2beta1.json | 78 +- DiscoveryJson/dialogflow_v3.json | 78 +- DiscoveryJson/dialogflow_v3beta1.json | 78 +- DiscoveryJson/domains_v1.json | 8 +- DiscoveryJson/domains_v1alpha2.json | 8 +- DiscoveryJson/domains_v1beta1.json | 8 +- DiscoveryJson/doubleclicksearch_v2.json | 16 +- DiscoveryJson/file_v1.json | 14 +- DiscoveryJson/file_v1beta1.json | 14 +- DiscoveryJson/gmail_v1.json | 17 +- DiscoveryJson/notebooks_v1.json | 4 +- DiscoveryJson/places_v1.json | 632 ++++- DiscoveryJson/pubsub_v1.json | 14 +- DiscoveryJson/recaptchaenterprise_v1.json | 59 +- DiscoveryJson/run_v1.json | 4 +- DiscoveryJson/run_v2.json | 18 +- DiscoveryJson/securitycenter_v1.json | 468 +++- DiscoveryJson/securitycenter_v1beta1.json | 22 +- DiscoveryJson/securitycenter_v1beta2.json | 24 +- DiscoveryJson/servicenetworking_v1.json | 40 +- DiscoveryJson/servicenetworking_v1beta.json | 14 +- DiscoveryJson/sqladmin_v1.json | 32 +- DiscoveryJson/sqladmin_v1beta4.json | 32 +- DiscoveryJson/texttospeech_v1.json | 5 +- DiscoveryJson/texttospeech_v1beta1.json | 5 +- DiscoveryJson/vmmigration_v1.json | 43 +- DiscoveryJson/vmmigration_v1alpha1.json | 43 +- DiscoveryJson/workstations_v1.json | 6 +- DiscoveryJson/workstations_v1beta.json | 6 +- EnumStorage/biglake_v1.json | 16 + .../Google.Apis.AIPlatformNotebooks.v1.cs | 5 +- .../Google.Apis.AIPlatformNotebooks.v1.csproj | 2 +- ...e.Apis.Admin.Directory.directory_v1.csproj | 2 +- .../Google.Apis.Aiplatform.v1.cs | 123 +- .../Google.Apis.Aiplatform.v1.csproj | 2 +- .../Google.Apis.Aiplatform.v1beta1.cs | 123 +- .../Google.Apis.Aiplatform.v1beta1.csproj | 2 +- .../Google.Apis.AndroidManagement.v1.cs | 18 +- .../Google.Apis.AndroidManagement.v1.csproj | 2 +- .../Google.Apis.BigLakeService.v1.cs | 2028 +++++++++++++++++ .../Google.Apis.BigLakeService.v1.csproj | 64 + .../Google.Apis.CloudDataplex.v1.cs | 5 +- .../Google.Apis.CloudDataplex.v1.csproj | 2 +- .../Google.Apis.CloudDomains.v1.csproj | 6 +- .../Google.Apis.CloudDomains.v1alpha2.csproj | 6 +- .../Google.Apis.CloudDomains.v1beta1.csproj | 6 +- .../Google.Apis.CloudFilestore.v1.csproj | 6 +- .../Google.Apis.CloudFilestore.v1beta1.csproj | 6 +- .../Google.Apis.CloudResourceManager.v1.cs | 46 +- ...Google.Apis.CloudResourceManager.v1.csproj | 6 +- ...oogle.Apis.CloudResourceManager.v1beta1.cs | 6 +- ...e.Apis.CloudResourceManager.v1beta1.csproj | 6 +- .../Google.Apis.CloudResourceManager.v3.cs | 8 +- ...Google.Apis.CloudResourceManager.v3.csproj | 6 +- .../Google.Apis.CloudRun.v1.cs | 11 +- .../Google.Apis.CloudRun.v1.csproj | 2 +- .../Google.Apis.CloudRun.v2.cs | 18 + .../Google.Apis.CloudRun.v2.csproj | 2 +- .../Google.Apis.CloudWorkstations.v1.cs | 18 +- .../Google.Apis.CloudWorkstations.v1.csproj | 2 +- .../Google.Apis.CloudWorkstations.v1beta.cs | 18 +- ...oogle.Apis.CloudWorkstations.v1beta.csproj | 2 +- .../Google.Apis.Compute.alpha.cs | 182 +- .../Google.Apis.Compute.alpha.csproj | 2 +- .../Google.Apis.Compute.beta.cs | 406 +++- .../Google.Apis.Compute.beta.csproj | 2 +- .../Google.Apis.Compute.v1.cs | 572 +++++ .../Google.Apis.Compute.v1.csproj | 2 +- .../Google.Apis.Contactcenterinsights.v1.cs | 16 +- ...oogle.Apis.Contactcenterinsights.v1.csproj | 2 +- .../Google.Apis.Container.v1.cs | 45 + .../Google.Apis.Container.v1.csproj | 2 +- .../Google.Apis.Container.v1beta1.cs | 79 + .../Google.Apis.Container.v1beta1.csproj | 2 +- .../Google.Apis.Dataflow.v1b3.cs | 7 + .../Google.Apis.Dataflow.v1b3.csproj | 2 +- .../Google.Apis.Dialogflow.v2.cs | 104 + .../Google.Apis.Dialogflow.v2.csproj | 2 +- .../Google.Apis.Dialogflow.v2beta1.cs | 104 + .../Google.Apis.Dialogflow.v2beta1.csproj | 2 +- .../Google.Apis.Dialogflow.v3.cs | 104 + .../Google.Apis.Dialogflow.v3.csproj | 2 +- .../Google.Apis.Dialogflow.v3beta1.cs | 104 + .../Google.Apis.Dialogflow.v3beta1.csproj | 2 +- .../Google.Apis.Doubleclicksearch.v2.cs | 4 + .../Google.Apis.Doubleclicksearch.v2.csproj | 6 +- .../Google.Apis.Gmail.v1.cs | 15 + .../Google.Apis.Gmail.v1.csproj | 2 +- .../Google.Apis.HangoutsChat.v1.cs | 82 +- .../Google.Apis.HangoutsChat.v1.csproj | 2 +- .../Google.Apis.MapsPlaces.v1.cs | 833 ++++++- .../Google.Apis.MapsPlaces.v1.csproj | 2 +- .../Google.Apis.Pubsub.v1.cs | 52 +- .../Google.Apis.Pubsub.v1.csproj | 2 +- .../Google.Apis.RecaptchaEnterprise.v1.cs | 112 +- .../Google.Apis.RecaptchaEnterprise.v1.csproj | 2 +- .../Google.Apis.SQLAdmin.v1.cs | 38 +- .../Google.Apis.SQLAdmin.v1.csproj | 2 +- .../Google.Apis.SQLAdmin.v1beta4.cs | 38 +- .../Google.Apis.SQLAdmin.v1beta4.csproj | 2 +- .../Google.Apis.SecurityCommandCenter.v1.cs | 1264 +++++++++- ...oogle.Apis.SecurityCommandCenter.v1.csproj | 2 +- ...ogle.Apis.SecurityCommandCenter.v1beta1.cs | 20 + ....Apis.SecurityCommandCenter.v1beta1.csproj | 2 +- ...ogle.Apis.SecurityCommandCenter.v1beta2.cs | 22 +- ....Apis.SecurityCommandCenter.v1beta2.csproj | 2 +- .../Google.Apis.ServiceNetworking.v1.cs | 80 - .../Google.Apis.ServiceNetworking.v1.csproj | 2 +- .../Google.Apis.ServiceNetworking.v1beta.cs | 15 - ...oogle.Apis.ServiceNetworking.v1beta.csproj | 2 +- .../Google.Apis.Texttospeech.v1.cs | 2 +- .../Google.Apis.Texttospeech.v1.csproj | 6 +- .../Google.Apis.Texttospeech.v1beta1.cs | 2 +- .../Google.Apis.Texttospeech.v1beta1.csproj | 6 +- .../Google.Apis.VMMigrationService.v1.cs | 35 + .../Google.Apis.VMMigrationService.v1.csproj | 2 +- ...Google.Apis.VMMigrationService.v1alpha1.cs | 35 + ...le.Apis.VMMigrationService.v1alpha1.csproj | 2 +- 136 files changed, 10055 insertions(+), 770 deletions(-) create mode 100644 DiscoveryJson/biglake_v1.json create mode 100644 EnumStorage/biglake_v1.json create mode 100644 Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs create mode 100644 Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj diff --git a/DiscoveryJson/admin_directory_v1.json b/DiscoveryJson/admin_directory_v1.json index cfd8f8bfbe8..de99ee025b3 100644 --- a/DiscoveryJson/admin_directory_v1.json +++ b/DiscoveryJson/admin_directory_v1.json @@ -4643,7 +4643,7 @@ } } }, - "revision": "20231017", + "revision": "20231023", "rootUrl": "https://admin.googleapis.com/", "schemas": { "Alias": { diff --git a/DiscoveryJson/aiplatform_v1.json b/DiscoveryJson/aiplatform_v1.json index 55b09977b2c..674abbb20e3 100644 --- a/DiscoveryJson/aiplatform_v1.json +++ b/DiscoveryJson/aiplatform_v1.json @@ -12998,7 +12998,7 @@ } } }, - "revision": "20231012", + "revision": "20231023", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -14711,7 +14711,7 @@ "type": "string" }, "protectedArtifactLocationId": { - "description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", + "description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", "type": "string" }, "reservedIpRanges": { @@ -26815,7 +26815,7 @@ "type": "object" }, "GoogleCloudAiplatformV1Study": { - "description": "A message representing a Study.", + "description": "A message representing a Study. Next id: 12", "id": "GoogleCloudAiplatformV1Study", "properties": { "createTime": { @@ -26933,6 +26933,10 @@ "$ref": "GoogleCloudAiplatformV1StudySpecParameterSpec" }, "type": "array" + }, + "studyStoppingConfig": { + "$ref": "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig", + "description": "Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition." } }, "type": "object" @@ -27238,6 +27242,62 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig": { + "description": "The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, time budgets, and convergence detection.", + "id": "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig", + "properties": { + "maxDurationNoProgress": { + "description": "If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.", + "format": "google-duration", + "type": "string" + }, + "maxNumTrials": { + "description": "If there are more than this many trials, stop the study.", + "format": "int32", + "type": "integer" + }, + "maxNumTrialsNoProgress": { + "description": "If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.", + "format": "int32", + "type": "integer" + }, + "maximumRuntimeConstraint": { + "$ref": "GoogleCloudAiplatformV1StudyTimeConstraint", + "description": "If the specified time or duration has passed, stop the study." + }, + "minNumTrials": { + "description": "If there are fewer than this many COMPLETED trials, do not stop the study.", + "format": "int32", + "type": "integer" + }, + "minimumRuntimeConstraint": { + "$ref": "GoogleCloudAiplatformV1StudyTimeConstraint", + "description": "Each \"stopping rule\" in this proto specifies an \"if\" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose \"if\" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study." + }, + "shouldStopAsap": { + "description": "If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1StudyTimeConstraint": { + "description": "Time-based Constraint for Study", + "id": "GoogleCloudAiplatformV1StudyTimeConstraint", + "properties": { + "endTime": { + "description": "Compares the wallclock time to this time. Must use UTC timezone.", + "format": "google-datetime", + "type": "string" + }, + "maxDuration": { + "description": "Counts the wallclock time passed since the creation of this Study.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1SuggestTrialsMetadata": { "description": "Details of operations that perform Trials suggestion.", "id": "GoogleCloudAiplatformV1SuggestTrialsMetadata", diff --git a/DiscoveryJson/aiplatform_v1beta1.json b/DiscoveryJson/aiplatform_v1beta1.json index 59cb61f348b..d22426a3762 100644 --- a/DiscoveryJson/aiplatform_v1beta1.json +++ b/DiscoveryJson/aiplatform_v1beta1.json @@ -16094,7 +16094,7 @@ } } }, - "revision": "20231012", + "revision": "20231023", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -17987,7 +17987,7 @@ "type": "string" }, "protectedArtifactLocationId": { - "description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", + "description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations", "type": "string" }, "reservedIpRanges": { @@ -31302,7 +31302,7 @@ "type": "object" }, "GoogleCloudAiplatformV1beta1Study": { - "description": "A message representing a Study.", + "description": "A message representing a Study. Next id: 12", "id": "GoogleCloudAiplatformV1beta1Study", "properties": { "createTime": { @@ -31426,6 +31426,10 @@ }, "type": "array" }, + "studyStoppingConfig": { + "$ref": "GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig", + "description": "Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition." + }, "transferLearningConfig": { "$ref": "GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig", "description": "The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not HyperParameterTuningJob" @@ -31765,6 +31769,45 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig": { + "description": "The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, time budgets, and convergence detection.", + "id": "GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig", + "properties": { + "maxDurationNoProgress": { + "description": "If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.", + "format": "google-duration", + "type": "string" + }, + "maxNumTrials": { + "description": "If there are more than this many trials, stop the study.", + "format": "int32", + "type": "integer" + }, + "maxNumTrialsNoProgress": { + "description": "If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.", + "format": "int32", + "type": "integer" + }, + "maximumRuntimeConstraint": { + "$ref": "GoogleCloudAiplatformV1beta1StudyTimeConstraint", + "description": "If the specified time or duration has passed, stop the study." + }, + "minNumTrials": { + "description": "If there are fewer than this many COMPLETED trials, do not stop the study.", + "format": "int32", + "type": "integer" + }, + "minimumRuntimeConstraint": { + "$ref": "GoogleCloudAiplatformV1beta1StudyTimeConstraint", + "description": "Each \"stopping rule\" in this proto specifies an \"if\" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose \"if\" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study." + }, + "shouldStopAsap": { + "description": "If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig": { "description": "This contains flag for manually disabling transfer learning for a study. The names of prior studies being used for transfer learning (if any) are also listed here.", "id": "GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig", @@ -31784,6 +31827,23 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1StudyTimeConstraint": { + "description": "Time-based Constraint for Study", + "id": "GoogleCloudAiplatformV1beta1StudyTimeConstraint", + "properties": { + "endTime": { + "description": "Compares the wallclock time to this time. Must use UTC timezone.", + "format": "google-datetime", + "type": "string" + }, + "maxDuration": { + "description": "Counts the wallclock time passed since the creation of this Study.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1SuggestTrialsMetadata": { "description": "Details of operations that perform Trials suggestion.", "id": "GoogleCloudAiplatformV1beta1SuggestTrialsMetadata", diff --git a/DiscoveryJson/androidmanagement_v1.json b/DiscoveryJson/androidmanagement_v1.json index c163978008e..a8564eef299 100644 --- a/DiscoveryJson/androidmanagement_v1.json +++ b/DiscoveryJson/androidmanagement_v1.json @@ -1095,7 +1095,7 @@ } } }, - "revision": "20231009", + "revision": "20231016", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -3031,7 +3031,7 @@ "type": "object" }, "FreezePeriod": { - "description": "A system freeze period. When a device\u2019s clock is within the freeze period, all incoming system updates (including security patches) are blocked and won\u2019t be installed. When a device is outside the freeze period, normal update behavior applies. Leap years are ignored in freeze period calculations, in particular: * If Feb. 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th instead. * When a device\u2019s system clock reads Feb. 29th, it\u2019s treated as Feb. 28th. * When calculating the number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted as a day.Note: For Freeze Periods to take effect, SystemUpdateType cannot be specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined policy to be specified.", + "description": "A system freeze period. When a device\u2019s clock is within the freeze period, all incoming system updates (including security patches) are blocked and won\u2019t be installed.When the device is outside any set freeze periods, the normal policy behavior (automatic, windowed, or postponed) applies.Leap years are ignored in freeze period calculations, in particular: If Feb. 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th instead. When a device\u2019s system clock reads Feb. 29th, it\u2019s treated as Feb. 28th. When calculating the number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted as a day.Note: For Freeze Periods to take effect, SystemUpdateType cannot be specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined policy to be specified.", "id": "FreezePeriod", "properties": { "endDate": { @@ -4375,7 +4375,7 @@ "type": "boolean" }, "maxDaysWithWorkOff": { - "description": "Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to any value between 1-2 days, the feature is automatically set to 3 days. *Note:* If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.", + "description": "Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. *Note:* If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.", "format": "int32", "type": "integer" }, diff --git a/DiscoveryJson/biglake_v1.json b/DiscoveryJson/biglake_v1.json new file mode 100644 index 00000000000..2d455be5456 --- /dev/null +++ b/DiscoveryJson/biglake_v1.json @@ -0,0 +1,910 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/bigquery": { + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://biglake.googleapis.com/", + "batchPath": "batch", + "canonicalName": "BigLake Service", + "description": "The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/bigquery/", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "biglake:v1", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://biglake.mtls.googleapis.com/", + "name": "biglake", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "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.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "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.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "resources": { + "catalogs": { + "methods": { + "create": { + "description": "Creates a new catalog.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs", + "httpMethod": "POST", + "id": "biglake.projects.locations.catalogs.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "catalogId": { + "description": "Required. The ID to use for the catalog, which will become the final component of the catalog's resource name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}/locations/{location_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/catalogs", + "request": { + "$ref": "Catalog" + }, + "response": { + "$ref": "Catalog" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an existing catalog specified by the catalog ID.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}", + "httpMethod": "DELETE", + "id": "biglake.projects.locations.catalogs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the catalog to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Catalog" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the catalog specified by the resource name.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}", + "httpMethod": "GET", + "id": "biglake.projects.locations.catalogs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the catalog to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Catalog" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all catalogs in a specified project.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs", + "httpMethod": "GET", + "id": "biglake.projects.locations.catalogs.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of catalogs to return. The service may return fewer than this value. If unspecified, at most 50 catalogs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListCatalogs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCatalogs` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of catalogs. Format: projects/{project_id_or_number}/locations/{location_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/catalogs", + "response": { + "$ref": "ListCatalogsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "databases": { + "methods": { + "create": { + "description": "Creates a new database.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases", + "httpMethod": "POST", + "id": "biglake.projects.locations.catalogs.databases.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "databaseId": { + "description": "Required. The ID to use for the database, which will become the final component of the database's resource name.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/databases", + "request": { + "$ref": "Database" + }, + "response": { + "$ref": "Database" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an existing database specified by the database ID.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}", + "httpMethod": "DELETE", + "id": "biglake.projects.locations.catalogs.databases.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the database to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Database" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the database specified by the resource name.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}", + "httpMethod": "GET", + "id": "biglake.projects.locations.catalogs.databases.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the database to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Database" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all databases in a specified catalog.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases", + "httpMethod": "GET", + "id": "biglake.projects.locations.catalogs.databases.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of databases to return. The service may return fewer than this value. If unspecified, at most 50 databases will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListDatabases` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListDatabases` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of databases. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/databases", + "response": { + "$ref": "ListDatabasesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an existing database specified by the database ID.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}", + "httpMethod": "PATCH", + "id": "biglake.projects.locations.catalogs.databases.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Database" + }, + "response": { + "$ref": "Database" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + }, + "resources": { + "tables": { + "methods": { + "create": { + "description": "Creates a new table.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables", + "httpMethod": "POST", + "id": "biglake.projects.locations.catalogs.databases.tables.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + }, + "tableId": { + "description": "Required. The ID to use for the table, which will become the final component of the table's resource name.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/tables", + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes an existing table specified by the table ID.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}", + "httpMethod": "DELETE", + "id": "biglake.projects.locations.catalogs.databases.tables.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the table to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the table specified by the resource name.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}", + "httpMethod": "GET", + "id": "biglake.projects.locations.catalogs.databases.tables.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The name of the table to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all tables in a specified database.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables", + "httpMethod": "GET", + "id": "biglake.projects.locations.catalogs.databases.tables.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "pageSize": { + "description": "The maximum number of tables to return. The service may return fewer than this value. If unspecified, at most 50 tables will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "A page token, received from a previous `ListTables` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTables` must match the call that provided the page token.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. The parent, which owns this collection of tables. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+$", + "required": true, + "type": "string" + }, + "view": { + "description": "The view for the returned tables.", + "enum": [ + "TABLE_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ], + "enumDescriptions": [ + "Default value. The API will default to the BASIC view.", + "Include only table names. This is the default value.", + "Include everything." + ], + "location": "query", + "type": "string" + } + }, + "path": "v1/{+parent}/tables", + "response": { + "$ref": "ListTablesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates an existing table specified by the table ID.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}", + "httpMethod": "PATCH", + "id": "biglake.projects.locations.catalogs.databases.tables.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to update. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "rename": { + "description": "Renames an existing table specified by the table ID.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/catalogs/{catalogsId}/databases/{databasesId}/tables/{tablesId}:rename", + "httpMethod": "POST", + "id": "biglake.projects.locations.catalogs.databases.tables.rename", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. The table's `name` field is used to identify the table to rename. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}:rename", + "request": { + "$ref": "RenameTableRequest" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + } + } + } + } + }, + "revision": "20231016", + "rootUrl": "https://biglake.googleapis.com/", + "schemas": { + "Catalog": { + "description": "Catalog is the container of databases.", + "id": "Catalog", + "properties": { + "createTime": { + "description": "Output only. The creation time of the catalog.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. The deletion time of the catalog. Only set after the catalog is deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Output only. The time when this catalog is considered expired. Only set after the catalog is deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}", + "readOnly": true, + "type": "string" + }, + "updateTime": { + "description": "Output only. The last modification time of the catalog.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Database": { + "description": "Database is the container of tables.", + "id": "Database", + "properties": { + "createTime": { + "description": "Output only. The creation time of the database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. The deletion time of the database. Only set after the database is deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "expireTime": { + "description": "Output only. The time when this database is considered expired. Only set after the database is deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "hiveOptions": { + "$ref": "HiveDatabaseOptions", + "description": "Options of a Hive database." + }, + "name": { + "description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "The database type.", + "enum": [ + "TYPE_UNSPECIFIED", + "HIVE" + ], + "enumDescriptions": [ + "The type is not specified.", + "Represents a database storing tables compatible with Hive Metastore tables." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. The last modification time of the database.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "HiveDatabaseOptions": { + "description": "Options of a Hive database.", + "id": "HiveDatabaseOptions", + "properties": { + "locationUri": { + "description": "Cloud Storage folder URI where the database data is stored, starting with \"gs://\".", + "type": "string" + }, + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "Stores user supplied Hive database parameters.", + "type": "object" + } + }, + "type": "object" + }, + "HiveTableOptions": { + "description": "Options of a Hive table.", + "id": "HiveTableOptions", + "properties": { + "parameters": { + "additionalProperties": { + "type": "string" + }, + "description": "Stores user supplied Hive table parameters.", + "type": "object" + }, + "storageDescriptor": { + "$ref": "StorageDescriptor", + "description": "Stores physical storage information of the data." + }, + "tableType": { + "description": "Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE.", + "type": "string" + } + }, + "type": "object" + }, + "ListCatalogsResponse": { + "description": "Response message for the ListCatalogs method.", + "id": "ListCatalogsResponse", + "properties": { + "catalogs": { + "description": "The catalogs from the specified project.", + "items": { + "$ref": "Catalog" + }, + "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" + }, + "ListDatabasesResponse": { + "description": "Response message for the ListDatabases method.", + "id": "ListDatabasesResponse", + "properties": { + "databases": { + "description": "The databases from the specified catalog.", + "items": { + "$ref": "Database" + }, + "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" + }, + "ListTablesResponse": { + "description": "Response message for the ListTables method.", + "id": "ListTablesResponse", + "properties": { + "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" + }, + "tables": { + "description": "The tables from the specified database.", + "items": { + "$ref": "Table" + }, + "type": "array" + } + }, + "type": "object" + }, + "RenameTableRequest": { + "description": "Request message for the RenameTable method in MetastoreService", + "id": "RenameTableRequest", + "properties": { + "newName": { + "description": "Required. The new `name` for the specified table, must be in the same database. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", + "type": "string" + } + }, + "type": "object" + }, + "SerDeInfo": { + "description": "Serializer and deserializer information.", + "id": "SerDeInfo", + "properties": { + "serializationLib": { + "description": "The fully qualified Java class name of the serialization library.", + "type": "string" + } + }, + "type": "object" + }, + "StorageDescriptor": { + "description": "Stores physical storage information of the data.", + "id": "StorageDescriptor", + "properties": { + "inputFormat": { + "description": "The fully qualified Java class name of the input format.", + "type": "string" + }, + "locationUri": { + "description": "Cloud Storage folder URI where the table data is stored, starting with \"gs://\".", + "type": "string" + }, + "outputFormat": { + "description": "The fully qualified Java class name of the output format.", + "type": "string" + }, + "serdeInfo": { + "$ref": "SerDeInfo", + "description": "Serializer and deserializer information." + } + }, + "type": "object" + }, + "Table": { + "description": "Represents a table.", + "id": "Table", + "properties": { + "createTime": { + "description": "Output only. The creation time of the table.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "deleteTime": { + "description": "Output only. The deletion time of the table. Only set after the table is deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "etag": { + "description": "The checksum of a table object computed by the server based on the value of other fields. It may be sent on update requests to ensure the client has an up-to-date value before proceeding. It is only checked for update table operations.", + "type": "string" + }, + "expireTime": { + "description": "Output only. The time when this table is considered expired. Only set after the table is deleted.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + }, + "hiveOptions": { + "$ref": "HiveTableOptions", + "description": "Options of a Hive table." + }, + "name": { + "description": "Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id}", + "readOnly": true, + "type": "string" + }, + "type": { + "description": "The table type.", + "enum": [ + "TYPE_UNSPECIFIED", + "HIVE" + ], + "enumDescriptions": [ + "The type is not specified.", + "Represents a table compatible with Hive Metastore tables." + ], + "type": "string" + }, + "updateTime": { + "description": "Output only. The last modification time of the table.", + "format": "google-datetime", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "BigLake API", + "version": "v1", + "version_module": true +} \ No newline at end of file diff --git a/DiscoveryJson/chat_v1.json b/DiscoveryJson/chat_v1.json index c5a5ebef173..2bb12b33866 100644 --- a/DiscoveryJson/chat_v1.json +++ b/DiscoveryJson/chat_v1.json @@ -480,7 +480,7 @@ ] }, "get": { - "description": "Returns details about a membership. For an example, see [Get a membership](https://developers.google.com/chat/api/guides/v1/members/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). [User authentication](https://developers.google.com/chat/api/guides/auth/users).", + "description": "Returns details about a membership. For an example, see [Get a membership](https://developers.google.com/chat/api/guides/v1/members/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).", "flatPath": "v1/spaces/{spacesId}/members/{membersId}", "httpMethod": "GET", "id": "chat.spaces.members.get", @@ -507,7 +507,7 @@ ] }, "list": { - "description": "Lists memberships in a space. For an example, see [List memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing memberships with [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in spaces that the authenticated user has access to. Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). [User authentication](https://developers.google.com/chat/api/guides/auth/users).", + "description": "Lists memberships in a space. For an example, see [List memberships](https://developers.google.com/chat/api/guides/v1/members/list). Listing memberships with [app authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) lists memberships in spaces that the Chat app has access to, but excludes Chat app memberships, including its own. Listing memberships with [User authentication](https://developers.google.com/chat/api/guides/auth/users) lists memberships in spaces that the authenticated user has access to. Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users).", "flatPath": "v1/spaces/{spacesId}/members", "httpMethod": "GET", "id": "chat.spaces.members.list", @@ -622,7 +622,7 @@ ] }, "delete": { - "description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/chat/api/guides/v1/messages/delete). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). [User authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with service accounts can only delete messages created by the calling Chat app.", + "description": "Deletes a message. For an example, see [Delete a message](https://developers.google.com/chat/api/guides/v1/messages/delete). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with service accounts can only delete messages created by the calling Chat app.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "DELETE", "id": "chat.spaces.messages.delete", @@ -654,7 +654,7 @@ ] }, "get": { - "description": "Returns details about a message. For an example, see [Read a message](https://developers.google.com/chat/api/guides/v1/messages/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). [User authentication](https://developers.google.com/chat/api/guides/auth/users). Note: Might return a message from a blocked member or space.", + "description": "Returns details about a message. For an example, see [Read a message](https://developers.google.com/chat/api/guides/v1/messages/get). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). Note: Might return a message from a blocked member or space.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "GET", "id": "chat.spaces.messages.get", @@ -734,7 +734,7 @@ ] }, "patch": { - "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). [User authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with service accounts can only update messages created by the calling Chat app.", + "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with service accounts can only update messages created by the calling Chat app.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "PATCH", "id": "chat.spaces.messages.patch", @@ -775,7 +775,7 @@ ] }, "update": { - "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). [User authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with service accounts can only update messages created by the calling Chat app.", + "description": "Updates a message. There's a difference between the `patch` and `update` methods. The `patch` method uses a `patch` request while the `update` method uses a `put` request. We recommend using the `patch` method. For an example, see [Update a message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with service accounts can only update messages created by the calling Chat app.", "flatPath": "v1/spaces/{spacesId}/messages/{messagesId}", "httpMethod": "PUT", "id": "chat.spaces.messages.update", @@ -957,7 +957,7 @@ } } }, - "revision": "20230928", + "revision": "20231019", "rootUrl": "https://chat.googleapis.com/", "schemas": { "ActionParameter": { @@ -1309,12 +1309,12 @@ "type": "object" }, "ChatClientDataSourceMarkup": { - "description": "Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a data source from Google Chat. For example, a list of Google Chat spaces of which the user is a member. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Chat. The data source populates selection items for the multiselect menu. For example, a user can select Google Chat spaces that they're a member of.", "id": "ChatClientDataSourceMarkup", "properties": { "spaceDataSource": { "$ref": "SpaceDataSource", - "description": "A data source representing a Google Chat space. Format: spaces/{space} [Developer Preview](https://developers.google.com/workspace/preview)." + "description": "Google Chat spaces that the user is a member of." } }, "type": "object" @@ -2339,24 +2339,24 @@ "type": "object" }, "GoogleAppsCardV1PlatformDataSource": { - "description": "Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, the data from a [Google Workspace host application](https://developers.google.com/chat/api/reference/rest/v1/HostApp). Used to populate the items in the multi-select menu. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Workspace. Used to populate items in a multiselect menu.", "id": "GoogleAppsCardV1PlatformDataSource", "properties": { "commonDataSource": { - "description": "For a `SelectionInput` widget that uses a multi-select menu, a data source shared by all Google Workspace host applications, such as users in a Google Workspace organization. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "A data source shared by all Google Workspace applications, such as users in a Google Workspace organization.", "enum": [ "UNKNOWN", "USER" ], "enumDescriptions": [ - "Default value. Don't use. [Developer Preview](https://developers.google.com/workspace/preview).", - "A list of users provided by the Google Workspace host application. For example, to source users from Google Chat, use the resource name of the [user](https://developers.google.com/chat/api/reference/rest/v1/User). Format: users/{user} [Developer Preview](https://developers.google.com/workspace/preview)." + "Default value. Don't use.", + "Google Workspace users. The user can only view and select users from their Google Workspace organization." ], "type": "string" }, "hostAppDataSource": { "$ref": "HostAppDataSourceMarkup", - "description": "A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar events, or Google Chat messages. [Developer Preview](https://developers.google.com/workspace/preview)." + "description": "A data source that's unique to a Google Workspace host application, such spaces in Google Chat." } }, "type": "object" @@ -2394,7 +2394,7 @@ "properties": { "externalDataSource": { "$ref": "GoogleAppsCardV1Action", - "description": "An external data source, such as a relational data base. [Developer Preview](https://developers.google.com/workspace/preview)." + "description": "An external data source, such as a relational data base." }, "items": { "description": "An array of selectable items. For example, an array of radio buttons or checkboxes. Supports up to 100 items.", @@ -2408,12 +2408,12 @@ "type": "string" }, "multiSelectMaxSelectedItems": { - "description": "For multi-select menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, set to 3 items. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If unspecified, defaults to 3 items.", "format": "int32", "type": "integer" }, "multiSelectMinQueryLength": { - "description": "For multi-select menus, the number of text characters that a user inputs before the Chat app queries autocomplete and displays suggested items on the card. If unspecified, set to 0 characters for static data sources and 3 characters for external data sources. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "For multiselect menus, the number of text characters that a user inputs before the Chat app queries autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static data sources and 3 characters for external data sources.", "format": "int32", "type": "integer" }, @@ -2427,7 +2427,7 @@ }, "platformDataSource": { "$ref": "GoogleAppsCardV1PlatformDataSource", - "description": "A data source from a [Google Workspace host application](https://developers.google.com/chat/api/reference/rest/v1/HostApp). [Developer Preview](https://developers.google.com/workspace/preview)." + "description": "A data source from Google Workspace." }, "type": { "description": "The type of items that are displayed to users in a `SelectionInput` widget. Selection types support different types of interactions. For example, users can select one or more checkboxes, but they can only select one value from a dropdown menu.", @@ -2443,7 +2443,7 @@ "A set of radio buttons. Users can select one radio button.", "A set of switches. Users can turn on one or more switches.", "A dropdown menu. Users can select one item from the menu.", - "Supported by Chat apps, but not Google Workspace Add-ons. A multi-select menu for static or dynamic data. From the menu bar, users select one or more items. Users can also input values to populate dynamic data. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To populate items for a multi-select menu, you can use one of the following types of data sources: * Static data: Items are specified as `SelectionItem` objects in the widget. Up to 100 items. * Google Workspace data: Items are populated using data from a Google Workspace application, such as Google Chat users or spaces. * External data: Items are populated from a dynamic external data source. For examples of how to implement multi-select menus, see the [`SelectionInput` widget page](https://developers.google.com/chat/ui/widgets/selection-input). [Developer Preview](https://developers.google.com/workspace/preview)." + "Supported by Chat apps, but not Google Workspace Add-ons. A multiselect menu for static or dynamic data. From the menu bar, users select one or more items. Users can also input values to populate dynamic data. For example, users can start typing the name of a Google Chat space and the widget autosuggests the space. To populate items for a multiselect menu, you can use one of the following types of data sources: * Static data: Items are specified as `SelectionItem` objects in the widget. Up to 100 items. * Google Workspace data: Items are populated using data from Google Workspace, such as Google Workspace users or Google Chat spaces. * External data: Items are populated from an external data source outside of Google Workspace. For examples of how to implement multiselect menus, see the [`SelectionInput` widget page](https://developers.google.com/chat/ui/widgets/selection-input#multiselect-menu)." ], "type": "string" } @@ -2455,7 +2455,7 @@ "id": "GoogleAppsCardV1SelectionItem", "properties": { "bottomText": { - "description": "For multi-select menus, a text description or label that's displayed below the item's `text` field. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "For multiselect menus, a text description or label that's displayed below the item's `text` field.", "type": "string" }, "selected": { @@ -2463,7 +2463,7 @@ "type": "boolean" }, "startIconUri": { - "description": "For multi-select menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/chat/images/quickstart-app-avatar.png`. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG files. Must be an `HTTPS` URL. For example, `https://developers.google.com/chat/images/quickstart-app-avatar.png`.", "type": "string" }, "text": { @@ -2700,12 +2700,12 @@ "type": "object" }, "HostAppDataSourceMarkup": { - "description": "Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a data source from a Google Workspace host application. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a data source from a Google Workspace application. The data source populates selection items for the multiselect menu.", "id": "HostAppDataSourceMarkup", "properties": { "chatDataSource": { "$ref": "ChatClientDataSourceMarkup", - "description": "The data source is Google Chat. [Developer Preview](https://developers.google.com/workspace/preview)." + "description": "A data source from Google Chat." } }, "type": "object" @@ -3483,11 +3483,11 @@ "type": "object" }, "SpaceDataSource": { - "description": "A data source representing a Google Chat space. Format: spaces/{space} [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "A data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces that the user is a member of.", "id": "SpaceDataSource", "properties": { "defaultToCurrentSpace": { - "description": "When `true`, uses the card's Google Chat space as the default selection. The default value is `false`. [Developer Preview](https://developers.google.com/workspace/preview).", + "description": "If set to `true`, the multiselect menu selects the current Google Chat space as an item by default.", "type": "boolean" } }, diff --git a/DiscoveryJson/cloudresourcemanager_v1.json b/DiscoveryJson/cloudresourcemanager_v1.json index 56f7fb9cc6c..313072a1e06 100644 --- a/DiscoveryJson/cloudresourcemanager_v1.json +++ b/DiscoveryJson/cloudresourcemanager_v1.json @@ -624,7 +624,7 @@ ] }, "search": { - "description": "Searches Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the results. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get`", + "description": "Searches Organization resources that are visible to the user and satisfy the specified filter. This method returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the results. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get` or has super admin privileges.", "flatPath": "v1/organizations:search", "httpMethod": "POST", "id": "cloudresourcemanager.organizations.search", @@ -1032,7 +1032,7 @@ ] }, "setIamPolicy": { - "description": "Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. For additional information about `resource` (e.g. my-project-id) structure and identification, see [Resource Names](https://cloud.google.com/apis/design/resource_names). The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a member by using the GCP Console. Inviting a member will deliver an invitation email that they must accept. An invitation email is not generated if you are granting a role other than owner, or if both the member you are inviting and the project are part of your organization. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project", + "description": "Sets the IAM access control policy for the specified Project. CAUTION: This method will replace the existing policy, and cannot be used to append additional IAM settings. NOTE: Removing service accounts from policies or changing their roles can render services completely inoperable. It is important to understand how the service account is being used before removing or updating its roles. For additional information about `resource` (e.g. my-project-id) structure and identification, see [Resource Names](https://cloud.google.com/apis/design/resource_names). The following constraints apply when using `setIamPolicy()`: + Project does not support `allUsers` and `allAuthenticatedUsers` as `members` in a `Binding` of a `Policy`. + The owner role can be granted to a `user`, `serviceAccount`, or a group that is part of an organization. For example, group@myownpersonaldomain.com could be added as an owner to a project in the myownpersonaldomain.com organization, but not the examplepetstore.com organization. + Service accounts can be made owners of a project directly without any restrictions. However, to be added as an owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a member by using the Google Cloud console. Inviting a member will deliver an invitation email that they must accept. An invitation email is not generated if you are granting a role other than owner, or if both the member you are inviting and the project are part of your organization. + If the project is not part of an organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an organization, you can remove all owners, potentially making the organization inaccessible. Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project", "flatPath": "v1/projects/{resource}:setIamPolicy", "httpMethod": "POST", "id": "cloudresourcemanager.projects.setIamPolicy", @@ -1171,7 +1171,7 @@ } } }, - "revision": "20230806", + "revision": "20231022", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -1956,7 +1956,7 @@ "type": "string" }, "displayName": { - "description": "A human-readable string that refers to the Organization in the GCP Console UI. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, \"google.com\") of the G Suite customer that owns the organization.", + "description": "A human-readable string that refers to the Organization in the Google Cloud console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, \"google.com\") of the G Suite customer that owns the organization.", "type": "string" }, "lifecycleState": { diff --git a/DiscoveryJson/cloudresourcemanager_v1beta1.json b/DiscoveryJson/cloudresourcemanager_v1beta1.json index 635e75fbbbf..5116645b24c 100644 --- a/DiscoveryJson/cloudresourcemanager_v1beta1.json +++ b/DiscoveryJson/cloudresourcemanager_v1beta1.json @@ -568,7 +568,7 @@ } } }, - "revision": "20230806", + "revision": "20231022", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "Ancestor": { @@ -1018,7 +1018,7 @@ "type": "string" }, "displayName": { - "description": "A human-readable string that refers to the Organization in the GCP Console UI. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, \"google.com\") of the G Suite customer that owns the organization.", + "description": "A human-readable string that refers to the Organization in the Google Cloud console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, \"google.com\") of the G Suite customer that owns the organization.", "type": "string" }, "lifecycleState": { diff --git a/DiscoveryJson/cloudresourcemanager_v3.json b/DiscoveryJson/cloudresourcemanager_v3.json index 57858ce583c..96d936b0e54 100644 --- a/DiscoveryJson/cloudresourcemanager_v3.json +++ b/DiscoveryJson/cloudresourcemanager_v3.json @@ -660,7 +660,7 @@ ] }, "search": { - "description": "Searches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the results, and may take a small amount of time to appear. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get`", + "description": "Searches organization resources that are visible to the user and satisfy the specified filter. This method returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the results, and may take a small amount of time to appear. Search will only return organizations on which the user has the permission `resourcemanager.organizations.get` or has super admin privileges.", "flatPath": "v3/organizations:search", "httpMethod": "GET", "id": "cloudresourcemanager.organizations.search", @@ -952,7 +952,7 @@ ] }, "search": { - "description": "Search for projects that the caller has both `resourcemanager.projects.get` permission on, and also satisfy the specified query. This method returns projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the GetProject method.", + "description": "Search for projects that the caller has the `resourcemanager.projects.get` permission on, and also satisfy the specified query. This method returns projects in an unspecified order. This method is eventually consistent with project mutations; this means that a newly created project may not appear in the results or recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a project, use the GetProject method.", "flatPath": "v3/projects:search", "httpMethod": "GET", "id": "cloudresourcemanager.projects.search", @@ -1805,7 +1805,7 @@ } } }, - "revision": "20230806", + "revision": "20231022", "rootUrl": "https://cloudresourcemanager.googleapis.com/", "schemas": { "AuditConfig": { diff --git a/DiscoveryJson/compute_alpha.json b/DiscoveryJson/compute_alpha.json index 5d45b365f92..748670a26a5 100644 --- a/DiscoveryJson/compute_alpha.json +++ b/DiscoveryJson/compute_alpha.json @@ -11418,6 +11418,59 @@ "https://www.googleapis.com/auth/compute" ] }, + "deleteNetworkInterface": { + "description": "Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, using network_interface_name field; Only VLAN interface deletion is supported for now.", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface", + "httpMethod": "POST", + "id": "compute.instances.deleteNetworkInterface", + "parameterOrder": [ + "project", + "zone", + "instance", + "networkInterfaceName" + ], + "parameters": { + "instance": { + "description": "The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned long integer.", + "location": "path", + "required": true, + "type": "string" + }, + "networkInterfaceName": { + "description": "The name of the network interface to be deleted from the instance. Only VLAN network interface deletion is supported.", + "location": "query", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "detachDisk": { "description": "Detaches a disk from an instance.", "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", @@ -43489,7 +43542,7 @@ } } }, - "revision": "20231011", + "revision": "20231017", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -46786,7 +46839,7 @@ "type": "string" }, "ipAddressSelectionPolicy": { - "description": "Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). ", + "description": "Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). ", "enum": [ "IPV4_ONLY", "IPV6_ONLY", @@ -48694,6 +48747,13 @@ "description": "[Output Only] Commitment end time in RFC3339 text format.", "type": "string" }, + "existingReservations": { + "description": "Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation ", + "items": { + "type": "string" + }, + "type": "array" + }, "id": { "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "format": "uint64", @@ -68023,10 +68083,6 @@ "description": "Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.", "format": "int32", "type": "integer" - }, - "zone": { - "description": "The name of the zone where the instance hosting the network endpoint is located (valid only for regional GCE_VM_IP_PORT NEGs). It should comply with RFC1035. The zone must belong to the region of the Network Endpoint Group.", - "type": "string" } }, "type": "object" @@ -74156,7 +74212,7 @@ "description": "[Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project. It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this field is not specified, it is assumed to be CA_STANDARD.", "enum": [ "CAMP_PLUS_ANNUAL", - "CAMP_PLUS_MONTHLY", + "CAMP_PLUS_PAYGO", "CA_STANDARD" ], "enumDescriptions": [ @@ -74313,7 +74369,7 @@ "description": "Managed protection tier to be set.", "enum": [ "CAMP_PLUS_ANNUAL", - "CAMP_PLUS_MONTHLY", + "CAMP_PLUS_PAYGO", "CA_STANDARD" ], "enumDescriptions": [ @@ -79603,6 +79659,10 @@ "description": "Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.", "id": "ResourceStatus", "properties": { + "lastInstanceTerminationDetails": { + "$ref": "ResourceStatusLastInstanceTerminationDetails", + "description": "[Output Only] Contains last termination details why the instance was terminated." + }, "physicalHost": { "description": "[Output Only] An opaque ID of the host on which the VM is running.", "type": "string" @@ -79620,6 +79680,48 @@ }, "type": "object" }, + "ResourceStatusLastInstanceTerminationDetails": { + "id": "ResourceStatusLastInstanceTerminationDetails", + "properties": { + "terminationReason": { + "description": "Reason for termination", + "enum": [ + "BAD_BILLING_ACCOUNT", + "CLOUD_ABUSE_DETECTED", + "DISK_ERROR", + "FREE_TRIAL_EXPIRED", + "INSTANCE_UPDATE_REQUIRED_RESTART", + "INTERNAL_ERROR", + "KMS_REJECTION", + "MANAGED_INSTANCE_GROUP", + "OS_TERMINATED", + "PREEMPTED", + "SCHEDULED_STOP", + "SHUTDOWN_DUE_TO_MAINTENANCE", + "UNSPECIFIED_TERMINATION_REASON", + "USER_TERMINATED" + ], + "enumDescriptions": [ + "Terminated due to bad billing", + "Terminated by Cloud Abuse team", + "Terminated due to disk errors", + "Terminated due to free trial expired", + "Instance.update initiated which required RESTART", + "Terminated due to internal error", + "Terminated due to Key Management Service (KMS) key failure.", + "Terminated by managed instance group", + "Terminated from the OS level", + "Terminated due to preemption", + "Terminated due to scheduled stop", + "Terminated due to maintenance", + "The termination reason is not specified", + "Terminated by user" + ], + "type": "string" + } + }, + "type": "object" + }, "ResourceStatusScheduling": { "id": "ResourceStatusScheduling", "properties": { @@ -83415,7 +83517,7 @@ "description": "[Output Only] The minimum managed protection tier required for this rule. [Deprecated] Use requiredManagedProtectionTiers instead.", "enum": [ "CAMP_PLUS_ANNUAL", - "CAMP_PLUS_MONTHLY", + "CAMP_PLUS_PAYGO", "CA_STANDARD" ], "enumDescriptions": [ diff --git a/DiscoveryJson/compute_beta.json b/DiscoveryJson/compute_beta.json index a83ad2e07c9..44761b75287 100644 --- a/DiscoveryJson/compute_beta.json +++ b/DiscoveryJson/compute_beta.json @@ -20875,6 +20875,44 @@ }, "publicAdvertisedPrefixes": { "methods": { + "announce": { + "description": "Announces the specified PublicAdvertisedPrefix", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", + "httpMethod": "POST", + "id": "compute.publicAdvertisedPrefixes.announce", + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicAdvertisedPrefix": { + "description": "The name of the public advertised prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "delete": { "description": "Deletes the specified PublicAdvertisedPrefix", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", @@ -21079,6 +21117,44 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "withdraw": { + "description": "Withdraws the specified PublicAdvertisedPrefix", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", + "httpMethod": "POST", + "id": "compute.publicAdvertisedPrefixes.withdraw", + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicAdvertisedPrefix": { + "description": "The name of the public advertised prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -21149,6 +21225,51 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "announce": { + "description": "Announces the specified PublicDelegatedPrefix in the given region.", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", + "httpMethod": "POST", + "id": "compute.publicDelegatedPrefixes.announce", + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "The name of the public delegated prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region where the public delegated prefix is located. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "delete": { "description": "Deletes the specified PublicDelegatedPrefix in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", @@ -21393,6 +21514,51 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "withdraw": { + "description": "Withdraws the specified PublicDelegatedPrefix in the given region.", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", + "httpMethod": "POST", + "id": "compute.publicDelegatedPrefixes.withdraw", + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "The name of the public delegated prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region where the public delegated prefix is located. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -40049,7 +40215,7 @@ } } }, - "revision": "20231011", + "revision": "20231017", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -43209,7 +43375,7 @@ "type": "string" }, "ipAddressSelectionPolicy": { - "description": "Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). ", + "description": "Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). ", "enum": [ "IPV4_ONLY", "IPV6_ONLY", @@ -68275,7 +68441,7 @@ "description": "[Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project. It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this field is not specified, it is assumed to be CA_STANDARD.", "enum": [ "CAMP_PLUS_ANNUAL", - "CAMP_PLUS_MONTHLY", + "CAMP_PLUS_PAYGO", "CA_STANDARD" ], "enumDescriptions": [ @@ -68416,7 +68582,7 @@ "description": "Managed protection tier to be set.", "enum": [ "CAMP_PLUS_ANNUAL", - "CAMP_PLUS_MONTHLY", + "CAMP_PLUS_PAYGO", "CA_STANDARD" ], "enumDescriptions": [ @@ -68433,6 +68599,18 @@ "description": "A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.", "id": "PublicAdvertisedPrefix", "properties": { + "byoipApiVersion": { + "description": "[Output Only] The version of BYOIP API.", + "enum": [ + "V1", + "V2" + ], + "enumDescriptions": [ + "This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed.", + "This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified." + ], + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" @@ -68474,6 +68652,20 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "pdpScope": { + "description": "Specifies how child public delegated prefix will be scoped. It could be one of following values: - `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. ", + "enum": [ + "GLOBAL", + "GLOBAL_AND_REGIONAL", + "REGIONAL" + ], + "enumDescriptions": [ + "The public delegated prefix is global only. The provisioning will take ~4 weeks.", + "The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2.", + "The public delegated prefix is regional only. The provisioning will take a few minutes." + ], + "type": "string" + }, "publicDelegatedPrefixs": { "description": "[Output Only] The list of public delegated prefixes that exist for this public advertised prefix.", "items": { @@ -68492,20 +68684,24 @@ "status": { "description": "The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. ", "enum": [ + "ANNOUNCED_TO_INTERNET", "INITIAL", "PREFIX_CONFIGURATION_COMPLETE", "PREFIX_CONFIGURATION_IN_PROGRESS", "PREFIX_REMOVAL_IN_PROGRESS", "PTR_CONFIGURED", + "READY_TO_ANNOUNCE", "REVERSE_DNS_LOOKUP_FAILED", "VALIDATED" ], "enumDescriptions": [ + "The prefix is announced to Internet.", "RPKI validation is complete.", "The prefix is fully configured.", "The prefix is being configured.", "The prefix is being removed.", "User has configured the PTR.", + "The prefix is currently withdrawn but ready to be announced.", "Reverse DNS lookup failed.", "Reverse DNS lookup is successful." ], @@ -68696,6 +68892,18 @@ "description": "A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.", "id": "PublicDelegatedPrefix", "properties": { + "byoipApiVersion": { + "description": "[Output Only] The version of BYOIP API.", + "enum": [ + "V1", + "V2" + ], + "enumDescriptions": [ + "This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.", + "This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status." + ], + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" @@ -68760,12 +68968,16 @@ "description": "[Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. ", "enum": [ "ANNOUNCED", + "ANNOUNCED_TO_GOOGLE", + "ANNOUNCED_TO_INTERNET", "DELETING", "INITIALIZING", "READY_TO_ANNOUNCE" ], "enumDescriptions": [ "The public delegated prefix is active.", + "The prefix is announced within Google network.", + "The prefix is announced to Internet and within Google.", "The public delegated prefix is being deprovsioned.", "The public delegated prefix is being initialized and addresses cannot be created yet.", "The public delegated prefix is currently withdrawn but ready to be announced." @@ -77683,6 +77895,10 @@ "$ref": "CustomerEncryptionKey", "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key." }, + "sourceDiskForRecoveryCheckpoint": { + "description": "The source disk whose recovery checkpoint will be used to create this snapshot.", + "type": "string" + }, "sourceDiskId": { "description": "[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.", "type": "string" diff --git a/DiscoveryJson/compute_v1.json b/DiscoveryJson/compute_v1.json index 63d509228cc..3ee460d3c1e 100644 --- a/DiscoveryJson/compute_v1.json +++ b/DiscoveryJson/compute_v1.json @@ -18033,6 +18033,44 @@ }, "publicAdvertisedPrefixes": { "methods": { + "announce": { + "description": "Announces the specified PublicAdvertisedPrefix", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", + "httpMethod": "POST", + "id": "compute.publicAdvertisedPrefixes.announce", + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicAdvertisedPrefix": { + "description": "The name of the public advertised prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "delete": { "description": "Deletes the specified PublicAdvertisedPrefix", "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", @@ -18237,6 +18275,44 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "withdraw": { + "description": "Withdraws the specified PublicAdvertisedPrefix", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", + "httpMethod": "POST", + "id": "compute.publicAdvertisedPrefixes.withdraw", + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicAdvertisedPrefix": { + "description": "The name of the public advertised prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -18307,6 +18383,51 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "announce": { + "description": "Announces the specified PublicDelegatedPrefix in the given region.", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", + "httpMethod": "POST", + "id": "compute.publicDelegatedPrefixes.announce", + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "The name of the public delegated prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region where the public delegated prefix is located. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "delete": { "description": "Deletes the specified PublicDelegatedPrefix in the given region.", "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", @@ -18551,6 +18672,51 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "withdraw": { + "description": "Withdraws the specified PublicDelegatedPrefix in the given region.", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", + "httpMethod": "POST", + "id": "compute.publicDelegatedPrefixes.withdraw", + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "The name of the public delegated prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region where the public delegated prefix is located. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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" + } + }, + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] } } }, @@ -29199,6 +29365,77 @@ } } }, + "snapshotSettings": { + "methods": { + "get": { + "description": "Get snapshot settings.", + "flatPath": "projects/{project}/global/snapshotSettings", + "httpMethod": "GET", + "id": "compute.snapshotSettings.get", + "parameterOrder": [ + "project" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/global/snapshotSettings", + "response": { + "$ref": "SnapshotSettings" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, + "patch": { + "description": "Patch snapshot settings.", + "flatPath": "projects/{project}/global/snapshotSettings", + "httpMethod": "PATCH", + "id": "compute.snapshotSettings.patch", + "parameterOrder": [ + "project" + ], + "parameters": { + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "requestId": { + "description": "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. 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": "update_mask indicates fields to be updated as part of this request.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "projects/{project}/global/snapshotSettings", + "request": { + "$ref": "SnapshotSettings" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + } + } + }, "snapshots": { "methods": { "delete": { @@ -35030,7 +35267,7 @@ } } }, - "revision": "20231011", + "revision": "20231017", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -60790,6 +61027,18 @@ "description": "A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.", "id": "PublicAdvertisedPrefix", "properties": { + "byoipApiVersion": { + "description": "[Output Only] The version of BYOIP API.", + "enum": [ + "V1", + "V2" + ], + "enumDescriptions": [ + "This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed.", + "This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified." + ], + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" @@ -60831,6 +61080,20 @@ "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, + "pdpScope": { + "description": "Specifies how child public delegated prefix will be scoped. It could be one of following values: - `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. ", + "enum": [ + "GLOBAL", + "GLOBAL_AND_REGIONAL", + "REGIONAL" + ], + "enumDescriptions": [ + "The public delegated prefix is global only. The provisioning will take ~4 weeks.", + "The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2.", + "The public delegated prefix is regional only. The provisioning will take a few minutes." + ], + "type": "string" + }, "publicDelegatedPrefixs": { "description": "[Output Only] The list of public delegated prefixes that exist for this public advertised prefix.", "items": { @@ -60849,20 +61112,24 @@ "status": { "description": "The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. ", "enum": [ + "ANNOUNCED_TO_INTERNET", "INITIAL", "PREFIX_CONFIGURATION_COMPLETE", "PREFIX_CONFIGURATION_IN_PROGRESS", "PREFIX_REMOVAL_IN_PROGRESS", "PTR_CONFIGURED", + "READY_TO_ANNOUNCE", "REVERSE_DNS_LOOKUP_FAILED", "VALIDATED" ], "enumDescriptions": [ + "The prefix is announced to Internet.", "RPKI validation is complete.", "The prefix is fully configured.", "The prefix is being configured.", "The prefix is being removed.", "User has configured the PTR.", + "The prefix is currently withdrawn but ready to be announced.", "Reverse DNS lookup failed.", "Reverse DNS lookup is successful." ], @@ -61053,6 +61320,18 @@ "description": "A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.", "id": "PublicDelegatedPrefix", "properties": { + "byoipApiVersion": { + "description": "[Output Only] The version of BYOIP API.", + "enum": [ + "V1", + "V2" + ], + "enumDescriptions": [ + "This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.", + "This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status." + ], + "type": "string" + }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" @@ -61117,12 +61396,16 @@ "description": "[Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. ", "enum": [ "ANNOUNCED", + "ANNOUNCED_TO_GOOGLE", + "ANNOUNCED_TO_INTERNET", "DELETING", "INITIALIZING", "READY_TO_ANNOUNCE" ], "enumDescriptions": [ "The public delegated prefix is active.", + "The prefix is announced within Google network.", + "The prefix is announced to Internet and within Google.", "The public delegated prefix is being deprovsioned.", "The public delegated prefix is being initialized and addresses cannot be created yet.", "The public delegated prefix is currently withdrawn but ready to be announced." @@ -69467,6 +69750,10 @@ "$ref": "CustomerEncryptionKey", "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key." }, + "sourceDiskForRecoveryCheckpoint": { + "description": "The source disk whose recovery checkpoint will be used to create this snapshot.", + "type": "string" + }, "sourceDiskId": { "description": "[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.", "type": "string" @@ -69676,6 +69963,56 @@ }, "type": "object" }, + "SnapshotSettings": { + "id": "SnapshotSettings", + "properties": { + "storageLocation": { + "$ref": "SnapshotSettingsStorageLocationSettings", + "description": "Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out." + } + }, + "type": "object" + }, + "SnapshotSettingsStorageLocationSettings": { + "id": "SnapshotSettingsStorageLocationSettings", + "properties": { + "locations": { + "additionalProperties": { + "$ref": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference" + }, + "description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.", + "type": "object" + }, + "policy": { + "description": "The chosen location policy.", + "enum": [ + "LOCAL_REGION", + "NEAREST_MULTI_REGION", + "SPECIFIC_LOCATIONS", + "STORAGE_LOCATION_POLICY_UNSPECIFIED" + ], + "enumDescriptions": [ + "Store snapshot in the same region as with the originating disk. No additional parameters are needed.", + "Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed.", + "Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the `locations` field.", + "" + ], + "type": "string" + } + }, + "type": "object" + }, + "SnapshotSettingsStorageLocationSettingsStorageLocationPreference": { + "description": "A structure for specifying storage locations.", + "id": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference", + "properties": { + "name": { + "description": "Name of the location. It should be one of the GCS buckets.", + "type": "string" + } + }, + "type": "object" + }, "SourceDiskEncryptionKey": { "id": "SourceDiskEncryptionKey", "properties": { diff --git a/DiscoveryJson/contactcenterinsights_v1.json b/DiscoveryJson/contactcenterinsights_v1.json index 3b3691255b9..1bdb4f38d80 100644 --- a/DiscoveryJson/contactcenterinsights_v1.json +++ b/DiscoveryJson/contactcenterinsights_v1.json @@ -1384,7 +1384,7 @@ } } }, - "revision": "20230923", + "revision": "20231023", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -1668,6 +1668,14 @@ "format": "int32", "type": "integer" }, + "partialErrors": { + "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "readOnly": true, + "type": "array" + }, "request": { "$ref": "GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest", "description": "The original request for bulk analyze." @@ -2018,7 +2026,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1ConversationDataSource": { - "description": "The conversation source, which is a combination of transcript and audio.", + "description": "The conversation source, which is a combination of transcript, audio, and metadata.", "id": "GoogleCloudContactcenterinsightsV1ConversationDataSource", "properties": { "dialogflowSource": { @@ -3972,6 +3980,14 @@ "format": "int32", "type": "integer" }, + "partialErrors": { + "description": "Output only. Partial errors during ingest operation that might cause the operation output to be incomplete.", + "items": { + "$ref": "GoogleRpcStatus" + }, + "readOnly": true, + "type": "array" + }, "request": { "$ref": "GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest", "description": "The original request for bulk analyze." @@ -4217,7 +4233,7 @@ "type": "object" }, "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource": { - "description": "The conversation source, which is a combination of transcript and audio.", + "description": "The conversation source, which is a combination of transcript, audio, and metadata.", "id": "GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource", "properties": { "dialogflowSource": { diff --git a/DiscoveryJson/container_v1.json b/DiscoveryJson/container_v1.json index f81c17d4a10..01acd444309 100644 --- a/DiscoveryJson/container_v1.json +++ b/DiscoveryJson/container_v1.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20230919", + "revision": "20231012", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3605,6 +3605,10 @@ "$ref": "NetworkTags", "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." }, + "desiredNodePoolAutoConfigResourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "desiredNodePoolAutoscaling": { "$ref": "NodePoolAutoscaling", "description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool." @@ -4070,11 +4074,13 @@ "enum": [ "CHANNEL_UNSPECIFIED", "CHANNEL_DISABLED", + "CHANNEL_EXPERIMENTAL", "CHANNEL_STANDARD" ], "enumDescriptions": [ "Default value.", "Gateway API support is disabled", + "Gateway API support is enabled, experimental CRDs are installed", "Gateway API support is enabled, standard CRDs are installed" ], "type": "string" @@ -5186,6 +5192,10 @@ "description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.", "type": "object" }, + "resourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "A map of resource manager tag keys and values to be attached to the nodes." + }, "sandboxConfig": { "$ref": "SandboxConfig", "description": "Sandbox configuration for this node." @@ -5483,6 +5493,10 @@ "networkTags": { "$ref": "NetworkTags", "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." + }, + "resourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies." } }, "type": "object" @@ -5674,7 +5688,8 @@ "SET_NODE_POOL_SIZE", "SET_NETWORK_POLICY", "SET_MAINTENANCE_POLICY", - "RESIZE_CLUSTER" + "RESIZE_CLUSTER", + "FLEET_FEATURE_UPGRADE" ], "enumDeprecated": [ false, @@ -5694,6 +5709,7 @@ false, true, true, + false, false ], "enumDescriptions": [ @@ -5714,7 +5730,8 @@ "The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.", "Unused. Updating network policy uses UPDATE_CLUSTER.", "Unused. Updating maintenance policy uses UPDATE_CLUSTER.", - "The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs)." + "The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).", + "Fleet features of GKE Enterprise are being upgraded. The cluster should be assumed to be blocked for other upgrades until the operation finishes." ], "type": "string" }, @@ -6094,6 +6111,20 @@ }, "type": "object" }, + "ResourceManagerTags": { + "description": "A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.", + "id": "ResourceManagerTags", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`", + "type": "object" + } + }, + "type": "object" + }, "ResourceUsageExportConfig": { "description": "Configuration for exporting cluster resource usages.", "id": "ResourceUsageExportConfig", @@ -7093,6 +7124,10 @@ "$ref": "ResourceLabels", "description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources." }, + "resourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values." + }, "tags": { "$ref": "NetworkTags", "description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags." diff --git a/DiscoveryJson/container_v1beta1.json b/DiscoveryJson/container_v1beta1.json index f2022beba6a..1f0e4fd0764 100644 --- a/DiscoveryJson/container_v1beta1.json +++ b/DiscoveryJson/container_v1beta1.json @@ -2565,7 +2565,7 @@ } } }, - "revision": "20230919", + "revision": "20231012", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3763,6 +3763,10 @@ "$ref": "NetworkTags", "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." }, + "desiredNodePoolAutoConfigResourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "desiredNodePoolAutoscaling": { "$ref": "NodePoolAutoscaling", "description": "Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool." @@ -4283,11 +4287,13 @@ "enum": [ "CHANNEL_UNSPECIFIED", "CHANNEL_DISABLED", + "CHANNEL_EXPERIMENTAL", "CHANNEL_STANDARD" ], "enumDescriptions": [ "Default value.", "Gateway API support is disabled", + "Gateway API support is enabled, experimental CRDs are installed", "Gateway API support is enabled, standard CRDs are installed" ], "type": "string" @@ -4450,6 +4456,10 @@ "Nodes receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean underlying VMs will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available." ], "type": "string" + }, + "opportunisticMaintenanceStrategy": { + "$ref": "OpportunisticMaintenanceStrategy", + "description": "Strategy that will trigger maintenance on behalf of the customer." } }, "type": "object" @@ -5567,6 +5577,10 @@ "description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.", "type": "object" }, + "resourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "A map of resource manager tag keys and values to be attached to the nodes." + }, "sandboxConfig": { "$ref": "SandboxConfig", "description": "Sandbox configuration for this node." @@ -5868,6 +5882,10 @@ "networkTags": { "$ref": "NetworkTags", "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." + }, + "resourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies." } }, "type": "object" @@ -6059,7 +6077,8 @@ "SET_NODE_POOL_SIZE", "SET_NETWORK_POLICY", "SET_MAINTENANCE_POLICY", - "RESIZE_CLUSTER" + "RESIZE_CLUSTER", + "FLEET_FEATURE_UPGRADE" ], "enumDeprecated": [ false, @@ -6079,6 +6098,7 @@ false, true, true, + false, false ], "enumDescriptions": [ @@ -6099,7 +6119,8 @@ "The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.", "Unused. Updating network policy uses UPDATE_CLUSTER.", "Unused. Updating maintenance policy uses UPDATE_CLUSTER.", - "The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs)." + "The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).", + "Fleet features of GKE Enterprise are being upgraded. The cluster should be assumed to be blocked for other upgrades until the operation finishes." ], "type": "string" }, @@ -6195,6 +6216,28 @@ }, "type": "object" }, + "OpportunisticMaintenanceStrategy": { + "description": "Strategy that will trigger maintenance on behalf of the customer.", + "id": "OpportunisticMaintenanceStrategy", + "properties": { + "maintenanceAvailabilityWindow": { + "description": "The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all `PERIODIC` maintenance is set 28 days in advance).", + "format": "google-duration", + "type": "string" + }, + "minNodesPerPool": { + "description": "The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.", + "format": "int64", + "type": "string" + }, + "nodeIdleTimeWindow": { + "description": "The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "ParentProductConfig": { "description": "ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of a GKE cluster and take the ownership of the cluster.", "id": "ParentProductConfig", @@ -6534,6 +6577,20 @@ }, "type": "object" }, + "ResourceManagerTags": { + "description": "A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.", + "id": "ResourceManagerTags", + "properties": { + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Tags must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`", + "type": "object" + } + }, + "type": "object" + }, "ResourceUsageExportConfig": { "description": "Configuration for exporting cluster resource usages.", "id": "ResourceUsageExportConfig", @@ -7566,6 +7623,10 @@ "$ref": "ResourceLabels", "description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources." }, + "resourceManagerTags": { + "$ref": "ResourceManagerTags", + "description": "Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values." + }, "tags": { "$ref": "NetworkTags", "description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags." diff --git a/DiscoveryJson/dataflow_v1b3.json b/DiscoveryJson/dataflow_v1b3.json index f2b9216a236..a473e2db23c 100644 --- a/DiscoveryJson/dataflow_v1b3.json +++ b/DiscoveryJson/dataflow_v1b3.json @@ -2221,7 +2221,7 @@ } } }, - "revision": "20230929", + "revision": "20231021", "rootUrl": "https://dataflow.googleapis.com/", "schemas": { "ApproximateProgress": { @@ -3932,6 +3932,11 @@ "$ref": "RuntimeUpdatableParams", "description": "This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation." }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.", + "readOnly": true, + "type": "boolean" + }, "satisfiesPzs": { "description": "Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.", "type": "boolean" diff --git a/DiscoveryJson/dataplex_v1.json b/DiscoveryJson/dataplex_v1.json index ad358cf5e77..94a10aa9f26 100644 --- a/DiscoveryJson/dataplex_v1.json +++ b/DiscoveryJson/dataplex_v1.json @@ -4360,7 +4360,7 @@ } } }, - "revision": "20231007", + "revision": "20231018", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -5555,7 +5555,7 @@ "id": "GoogleCloudDataplexV1DataQualityResult", "properties": { "dimensions": { - "description": "A list of results at the dimension level.", + "description": "A list of results at the dimension level.A dimension will have a corresponding DataQualityDimensionResult if and only if there is at least one rule with the 'dimension' field set to it.", "items": { "$ref": "GoogleCloudDataplexV1DataQualityDimensionResult" }, diff --git a/DiscoveryJson/dialogflow_v2.json b/DiscoveryJson/dialogflow_v2.json index c2254ded10b..3877ef47170 100644 --- a/DiscoveryJson/dialogflow_v2.json +++ b/DiscoveryJson/dialogflow_v2.json @@ -8327,7 +8327,7 @@ } } }, - "revision": "20231002", + "revision": "20231019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -14155,6 +14155,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -15139,6 +15154,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputAudioConfig": { "description": "Instructs the speech recognizer how to process the audio content.", "id": "GoogleCloudDialogflowV2InputAudioConfig", @@ -18154,6 +18192,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -18358,6 +18411,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Intent": { "description": "An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).", "id": "GoogleCloudDialogflowV2beta1Intent", diff --git a/DiscoveryJson/dialogflow_v2beta1.json b/DiscoveryJson/dialogflow_v2beta1.json index d4c234fd2fe..dc4b66d2834 100644 --- a/DiscoveryJson/dialogflow_v2beta1.json +++ b/DiscoveryJson/dialogflow_v2beta1.json @@ -7695,7 +7695,7 @@ } } }, - "revision": "20231002", + "revision": "20231019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -12461,6 +12461,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -12704,6 +12719,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputDataset": { "description": "InputDataset used to create model or do evaluation. NextID:5", "id": "GoogleCloudDialogflowV2InputDataset", @@ -15523,6 +15561,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -16397,6 +16450,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1InputAudioConfig": { "description": "Instructs the speech recognizer on how to process the audio content.", "id": "GoogleCloudDialogflowV2beta1InputAudioConfig", diff --git a/DiscoveryJson/dialogflow_v3.json b/DiscoveryJson/dialogflow_v3.json index 95dd6483dfb..448b29cb3fe 100644 --- a/DiscoveryJson/dialogflow_v3.json +++ b/DiscoveryJson/dialogflow_v3.json @@ -4126,7 +4126,7 @@ } } }, - "revision": "20231011", + "revision": "20231019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -11635,6 +11635,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -11878,6 +11893,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputDataset": { "description": "InputDataset used to create model or do evaluation. NextID:5", "id": "GoogleCloudDialogflowV2InputDataset", @@ -13577,6 +13615,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -13781,6 +13834,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Intent": { "description": "An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).", "id": "GoogleCloudDialogflowV2beta1Intent", diff --git a/DiscoveryJson/dialogflow_v3beta1.json b/DiscoveryJson/dialogflow_v3beta1.json index bd93f0f696b..78cd7bfdde6 100644 --- a/DiscoveryJson/dialogflow_v3beta1.json +++ b/DiscoveryJson/dialogflow_v3beta1.json @@ -4126,7 +4126,7 @@ } } }, - "revision": "20231011", + "revision": "20231019", "rootUrl": "https://dialogflow.googleapis.com/", "schemas": { "GoogleCloudDialogflowCxV3AdvancedSettings": { @@ -11635,6 +11635,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2EntityType", @@ -11878,6 +11893,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2InputDataset": { "description": "InputDataset used to create model or do evaluation. NextID:5", "id": "GoogleCloudDialogflowV2InputDataset", @@ -13577,6 +13615,21 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1EncryptionSpec": { + "description": "A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).", + "id": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "properties": { + "kmsKey": { + "description": "Required. The name of customer-managed encryption key that is used to secure a resource and its sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the same location as this resource is allowed to be used for encryption. Format: `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`", + "type": "string" + }, + "name": { + "description": "Immutable. The resource name of the encryption key specification resource. Format: projects/{project}/locations/{location}/encryptionSpec", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1EntityType": { "description": "Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).", "id": "GoogleCloudDialogflowV2beta1EntityType", @@ -13781,6 +13834,29 @@ }, "type": "object" }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata": { + "description": "Metadata for initializing a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata", + "properties": { + "request": { + "$ref": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "description": "Output only. The original request for initialization.", + "readOnly": true + } + }, + "type": "object" + }, + "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest": { + "description": "The request to initialize a location-level encryption specification.", + "id": "GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest", + "properties": { + "encryptionSpec": { + "$ref": "GoogleCloudDialogflowV2beta1EncryptionSpec", + "description": "Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the kms_key_name is left empty, no encryption will be enforced." + } + }, + "type": "object" + }, "GoogleCloudDialogflowV2beta1Intent": { "description": "An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).", "id": "GoogleCloudDialogflowV2beta1Intent", diff --git a/DiscoveryJson/domains_v1.json b/DiscoveryJson/domains_v1.json index 96c6865767e..742d63348f5 100644 --- a/DiscoveryJson/domains_v1.json +++ b/DiscoveryJson/domains_v1.json @@ -843,7 +843,7 @@ } } }, - "revision": "20230904", + "revision": "20231018", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1834,7 +1834,8 @@ "IMPORT_PENDING", "ACTIVE", "SUSPENDED", - "EXPORTED" + "EXPORTED", + "EXPIRED" ], "enumDescriptions": [ "The state is undefined.", @@ -1845,7 +1846,8 @@ "The domain is being imported from Google Domains to Cloud Domains.", "The domain is registered and operational. The domain renews automatically as long as it remains in this state.", "The domain is suspended and inoperative. For more details, see the `issues` field.", - "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains." + "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains.", + "The domain is expired." ], "readOnly": true, "type": "string" diff --git a/DiscoveryJson/domains_v1alpha2.json b/DiscoveryJson/domains_v1alpha2.json index 1759e3af81e..7794e2a470d 100644 --- a/DiscoveryJson/domains_v1alpha2.json +++ b/DiscoveryJson/domains_v1alpha2.json @@ -843,7 +843,7 @@ } } }, - "revision": "20230904", + "revision": "20231018", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1834,7 +1834,8 @@ "IMPORT_PENDING", "ACTIVE", "SUSPENDED", - "EXPORTED" + "EXPORTED", + "EXPIRED" ], "enumDescriptions": [ "The state is undefined.", @@ -1845,7 +1846,8 @@ "The domain is being imported from Google Domains to Cloud Domains.", "The domain is registered and operational. The domain renews automatically as long as it remains in this state.", "The domain is suspended and inoperative. For more details, see the `issues` field.", - "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains." + "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains.", + "The domain is expired." ], "readOnly": true, "type": "string" diff --git a/DiscoveryJson/domains_v1beta1.json b/DiscoveryJson/domains_v1beta1.json index b0bca4bee2a..538302bf796 100644 --- a/DiscoveryJson/domains_v1beta1.json +++ b/DiscoveryJson/domains_v1beta1.json @@ -843,7 +843,7 @@ } } }, - "revision": "20230904", + "revision": "20231018", "rootUrl": "https://domains.googleapis.com/", "schemas": { "AuditConfig": { @@ -1834,7 +1834,8 @@ "IMPORT_PENDING", "ACTIVE", "SUSPENDED", - "EXPORTED" + "EXPORTED", + "EXPIRED" ], "enumDescriptions": [ "The state is undefined.", @@ -1845,7 +1846,8 @@ "The domain is being imported from Google Domains to Cloud Domains.", "The domain is registered and operational. The domain renews automatically as long as it remains in this state.", "The domain is suspended and inoperative. For more details, see the `issues` field.", - "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains." + "The domain is no longer managed with Cloud Domains. It may have been transferred to another registrar or exported for management in [Google Domains](https://domains.google/). You can no longer update it with this API, and information shown about it may be stale. Domains in this state are not automatically renewed by Cloud Domains.", + "The domain is expired." ], "readOnly": true, "type": "string" diff --git a/DiscoveryJson/doubleclicksearch_v2.json b/DiscoveryJson/doubleclicksearch_v2.json index 7bac83bf35d..8adb2fc1d14 100644 --- a/DiscoveryJson/doubleclicksearch_v2.json +++ b/DiscoveryJson/doubleclicksearch_v2.json @@ -543,7 +543,7 @@ } } }, - "revision": "20221108", + "revision": "20231017", "rootUrl": "https://doubleclicksearch.googleapis.com/", "schemas": { "Availability": { @@ -619,6 +619,20 @@ "format": "int64", "type": "string" }, + "adUserDataConsent": { + "description": "Ad user data consent for this conversion.", + "enum": [ + "UNKNOWN", + "GRANTED", + "DENIED" + ], + "enumDescriptions": [ + "Not specified.", + "Granted.", + "Denied." + ], + "type": "string" + }, "advertiserId": { "description": "DS advertiser ID.", "format": "int64", diff --git a/DiscoveryJson/file_v1.json b/DiscoveryJson/file_v1.json index 4b0f8ed8929..604f78156ce 100644 --- a/DiscoveryJson/file_v1.json +++ b/DiscoveryJson/file_v1.json @@ -874,7 +874,7 @@ } } }, - "revision": "20230803", + "revision": "20231019", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -942,7 +942,8 @@ "BASIC_SSD", "HIGH_SCALE_SSD", "ENTERPRISE", - "ZONAL" + "ZONAL", + "REGIONAL" ], "enumDescriptions": [ "Not set.", @@ -952,7 +953,8 @@ "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.", "HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.", "ENTERPRISE instances offer the features and availability needed for mission-critical workloads.", - "ZONAL instances offer expanded capacity and performance scaling capabilities." + "ZONAL instances offer expanded capacity and performance scaling capabilities.", + "REGIONAL instances offer the features and availability needed for mission-critical workloads." ], "readOnly": true, "type": "string" @@ -1473,7 +1475,8 @@ "BASIC_SSD", "HIGH_SCALE_SSD", "ENTERPRISE", - "ZONAL" + "ZONAL", + "REGIONAL" ], "enumDescriptions": [ "Not set.", @@ -1483,7 +1486,8 @@ "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.", "HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.", "ENTERPRISE instances offer the features and availability needed for mission-critical workloads.", - "ZONAL instances offer expanded capacity and performance scaling capabilities." + "ZONAL instances offer expanded capacity and performance scaling capabilities.", + "REGIONAL instances offer the features and availability needed for mission-critical workloads." ], "type": "string" } diff --git a/DiscoveryJson/file_v1beta1.json b/DiscoveryJson/file_v1beta1.json index 8d8b4679cc2..c94430f06fd 100644 --- a/DiscoveryJson/file_v1beta1.json +++ b/DiscoveryJson/file_v1beta1.json @@ -1041,7 +1041,7 @@ } } }, - "revision": "20230803", + "revision": "20231019", "rootUrl": "https://file.googleapis.com/", "schemas": { "Backup": { @@ -1109,7 +1109,8 @@ "BASIC_SSD", "HIGH_SCALE_SSD", "ENTERPRISE", - "ZONAL" + "ZONAL", + "REGIONAL" ], "enumDescriptions": [ "Not set.", @@ -1119,7 +1120,8 @@ "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.", "HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.", "ENTERPRISE instances offer the features and availability needed for mission-critical workloads.", - "ZONAL instances offer expanded capacity and performance scaling capabilities." + "ZONAL instances offer expanded capacity and performance scaling capabilities.", + "REGIONAL instances offer the features and availability needed for mission-critical workloads." ], "readOnly": true, "type": "string" @@ -1695,7 +1697,8 @@ "BASIC_SSD", "HIGH_SCALE_SSD", "ENTERPRISE", - "ZONAL" + "ZONAL", + "REGIONAL" ], "enumDescriptions": [ "Not set.", @@ -1705,7 +1708,8 @@ "BASIC instances offer a maximum capacity of 63.9 TB. BASIC_SSD is an alias for PREMIUM Tier, and offers improved performance backed by SSD.", "HIGH_SCALE instances offer expanded capacity and performance scaling capabilities.", "ENTERPRISE instances offer the features and availability needed for mission-critical workloads.", - "ZONAL instances offer expanded capacity and performance scaling capabilities." + "ZONAL instances offer expanded capacity and performance scaling capabilities.", + "REGIONAL instances offer the features and availability needed for mission-critical workloads." ], "type": "string" } diff --git a/DiscoveryJson/gmail_v1.json b/DiscoveryJson/gmail_v1.json index bfa7a4f2596..46ad02be62c 100644 --- a/DiscoveryJson/gmail_v1.json +++ b/DiscoveryJson/gmail_v1.json @@ -3077,7 +3077,7 @@ } } }, - "revision": "20231002", + "revision": "20231023", "rootUrl": "https://gmail.googleapis.com/", "schemas": { "AutoForwarding": { @@ -3233,6 +3233,10 @@ "description": "Metadata for a private key instance.", "id": "CsePrivateKeyMetadata", "properties": { + "hardwareKeyMetadata": { + "$ref": "HardwareKeyMetadata", + "description": "Metadata for hardware keys." + }, "kaclsKeyMetadata": { "$ref": "KaclsKeyMetadata", "description": "Metadata for a private key instance managed by an external key access control list service." @@ -3429,6 +3433,17 @@ }, "type": "object" }, + "HardwareKeyMetadata": { + "description": "Metadata for hardware keys.", + "id": "HardwareKeyMetadata", + "properties": { + "description": { + "description": "Description about the hardware key.", + "type": "string" + } + }, + "type": "object" + }, "History": { "description": "A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.", "id": "History", diff --git a/DiscoveryJson/notebooks_v1.json b/DiscoveryJson/notebooks_v1.json index 3fefa128be3..a6cbaf04cc4 100644 --- a/DiscoveryJson/notebooks_v1.json +++ b/DiscoveryJson/notebooks_v1.json @@ -2008,7 +2008,7 @@ } } }, - "revision": "20231003", + "revision": "20231019", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -2707,7 +2707,7 @@ "additionalProperties": { "type": "string" }, - "description": "Custom metadata to apply to this instance.", + "description": "Custom metadata to apply to this instance. For example, to specify a Cloud Storage bucket for automatic backup, you can use the `gcs-data-bucket` metadata tag. Format: `\"--metadata=gcs-data-bucket=``BUCKET''\"`.", "type": "object" }, "migrated": { diff --git a/DiscoveryJson/places_v1.json b/DiscoveryJson/places_v1.json index f0ce5b81e88..bd35814e174 100644 --- a/DiscoveryJson/places_v1.json +++ b/DiscoveryJson/places_v1.json @@ -8,6 +8,12 @@ "https://www.googleapis.com/auth/maps-platform.places": { "description": "Private Service: https://www.googleapis.com/auth/maps-platform.places" }, + "https://www.googleapis.com/auth/maps-platform.places.details": { + "description": "Private Service: https://www.googleapis.com/auth/maps-platform.places.details" + }, + "https://www.googleapis.com/auth/maps-platform.places.nearbysearch": { + "description": "Private Service: https://www.googleapis.com/auth/maps-platform.places.nearbysearch" + }, "https://www.googleapis.com/auth/maps-platform.places.textsearch": { "description": "Private Service: https://www.googleapis.com/auth/maps-platform.places.textsearch" } @@ -113,6 +119,63 @@ "resources": { "places": { "methods": { + "get": { + "description": "Get a Place with a place id (in a name) string.", + "flatPath": "v1/places/{placesId}", + "httpMethod": "GET", + "id": "places.places.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "languageCode": { + "description": "Optional. Place details will be displayed with the preferred language if available. Current list of supported languages: https://developers.google.com/maps/faq#languagesupport.", + "location": "query", + "type": "string" + }, + "name": { + "description": "Required. A place ID returned in a Place (with \"places/\" prefix), or equivalently the name in the same Place. Format: places/place_id.", + "location": "path", + "pattern": "^places/[^/]+$", + "required": true, + "type": "string" + }, + "regionCode": { + "description": "Optional. The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that 3-digit region codes are not currently supported.", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleMapsPlacesV1Place" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/maps-platform.places", + "https://www.googleapis.com/auth/maps-platform.places.details" + ] + }, + "searchNearby": { + "description": "Search for places near locations.", + "flatPath": "v1/places:searchNearby", + "httpMethod": "POST", + "id": "places.places.searchNearby", + "parameterOrder": [], + "parameters": {}, + "path": "v1/places:searchNearby", + "request": { + "$ref": "GoogleMapsPlacesV1SearchNearbyRequest" + }, + "response": { + "$ref": "GoogleMapsPlacesV1SearchNearbyResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/maps-platform.places", + "https://www.googleapis.com/auth/maps-platform.places.nearbysearch" + ] + }, "searchText": { "description": "Text query based place search.", "flatPath": "v1/places:searchText", @@ -133,10 +196,59 @@ "https://www.googleapis.com/auth/maps-platform.places.textsearch" ] } + }, + "resources": { + "photos": { + "methods": { + "getMedia": { + "description": "Get a photo media with a photo reference string.", + "flatPath": "v1/places/{placesId}/photos/{photosId}/media", + "httpMethod": "GET", + "id": "places.places.photos.getMedia", + "parameterOrder": [ + "name" + ], + "parameters": { + "maxHeightPx": { + "description": "Optional. Specifies the maximum desired height, in pixels, of the image. If the image is smaller than the values specified, the original image will be returned. If the image is larger in either dimension, it will be scaled to match the smaller of the two dimensions, restricted to its original aspect ratio. Both the max_height_px and max_width_px properties accept an integer between 1 and 4800, inclusively. If the value is not within the allowed range, an INVALID_ARGUMENT error will be returned. At least one of max_height_px or max_width_px needs to be specified. If neither max_height_px nor max_width_px is specified, an INVALID_ARGUMENT error will be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "maxWidthPx": { + "description": "Optional. Specifies the maximum desired width, in pixels, of the image. If the image is smaller than the values specified, the original image will be returned. If the image is larger in either dimension, it will be scaled to match the smaller of the two dimensions, restricted to its original aspect ratio. Both the max_height_px and max_width_px properties accept an integer between 1 and 4800, inclusively. If the value is not within the allowed range, an INVALID_ARGUMENT error will be returned. At least one of max_height_px or max_width_px needs to be specified. If neither max_height_px nor max_width_px is specified, an INVALID_ARGUMENT error will be returned.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "name": { + "description": "Required. The resource name of a photo as returned in a Place object's photos.name field. Format: places/place_id/photos/photo_reference.", + "location": "path", + "pattern": "^places/[^/]+/photos/[^/]+/media$", + "required": true, + "type": "string" + }, + "skipHttpRedirect": { + "description": "Optional. If set, skip the default HTTP redirect behavior and render a text format (for example, in JSON format for HTTP use case) response. If not set, an HTTP redirect will be issued to redirect the call to the image midea. This option is ignored for non-HTTP requests.", + "location": "query", + "type": "boolean" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleMapsPlacesV1PhotoMedia" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/maps-platform.places" + ] + } + } + } } } }, - "revision": "20231017", + "revision": "20231024", "rootUrl": "https://places.googleapis.com/", "schemas": { "GoogleGeoTypeViewport": { @@ -159,18 +271,15 @@ "id": "GoogleMapsPlacesV1AuthorAttribution", "properties": { "displayName": { - "description": "Output only. Name of the author of the Photo or Review.", - "readOnly": true, + "description": "Name of the author of the Photo or Review.", "type": "string" }, "photoUri": { - "description": "Output only. Profile photo URI of the author of the Photo or Review.", - "readOnly": true, + "description": "Profile photo URI of the author of the Photo or Review.", "type": "string" }, "uri": { - "description": "Output only. URI of the author of the Photo or Review.", - "readOnly": true, + "description": "URI of the author of the Photo or Review.", "type": "string" } }, @@ -192,6 +301,204 @@ }, "type": "object" }, + "GoogleMapsPlacesV1EVChargeOptions": { + "description": "Information about the EV Charge Station hosted in Place. Terminology follows https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port has one or more connectors. One station has one or more ports.", + "id": "GoogleMapsPlacesV1EVChargeOptions", + "properties": { + "connectorAggregation": { + "description": "A list of EV charging connector aggregations that contain connectors of the same type and same charge rate.", + "items": { + "$ref": "GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation" + }, + "type": "array" + }, + "connectorCount": { + "description": "Number of connectors at this station. However, because some ports can have multiple connectors but only be able to charge one car at a time (e.g.) the number of connectors may be greater than the total number of cars which can charge simultaneously.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation": { + "description": "EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that have the same type and max charge rate in kw.", + "id": "GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation", + "properties": { + "availabilityLastUpdateTime": { + "description": "The timestamp when the connector availability information in this aggregation was last updated.", + "format": "google-datetime", + "type": "string" + }, + "availableCount": { + "description": "Number of connectors in this aggregation that are currently available.", + "format": "int32", + "type": "integer" + }, + "count": { + "description": "Number of connectors in this aggregation.", + "format": "int32", + "type": "integer" + }, + "maxChargeRateKw": { + "description": "The static max charging rate in kw of each connector in the aggregation.", + "format": "double", + "type": "number" + }, + "outOfServiceCount": { + "description": "Number of connectors in this aggregation that are currently out of service.", + "format": "int32", + "type": "integer" + }, + "type": { + "description": "The connector type of this aggregation.", + "enum": [ + "EV_CONNECTOR_TYPE_UNSPECIFIED", + "EV_CONNECTOR_TYPE_OTHER", + "EV_CONNECTOR_TYPE_J1772", + "EV_CONNECTOR_TYPE_TYPE_2", + "EV_CONNECTOR_TYPE_CHADEMO", + "EV_CONNECTOR_TYPE_CCS_COMBO_1", + "EV_CONNECTOR_TYPE_CCS_COMBO_2", + "EV_CONNECTOR_TYPE_TESLA", + "EV_CONNECTOR_TYPE_UNSPECIFIED_GB_T", + "EV_CONNECTOR_TYPE_UNSPECIFIED_WALL_OUTLET" + ], + "enumDescriptions": [ + "Unspecified connector.", + "Other connector types.", + "J1772 type 1 connector.", + "IEC 62196 type 2 connector. Often referred to as MENNEKES.", + "CHAdeMO type connector.", + "Combined Charging System (AC and DC). Based on SAE. Type-1 J-1772 connector", + "Combined Charging System (AC and DC). Based on Type-2 Mennekes connector", + "The generic TESLA connector. This is NACS in the North America but can be non-NACS in other parts of the world (e.g. CCS Combo 2 (CCS2) or GB/T). This value is less representative of an actual connector type, and more represents the ability to charge a Tesla brand vehicle at a Tesla owned charging station.", + "GB/T type corresponds to the GB/T standard in China. This type covers all GB_T types.", + "Unspecified wall outlet." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1FuelOptions": { + "description": "The most recent information about fuel options in a gas station. This information is updated regularly.", + "id": "GoogleMapsPlacesV1FuelOptions", + "properties": { + "fuelPrices": { + "description": "The last known fuel price for each type of fuel this station has. There is one entry per fuel type this station has. Order is not important.", + "items": { + "$ref": "GoogleMapsPlacesV1FuelOptionsFuelPrice" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1FuelOptionsFuelPrice": { + "description": "Fuel price information for a given type.", + "id": "GoogleMapsPlacesV1FuelOptionsFuelPrice", + "properties": { + "price": { + "$ref": "GoogleTypeMoney", + "description": "The price of the fuel." + }, + "type": { + "description": "The type of fuel.", + "enum": [ + "FUEL_TYPE_UNSPECIFIED", + "DIESEL", + "REGULAR_UNLEADED", + "MIDGRADE", + "PREMIUM", + "SP91", + "SP91_E10", + "SP92", + "SP95", + "SP95_E10", + "SP98", + "SP99", + "SP100", + "LPG", + "E80", + "E85", + "METHANE", + "BIO_DIESEL", + "TRUCK_DIESEL" + ], + "enumDescriptions": [ + "Unspecified fuel type.", + "Diesel fuel.", + "Regular unleaded.", + "Midgrade.", + "Premium.", + "SP 91.", + "SP 91 E10.", + "SP 92.", + "SP 95.", + "SP95 E10.", + "SP 98.", + "SP 99.", + "SP 100.", + "LPG.", + "E 80.", + "E 85.", + "Methane.", + "Bio-diesel.", + "Truck diesel." + ], + "type": "string" + }, + "updateTime": { + "description": "The time the fuel price was last updated.", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1Photo": { + "description": "Information about a photo of a place.", + "id": "GoogleMapsPlacesV1Photo", + "properties": { + "authorAttributions": { + "description": "This photo's authors.", + "items": { + "$ref": "GoogleMapsPlacesV1AuthorAttribution" + }, + "type": "array" + }, + "heightPx": { + "description": "The maximum available height, in pixels.", + "format": "int32", + "type": "integer" + }, + "name": { + "description": "Identifier. A reference representing this place photo which may be used to look up this place photo again (a.k.a. the API \"resource\" name: places/{place_id}/photos/{photo}).", + "type": "string" + }, + "widthPx": { + "description": "The maximum available width, in pixels.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1PhotoMedia": { + "description": "A photo media from Places API.", + "id": "GoogleMapsPlacesV1PhotoMedia", + "properties": { + "name": { + "description": "The resource name of a photo in the format: places/place_id/photos/photo_reference.", + "type": "string" + }, + "photoUri": { + "description": "A short-lived uri that can be used to render the photo.", + "type": "string" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1Place": { "description": "All the information representing a Place.", "id": "GoogleMapsPlacesV1Place", @@ -211,6 +518,10 @@ "description": "The place's address in adr microformat: http://microformats.org/wiki/adr.", "type": "string" }, + "allowsDogs": { + "description": "Place allows dogs.", + "type": "boolean" + }, "attributions": { "description": "A set of data provider that must be shown with this result.", "items": { @@ -265,10 +576,30 @@ "$ref": "GoogleTypeLocalizedText", "description": "Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered." }, + "evChargeOptions": { + "$ref": "GoogleMapsPlacesV1EVChargeOptions", + "description": "Information of ev charging options." + }, "formattedAddress": { "description": "A full, human-readable address for this place.", "type": "string" }, + "fuelOptions": { + "$ref": "GoogleMapsPlacesV1FuelOptions", + "description": "The most recent information about fuel options in a gas station. This information is updated regularly." + }, + "goodForChildren": { + "description": "Place is good for children.", + "type": "boolean" + }, + "goodForGroups": { + "description": "Place accommodates groups.", + "type": "boolean" + }, + "goodForWatchingSports": { + "description": "Place is suitable for watching sports.", + "type": "boolean" + }, "googleMapsUri": { "description": "A URL providing more information about this place.", "type": "string" @@ -289,10 +620,18 @@ "description": "A human-readable phone number for the place, in international format.", "type": "string" }, + "liveMusic": { + "description": "Place provides live music.", + "type": "boolean" + }, "location": { "$ref": "GoogleTypeLatLng", "description": "The position of this place." }, + "menuForChildren": { + "description": "Place has a children's menu.", + "type": "boolean" + }, "name": { "description": "An ID representing this place which may be used to look up this place again (a.k.a. the API \"resource\" name: places/place_id).", "type": "string" @@ -301,6 +640,25 @@ "description": "A human-readable phone number for the place, in national format.", "type": "string" }, + "outdoorSeating": { + "description": "Place provides outdoor seating.", + "type": "boolean" + }, + "parkingOptions": { + "$ref": "GoogleMapsPlacesV1PlaceParkingOptions", + "description": "Options of parking provided by the place." + }, + "paymentOptions": { + "$ref": "GoogleMapsPlacesV1PlacePaymentOptions", + "description": "Payment options the place accepts. If a payment option data is not available, the payment option field will be unset." + }, + "photos": { + "description": "Information (including references) about photos of this place.", + "items": { + "$ref": "GoogleMapsPlacesV1Photo" + }, + "type": "array" + }, "plusCode": { "$ref": "GoogleMapsPlacesV1PlacePlusCode", "description": "Plus code of the place location lat/long." @@ -325,6 +683,14 @@ ], "type": "string" }, + "primaryType": { + "description": "The primary type of the given result. This type must one of the Places API supported types. For example, \"restaurant\", \"cafe\", \"airport\", etc. A place can only have a single primary type. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types", + "type": "string" + }, + "primaryTypeDisplayName": { + "$ref": "GoogleTypeLocalizedText", + "description": "The display name of the primary type, localized to the request language if applicable. For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types" + }, "rating": { "description": "A rating between 1.0 and 5.0, based on user reviews of this place.", "format": "double", @@ -345,8 +711,12 @@ "description": "Specifies if the place supports reservations.", "type": "boolean" }, + "restroom": { + "description": "Place has restroom.", + "type": "boolean" + }, "reviews": { - "description": "List of reviews about this place.", + "description": "List of reviews about this place, sorted by relevance.", "items": { "$ref": "GoogleMapsPlacesV1Review" }, @@ -364,6 +734,18 @@ "description": "Specifies if the place serves brunch.", "type": "boolean" }, + "servesCocktails": { + "description": "Place serves cocktails.", + "type": "boolean" + }, + "servesCoffee": { + "description": "Place serves coffee.", + "type": "boolean" + }, + "servesDessert": { + "description": "Place serves dessert.", + "type": "boolean" + }, "servesDinner": { "description": "Specifies if the place serves dinner.", "type": "boolean" @@ -380,12 +762,23 @@ "description": "Specifies if the place serves wine.", "type": "boolean" }, + "shortFormattedAddress": { + "description": "A short, human-readable address for this place.", + "type": "string" + }, + "subDestinations": { + "description": "A list of sub destinations related to the place.", + "items": { + "$ref": "GoogleMapsPlacesV1PlaceSubDestination" + }, + "type": "array" + }, "takeout": { "description": "Specifies if the business supports takeout.", "type": "boolean" }, "types": { - "description": "A set of type tags for this result. For example, \"political\" and \"locality\". See: https://developers.google.com/maps/documentation/places/web-service/place-types", + "description": "A set of type tags for this result. For example, \"political\" and \"locality\". For the complete list of possible values, see Table A and Table B at https://developers.google.com/maps/documentation/places/web-service/place-types", "items": { "type": "string" }, @@ -419,6 +812,18 @@ "wheelchairAccessibleEntrance": { "description": "Places has wheelchair accessible entrance.", "type": "boolean" + }, + "wheelchairAccessibleParking": { + "description": "Place offers wheelchair accessible parking.", + "type": "boolean" + }, + "wheelchairAccessibleRestroom": { + "description": "Place has wheelchair accessible restroom.", + "type": "boolean" + }, + "wheelchairAccessibleSeating": { + "description": "Place has wheelchair accessible seating.", + "type": "boolean" } }, "type": "object" @@ -588,6 +993,64 @@ }, "type": "object" }, + "GoogleMapsPlacesV1PlaceParkingOptions": { + "description": "Information about parking options for the place. A parking lot could support more than one option at the same time.", + "id": "GoogleMapsPlacesV1PlaceParkingOptions", + "properties": { + "freeGarageParking": { + "description": "Place offers free garage parking.", + "type": "boolean" + }, + "freeParkingLot": { + "description": "Place offers free parking lots.", + "type": "boolean" + }, + "freeStreetParking": { + "description": "Place offers free street parking.", + "type": "boolean" + }, + "paidGarageParking": { + "description": "Place offers paid garage parking.", + "type": "boolean" + }, + "paidParkingLot": { + "description": "Place offers paid parking lots.", + "type": "boolean" + }, + "paidStreetParking": { + "description": "Place offers paid street parking.", + "type": "boolean" + }, + "valetParking": { + "description": "Place offers valet parking.", + "type": "boolean" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1PlacePaymentOptions": { + "description": "Payment options the place accepts.", + "id": "GoogleMapsPlacesV1PlacePaymentOptions", + "properties": { + "acceptsCashOnly": { + "description": "Place accepts cash only as payment. Places with this attribute may still accept other payment methods.", + "type": "boolean" + }, + "acceptsCreditCards": { + "description": "Place accepts credit cards as payment.", + "type": "boolean" + }, + "acceptsDebitCards": { + "description": "Place accepts debit cards as payment.", + "type": "boolean" + }, + "acceptsNfc": { + "description": "Place accepts NFC payments.", + "type": "boolean" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1PlacePlusCode": { "description": "Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.", "id": "GoogleMapsPlacesV1PlacePlusCode", @@ -603,41 +1066,145 @@ }, "type": "object" }, + "GoogleMapsPlacesV1PlaceSubDestination": { + "description": "Place resource name and id of sub destinations that relate to the place. For example, different terminals are different destinations of an airport.", + "id": "GoogleMapsPlacesV1PlaceSubDestination", + "properties": { + "id": { + "description": "The place id of the sub destination.", + "type": "string" + }, + "name": { + "description": "The resource name of the sub destination.", + "type": "string" + } + }, + "type": "object" + }, "GoogleMapsPlacesV1Review": { "description": "Information about a review of a place.", "id": "GoogleMapsPlacesV1Review", "properties": { "authorAttribution": { "$ref": "GoogleMapsPlacesV1AuthorAttribution", - "description": "Output only. This review's author.", - "readOnly": true + "description": "This review's author." + }, + "name": { + "description": "A reference representing this place review which may be used to look up this place review again (also called the API \"resource\" name: places/place_id/reviews/review).", + "type": "string" }, "originalText": { "$ref": "GoogleTypeLocalizedText", - "description": "Output only. The review text in its original language.", - "readOnly": true + "description": "The review text in its original language." }, "publishTime": { - "description": "Output only. Timestamp for the review.", + "description": "Timestamp for the review.", "format": "google-datetime", - "readOnly": true, "type": "string" }, "rating": { - "description": "Output only. A number between 1.0 and 5.0, a.k.a. the number of stars.", + "description": "A number between 1.0 and 5.0, also called the number of stars.", "format": "double", - "readOnly": true, "type": "number" }, "relativePublishTimeDescription": { - "description": "Output only. A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.", - "readOnly": true, + "description": "A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.", "type": "string" }, "text": { "$ref": "GoogleTypeLocalizedText", - "description": "Output only. The localized text of the review.", - "readOnly": true + "description": "The localized text of the review." + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1SearchNearbyRequest": { + "description": "Request proto for Search Nearby. ", + "id": "GoogleMapsPlacesV1SearchNearbyRequest", + "properties": { + "excludedPrimaryTypes": { + "description": "Excluded primary Place type (e.g. \"restaurant\" or \"gas_station\") from https://developers.google.com/maps/documentation/places/web-service/place-types. If there are any conflicting primary types, i.e. a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [\"restaurant\"], excluded_primary_types = [\"restaurant\"]}, the returned places provide \"restaurant\" related services but do not operate primarily as \"restaurants\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "excludedTypes": { + "description": "Excluded Place type (eg, \"restaurant\" or \"gas_station\") from https://developers.google.com/maps/documentation/places/web-service/place-types. If the client provides both included_types (e.g. restaurant) and excluded_types (e.g. cafe), then the response should include places that are restaurant but not cafe. The response includes places that match at least one of the included_types and none of the excluded_types. If there are any conflicting types, i.e. a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [\"restaurant\"], excluded_primary_types = [\"restaurant\"]}, the returned places provide \"restaurant\" related services but do not operate primarily as \"restaurants\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "includedPrimaryTypes": { + "description": "Included primary Place type (e.g. \"restaurant\" or \"gas_station\") from https://developers.google.com/maps/documentation/places/web-service/place-types. A place can only have a single primary type from the supported types table associated with it. If there are any conflicting primary types, i.e. a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [\"restaurant\"], excluded_primary_types = [\"restaurant\"]}, the returned places provide \"restaurant\" related services but do not operate primarily as \"restaurants\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "includedTypes": { + "description": "Included Place type (eg, \"restaurant\" or \"gas_station\") from https://developers.google.com/maps/documentation/places/web-service/place-types. If there are any conflicting types, i.e. a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if we have {included_types = [\"restaurant\"], excluded_primary_types = [\"restaurant\"]}, the returned places provide \"restaurant\" related services but do not operate primarily as \"restaurants\".", + "items": { + "type": "string" + }, + "type": "array" + }, + "languageCode": { + "description": "Place details will be displayed with the preferred language if available. If the language code is unspecified or unrecognized, place details of any language may be returned, with a preference for English if such details exist. Current list of supported languages: https://developers.google.com/maps/faq#languagesupport.", + "type": "string" + }, + "locationRestriction": { + "$ref": "GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction", + "description": "Required. The region to search." + }, + "maxResultCount": { + "description": "Maximum number of results to return. It must be between 1 and 20 (default), inclusively. If the number is unset, it falls back to the upper limit. If the number is set to negative or exceeds the upper limit, an INVALID_ARGUMENT error is returned.", + "format": "int32", + "type": "integer" + }, + "rankPreference": { + "description": "How results will be ranked in the response.", + "enum": [ + "RANK_PREFERENCE_UNSPECIFIED", + "DISTANCE", + "POPULARITY" + ], + "enumDescriptions": [ + "RankPreference value not set. Will use rank by POPULARITY by default.", + "Ranks results by distance.", + "Ranks results by popularity." + ], + "type": "string" + }, + "regionCode": { + "description": "The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that 3-digit region codes are not currently supported.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction": { + "description": "The region to search.", + "id": "GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction", + "properties": { + "circle": { + "$ref": "GoogleMapsPlacesV1Circle", + "description": "A circle defined by center point and radius." + } + }, + "type": "object" + }, + "GoogleMapsPlacesV1SearchNearbyResponse": { + "description": "Response proto for Search Nearby. ", + "id": "GoogleMapsPlacesV1SearchNearbyResponse", + "properties": { + "places": { + "description": "A list of places that meets user's requirements like places types, number of places and specific location restriction.", + "items": { + "$ref": "GoogleMapsPlacesV1Place" + }, + "type": "array" } }, "type": "object" @@ -714,7 +1281,7 @@ "type": "string" }, "regionCode": { - "description": "The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag. Note that 3-digit region codes are not currently supported.", + "description": "The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is used to display the place details, like region-specific place name, if available. The parameter can affect results based on applicable law. For more information, see https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that 3-digit region codes are not currently supported.", "type": "string" }, "strictTypeFiltering": { @@ -821,6 +1388,27 @@ } }, "type": "object" + }, + "GoogleTypeMoney": { + "description": "Represents an amount of money with its currency type.", + "id": "GoogleTypeMoney", + "properties": { + "currencyCode": { + "description": "The three-letter currency code defined in ISO 4217.", + "type": "string" + }, + "nanos": { + "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.", + "format": "int32", + "type": "integer" + }, + "units": { + "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.", + "format": "int64", + "type": "string" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/pubsub_v1.json b/DiscoveryJson/pubsub_v1.json index bc4435fe06e..1cc83498d73 100644 --- a/DiscoveryJson/pubsub_v1.json +++ b/DiscoveryJson/pubsub_v1.json @@ -164,7 +164,7 @@ "type": "string" }, "schemaId": { - "description": "The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.", + "description": "The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints.", "location": "query", "type": "string" } @@ -566,7 +566,7 @@ "snapshots": { "methods": { "create": { - "description": "Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.", + "description": "Creates a snapshot from the requested subscription. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. If the snapshot already exists, returns `ALREADY_EXISTS`. If the requested subscription doesn't exist, returns `NOT_FOUND`. If the backlog in the subscription is too old -- and the resulting snapshot would expire in less than 1 hour -- then `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Snapshot object. Note that for REST API requests, you must specify a name in the request.", "flatPath": "v1/projects/{projectsId}/snapshots/{snapshotsId}", "httpMethod": "PUT", "id": "pubsub.projects.snapshots.create", @@ -575,7 +575,7 @@ ], "parameters": { "name": { - "description": "Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the [resource name rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format is `projects/{project}/snapshots/{snap}`.", + "description": "Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is `projects/{project}/snapshots/{snap}`.", "location": "path", "pattern": "^projects/[^/]+/snapshots/[^/]+$", "required": true, @@ -836,7 +836,7 @@ ] }, "create": { - "description": "Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.", + "description": "Creates a subscription to a given topic. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic, conforming to the [resource name format] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in the returned Subscription object. Note that for REST API requests, you must specify a name in the request.", "flatPath": "v1/projects/{projectsId}/subscriptions/{subscriptionsId}", "httpMethod": "PUT", "id": "pubsub.projects.subscriptions.create", @@ -1219,7 +1219,7 @@ "topics": { "methods": { "create": { - "description": "Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/admin#resource_names).", + "description": "Creates the given topic with the given name. See the [resource name rules] (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).", "flatPath": "v1/projects/{projectsId}/topics/{topicsId}", "httpMethod": "PUT", "id": "pubsub.projects.topics.create", @@ -1573,7 +1573,7 @@ } } }, - "revision": "20231010", + "revision": "20231019", "rootUrl": "https://pubsub.googleapis.com/", "schemas": { "AcknowledgeRequest": { @@ -1946,7 +1946,7 @@ "id": "MessageStoragePolicy", "properties": { "allowedPersistenceRegions": { - "description": "Optional. A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.", + "description": "Optional. A list of IDs of Google Cloud regions where messages that are published to the topic may be persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or running outside of Google Cloud altogether) are routed for storage in one of the allowed regions. An empty list means that no regions are allowed, and is not a valid configuration.", "items": { "type": "string" }, diff --git a/DiscoveryJson/recaptchaenterprise_v1.json b/DiscoveryJson/recaptchaenterprise_v1.json index 8db01c752e8..f93354520db 100644 --- a/DiscoveryJson/recaptchaenterprise_v1.json +++ b/DiscoveryJson/recaptchaenterprise_v1.json @@ -666,7 +666,7 @@ } } }, - "revision": "20231015", + "revision": "20231022", "rootUrl": "https://recaptchaenterprise.googleapis.com/", "schemas": { "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": { @@ -776,6 +776,10 @@ "description": "The request message to annotate an Assessment.", "id": "GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest", "properties": { + "accountId": { + "description": "Optional. A stable account identifier to apply to the assessment. This is an alternative to setting `account_id` in `CreateAssessment`, for example when a stable account identifier is not yet known in the initial request.", + "type": "string" + }, "annotation": { "description": "Optional. The annotation that will be assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent.", "enum": [ @@ -802,7 +806,7 @@ "type": "string" }, "hashedAccountId": { - "description": "Optional. Unique stable hashed user identifier to apply to the assessment. This is an alternative to setting the hashed_account_id in CreateAssessment, for example when the account identifier is not yet known in the initial request. It is recommended that the identifier is hashed using hmac-sha256 with stable secret.", + "description": "Optional. A stable hashed account identifier to apply to the assessment. This is an alternative to setting `hashed_account_id` in `CreateAssessment`, for example when a stable account identifier is not yet known in the initial request.", "format": "byte", "type": "string" }, @@ -885,7 +889,7 @@ "properties": { "accountDefenderAssessment": { "$ref": "GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment", - "description": "Output only. Assessment returned by account defender when a hashed_account_id is provided.", + "description": "Output only. Assessment returned by account defender when an account identifier is provided.", "readOnly": true }, "accountVerification": { @@ -1003,7 +1007,8 @@ "type": "boolean" }, "hashedAccountId": { - "description": "Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.", + "deprecated": true, + "description": "Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.", "format": "byte", "type": "string" }, @@ -1038,6 +1043,10 @@ "description": "Optional. The user agent present in the request from the user's device related to this event.", "type": "string" }, + "userInfo": { + "$ref": "GoogleCloudRecaptchaenterpriseV1UserInfo", + "description": "Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout." + }, "userIpAddress": { "description": "Optional. The IP address in the request from the user's device related to this event.", "type": "string" @@ -2007,6 +2016,48 @@ }, "type": "object" }, + "GoogleCloudRecaptchaenterpriseV1UserId": { + "description": "An identifier associated with a user.", + "id": "GoogleCloudRecaptchaenterpriseV1UserId", + "properties": { + "email": { + "description": "Optional. An email address.", + "type": "string" + }, + "phoneNumber": { + "description": "Optional. A phone number. Should use the E.164 format.", + "type": "string" + }, + "username": { + "description": "Optional. A unique username, if different from all the other identifiers and `account_id` that are provided. Can be a unique login handle or display name for a user.", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudRecaptchaenterpriseV1UserInfo": { + "description": "User information associated with a request protected by reCAPTCHA Enterprise.", + "id": "GoogleCloudRecaptchaenterpriseV1UserInfo", + "properties": { + "accountId": { + "description": "Optional. For logged-in requests or login/registration requests, the unique account identifier associated with this user. You can use the username if it is stable (meaning it is the same for every request associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions or guest checkout.", + "type": "string" + }, + "createAccountTime": { + "description": "Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, guest checkout, or when there is no account associated with the current user.", + "format": "google-datetime", + "type": "string" + }, + "userIds": { + "description": "Optional. Identifiers associated with this user or request.", + "items": { + "$ref": "GoogleCloudRecaptchaenterpriseV1UserId" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudRecaptchaenterpriseV1WafSettings": { "description": "Settings specific to keys that can be used for WAF (Web Application Firewall).", "id": "GoogleCloudRecaptchaenterpriseV1WafSettings", diff --git a/DiscoveryJson/run_v1.json b/DiscoveryJson/run_v1.json index 981012ec6e6..16e5e5b2699 100644 --- a/DiscoveryJson/run_v1.json +++ b/DiscoveryJson/run_v1.json @@ -2289,7 +2289,7 @@ } } }, - "revision": "20231008", + "revision": "20231022", "rootUrl": "https://run.googleapis.com/", "schemas": { "Addressable": { @@ -3590,7 +3590,7 @@ "additionalProperties": { "type": "string" }, - "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/disable-default-url`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.", + "description": "Unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. In Cloud Run, annotations with 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, and the accepted annotations will be different depending on the resource type. * `autoscaling.knative.dev/maxScale`: Revision. * `autoscaling.knative.dev/minScale`: Revision. * `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job, Execution. * `run.googleapis.com/client-name`: All resources. * `run.googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`: Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.com/description`: Service. * `run.googleapis.com/disable-default-url`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`: Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution.", "type": "object" }, "clusterName": { diff --git a/DiscoveryJson/run_v2.json b/DiscoveryJson/run_v2.json index 56efd99bc80..744c3fbc091 100644 --- a/DiscoveryJson/run_v2.json +++ b/DiscoveryJson/run_v2.json @@ -1115,7 +1115,7 @@ } } }, - "revision": "20231008", + "revision": "20231022", "rootUrl": "https://run.googleapis.com/", "schemas": { "GoogleCloudRunV2BinaryAuthorization": { @@ -2661,6 +2661,10 @@ "readOnly": true, "type": "boolean" }, + "scaling": { + "$ref": "GoogleCloudRunV2ServiceScaling", + "description": "Optional. Specifies service-level scaling settings" + }, "template": { "$ref": "GoogleCloudRunV2RevisionTemplate", "description": "Required. The template used to create revisions for this Service." @@ -2704,6 +2708,18 @@ }, "type": "object" }, + "GoogleCloudRunV2ServiceScaling": { + "description": "Scaling settings that apply to the service as a whole rather than the individual revision.", + "id": "GoogleCloudRunV2ServiceScaling", + "properties": { + "minInstanceCount": { + "description": "total min instances for the service. This number of instances will be divide among all revisions with specified traffic based on the percent of traffic they are receiving. (ALPHA)", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "GoogleCloudRunV2TCPSocketAction": { "description": "TCPSocketAction describes an action based on opening a socket", "id": "GoogleCloudRunV2TCPSocketAction", diff --git a/DiscoveryJson/securitycenter_v1.json b/DiscoveryJson/securitycenter_v1.json index 6d95a28fc35..4c02cd64c7d 100644 --- a/DiscoveryJson/securitycenter_v1.json +++ b/DiscoveryJson/securitycenter_v1.json @@ -434,6 +434,98 @@ } } }, + "locations": { + "resources": { + "muteConfigs": { + "methods": { + "delete": { + "description": "Deletes an existing mute config.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "DELETE", + "id": "securitycenter.folders.locations.muteConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a mute config.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "GET", + "id": "securitycenter.folders.locations.muteConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a mute config.", + "flatPath": "v1/folders/{foldersId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "PATCH", + "id": "securitycenter.folders.locations.muteConfigs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "location": "path", + "pattern": "^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated. If empty all mutable fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "muteConfigs": { "methods": { "create": { @@ -479,7 +571,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}", + "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "location": "path", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -504,7 +596,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}", + "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "location": "path", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -565,7 +657,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "location": "path", "pattern": "^folders/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -935,6 +1027,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "simulate": { + "description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource.", + "flatPath": "v1/folders/{foldersId}/securityHealthAnalyticsSettings/customModules:simulate", + "httpMethod": "POST", + "id": "securitycenter.folders.securityHealthAnalyticsSettings.customModules.simulate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The relative resource name of the organization, project, or folder. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: \"organizations/{organization_id}\".", + "location": "path", + "pattern": "^folders/[^/]+/securityHealthAnalyticsSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/customModules:simulate", + "request": { + "$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" + }, + "response": { + "$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -1920,6 +2040,98 @@ } } }, + "locations": { + "resources": { + "muteConfigs": { + "methods": { + "delete": { + "description": "Deletes an existing mute config.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "DELETE", + "id": "securitycenter.organizations.locations.muteConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a mute config.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "GET", + "id": "securitycenter.organizations.locations.muteConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a mute config.", + "flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "PATCH", + "id": "securitycenter.organizations.locations.muteConfigs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "location": "path", + "pattern": "^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated. If empty all mutable fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "muteConfigs": { "methods": { "create": { @@ -1965,7 +2177,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}", + "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "location": "path", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -1990,7 +2202,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}", + "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "location": "path", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2051,7 +2263,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "location": "path", "pattern": "^organizations/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -2693,6 +2905,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "simulate": { + "description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource.", + "flatPath": "v1/organizations/{organizationsId}/securityHealthAnalyticsSettings/customModules:simulate", + "httpMethod": "POST", + "id": "securitycenter.organizations.securityHealthAnalyticsSettings.customModules.simulate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The relative resource name of the organization, project, or folder. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: \"organizations/{organization_id}\".", + "location": "path", + "pattern": "^organizations/[^/]+/securityHealthAnalyticsSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/customModules:simulate", + "request": { + "$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" + }, + "response": { + "$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -3868,6 +4108,98 @@ } } }, + "locations": { + "resources": { + "muteConfigs": { + "methods": { + "delete": { + "description": "Deletes an existing mute config.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "DELETE", + "id": "securitycenter.projects.locations.muteConfigs.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets a mute config.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "GET", + "id": "securitycenter.projects.locations.muteConfigs.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+name}", + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates a mute config.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/muteConfigs/{muteConfigsId}", + "httpMethod": "PATCH", + "id": "securitycenter.projects.locations.muteConfigs.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "The list of fields to be updated. If empty all mutable fields will be updated.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v1/{+name}", + "request": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "response": { + "$ref": "GoogleCloudSecuritycenterV1MuteConfig" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + }, "muteConfigs": { "methods": { "create": { @@ -3913,7 +4245,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}", + "description": "Required. Name of the mute config to delete. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "location": "path", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -3938,7 +4270,7 @@ ], "parameters": { "name": { - "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or projects/{project}/muteConfigs/{config_id}", + "description": "Required. Name of the mute config to retrieve. Its format is organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, projects/{project}/muteConfigs/{config_id}, organizations/{organization}/locations/global/muteConfigs/{config_id}, folders/{folder}/locations/global/muteConfigs/{config_id}, or projects/{project}/locations/global/muteConfigs/{config_id}.", "location": "path", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -3999,7 +4331,7 @@ ], "parameters": { "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "location": "path", "pattern": "^projects/[^/]+/muteConfigs/[^/]+$", "required": true, @@ -4369,6 +4701,34 @@ "scopes": [ "https://www.googleapis.com/auth/cloud-platform" ] + }, + "simulate": { + "description": "Simulates a given SecurityHealthAnalyticsCustomModule and Resource.", + "flatPath": "v1/projects/{projectsId}/securityHealthAnalyticsSettings/customModules:simulate", + "httpMethod": "POST", + "id": "securitycenter.projects.securityHealthAnalyticsSettings.customModules.simulate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The relative resource name of the organization, project, or folder. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: \"organizations/{organization_id}\".", + "location": "path", + "pattern": "^projects/[^/]+/securityHealthAnalyticsSettings$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+parent}/customModules:simulate", + "request": { + "$ref": "SimulateSecurityHealthAnalyticsCustomModuleRequest" + }, + "response": { + "$ref": "SimulateSecurityHealthAnalyticsCustomModuleResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } } }, @@ -4750,7 +5110,7 @@ } } }, - "revision": "20231005", + "revision": "20231023", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -6006,6 +6366,13 @@ "description": "Steps to address the finding.", "type": "string" }, + "orgPolicies": { + "description": "Contains information about the org policies associated with the finding.", + "items": { + "$ref": "OrgPolicy" + }, + "type": "array" + }, "parent": { "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" @@ -6363,7 +6730,7 @@ "type": "string" }, "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "type": "string" }, "updateTime": { @@ -7918,6 +8285,17 @@ }, "type": "object" }, + "OrgPolicy": { + "description": "Contains information about the org policies associated with the finding.", + "id": "OrgPolicy", + "properties": { + "name": { + "description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", + "type": "string" + } + }, + "type": "object" + }, "OrganizationSettings": { "description": "User specified settings that are attached to the Security Command Center organization.", "id": "OrganizationSettings", @@ -8385,6 +8763,74 @@ }, "type": "object" }, + "SimulateSecurityHealthAnalyticsCustomModuleRequest": { + "description": "Request message to simulate a CustomConfig against a given test resource. Maximum size of the request is 4 MB by default.", + "id": "SimulateSecurityHealthAnalyticsCustomModuleRequest", + "properties": { + "customConfig": { + "$ref": "GoogleCloudSecuritycenterV1CustomConfig", + "description": "Required. The user specified custom configuration to test." + }, + "resource": { + "$ref": "SimulatedResource", + "description": "Required. Resource data to simulate custom module against." + } + }, + "type": "object" + }, + "SimulateSecurityHealthAnalyticsCustomModuleResponse": { + "description": "Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource.", + "id": "SimulateSecurityHealthAnalyticsCustomModuleResponse", + "properties": { + "result": { + "$ref": "SimulatedResult", + "description": "Result for test case in the corresponding request." + } + }, + "type": "object" + }, + "SimulatedResource": { + "description": "Manually constructed resource. If the custom module only evaluates against the resource data, the iam_policy_data field can be omitted, and vice versa.", + "id": "SimulatedResource", + "properties": { + "iamPolicyData": { + "$ref": "Policy", + "description": "Optional. A representation of the IAM policy." + }, + "resourceData": { + "additionalProperties": { + "description": "Properties of the object.", + "type": "any" + }, + "description": "Optional. A representation of the GCP resource. Should match the GCP resource JSON format.", + "type": "object" + }, + "resourceType": { + "description": "Required. The type of the resource, e.g. `compute.googleapis.com/Disk`.", + "type": "string" + } + }, + "type": "object" + }, + "SimulatedResult": { + "description": "Possible test result.", + "id": "SimulatedResult", + "properties": { + "error": { + "$ref": "Status", + "description": "Error encountered during the test." + }, + "finding": { + "$ref": "Finding", + "description": "Finding that would be published for the test case, if a violation is detected." + }, + "noViolation": { + "$ref": "Empty", + "description": "Indicates that the test case does not trigger any violation." + } + }, + "type": "object" + }, "Simulation": { "description": "Attack path simulation", "id": "Simulation", diff --git a/DiscoveryJson/securitycenter_v1beta1.json b/DiscoveryJson/securitycenter_v1beta1.json index 57c56822a0f..2d12793f9f7 100644 --- a/DiscoveryJson/securitycenter_v1beta1.json +++ b/DiscoveryJson/securitycenter_v1beta1.json @@ -896,7 +896,7 @@ } } }, - "revision": "20231005", + "revision": "20231023", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -1871,6 +1871,13 @@ "description": "Steps to address the finding.", "type": "string" }, + "orgPolicies": { + "description": "Contains information about the org policies associated with the finding.", + "items": { + "$ref": "OrgPolicy" + }, + "type": "array" + }, "parent": { "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" @@ -2228,7 +2235,7 @@ "type": "string" }, "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "type": "string" }, "updateTime": { @@ -3593,6 +3600,17 @@ }, "type": "object" }, + "OrgPolicy": { + "description": "Contains information about the org policies associated with the finding.", + "id": "OrgPolicy", + "properties": { + "name": { + "description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", + "type": "string" + } + }, + "type": "object" + }, "OrganizationSettings": { "description": "User specified settings that are attached to the Security Command Center organization.", "id": "OrganizationSettings", diff --git a/DiscoveryJson/securitycenter_v1beta2.json b/DiscoveryJson/securitycenter_v1beta2.json index 868154acb4b..c29d6a08337 100644 --- a/DiscoveryJson/securitycenter_v1beta2.json +++ b/DiscoveryJson/securitycenter_v1beta2.json @@ -1906,7 +1906,7 @@ } } }, - "revision": "20231005", + "revision": "20231023", "rootUrl": "https://securitycenter.googleapis.com/", "schemas": { "Access": { @@ -2888,6 +2888,13 @@ "description": "Steps to address the finding.", "type": "string" }, + "orgPolicies": { + "description": "Contains information about the org policies associated with the finding.", + "items": { + "$ref": "OrgPolicy" + }, + "type": "array" + }, "parent": { "description": "The relative resource name of the source the finding belongs to. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after creation time. For example: \"organizations/{organization_id}/sources/{source_id}\"", "type": "string" @@ -3222,7 +3229,7 @@ "type": "string" }, "name": { - "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\"", + "description": "This field will be ignored if provided on config creation. Format \"organizations/{organization}/muteConfigs/{mute_config}\" \"folders/{folder}/muteConfigs/{mute_config}\" \"projects/{project}/muteConfigs/{mute_config}\" \"organizations/{organization}/locations/global/muteConfigs/{mute_config}\" \"folders/{folder}/locations/global/muteConfigs/{mute_config}\" \"projects/{project}/locations/global/muteConfigs/{mute_config}\"", "type": "string" }, "updateTime": { @@ -4222,6 +4229,17 @@ }, "type": "object" }, + "OrgPolicy": { + "description": "Contains information about the org policies associated with the finding.", + "id": "OrgPolicy", + "properties": { + "name": { + "description": "The resource name of the org policy. Example: \"organizations/{organization_id}/policies/{constraint_name}\"", + "type": "string" + } + }, + "type": "object" + }, "Pod": { "description": "A Kubernetes Pod.", "id": "Pod", @@ -4409,7 +4427,7 @@ "type": "object" }, "SecurityCenterSettings": { - "description": "Resource capturing the settings for Security Center.", + "description": "Resource capturing the settings for Security Center. Next ID: 12", "id": "SecurityCenterSettings", "properties": { "logSinkProject": { diff --git a/DiscoveryJson/servicenetworking_v1.json b/DiscoveryJson/servicenetworking_v1.json index 5a2cf4bce7e..78c41bec00a 100644 --- a/DiscoveryJson/servicenetworking_v1.json +++ b/DiscoveryJson/servicenetworking_v1.json @@ -789,32 +789,6 @@ "https://www.googleapis.com/auth/service.management" ] }, - "getVpcScControls": { - "description": "Consumers use this method to find out the state of VPC Service Controls. The controls could be enabled or disabled for a connection.", - "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}/vpcScControls", - "httpMethod": "GET", - "id": "servicenetworking.services.projects.global.networks.getVpcScControls", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the VPC Service Controls config to retrieve in the format: `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is `servicenetworking.googleapis.com`. {project} is a project number e.g. `12345` that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.", - "location": "path", - "pattern": "^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}/vpcScControls", - "response": { - "$ref": "VpcServiceControls" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/service.management" - ] - }, "updateConsumerConfig": { "description": "Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.", "flatPath": "v1/services/{servicesId}/projects/{projectsId}/global/networks/{networksId}:updateConsumerConfig", @@ -1029,7 +1003,7 @@ } } }, - "revision": "20231015", + "revision": "20231004", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -4074,18 +4048,6 @@ } }, "type": "object" - }, - "VpcServiceControls": { - "description": "Response for the get VPC Service Controls request.", - "id": "VpcServiceControls", - "properties": { - "enabled": { - "description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", - "readOnly": true, - "type": "boolean" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/servicenetworking_v1beta.json b/DiscoveryJson/servicenetworking_v1beta.json index 07e31ff7add..036cf958712 100644 --- a/DiscoveryJson/servicenetworking_v1beta.json +++ b/DiscoveryJson/servicenetworking_v1beta.json @@ -307,7 +307,7 @@ } } }, - "revision": "20231015", + "revision": "20231004", "rootUrl": "https://servicenetworking.googleapis.com/", "schemas": { "AddDnsRecordSetMetadata": { @@ -2896,18 +2896,6 @@ } }, "type": "object" - }, - "VpcServiceControls": { - "description": "Response for the get VPC Service Controls request.", - "id": "VpcServiceControls", - "properties": { - "enabled": { - "description": "Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the consumer called the EnableVpcServiceControls method, then this is true. If the consumer called DisableVpcServiceControls, then this is false. The default is false.", - "readOnly": true, - "type": "boolean" - } - }, - "type": "object" } }, "servicePath": "", diff --git a/DiscoveryJson/sqladmin_v1.json b/DiscoveryJson/sqladmin_v1.json index 4543ad9d29b..9d468a41567 100644 --- a/DiscoveryJson/sqladmin_v1.json +++ b/DiscoveryJson/sqladmin_v1.json @@ -2165,7 +2165,7 @@ } } }, - "revision": "20231011", + "revision": "20231017", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3789,12 +3789,12 @@ "type": "boolean" }, "stopAt": { - "description": "Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only", + "description": "Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.", "format": "google-datetime", "type": "string" }, "stopAtMark": { - "description": "Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only", + "description": "Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.", "type": "string" }, "striped": { @@ -4101,11 +4101,11 @@ "description": "PSC settings for this instance." }, "requireSsl": { - "description": "LINT.IfChange(require_ssl_deprecate) Whether SSL/TLS connections over IP are enforced or not. If set to false, allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate will not be verified. If set to true, only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, use the `ssl_mode` flag instead of the legacy `require_ssl` flag. LINT.ThenChange(//depot/google3/java/com/google/storage/speckle/boss/admin/actions/InstanceUpdateAction.java:update_api_temp_fix)", + "description": "Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag instead of the legacy `require_ssl` flag.", "type": "boolean" }, "sslMode": { - "description": "Specify how SSL/TLS will be enforced in database connections. This flag is only supported for PostgreSQL. Use the legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, it is recommended to use the `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED, require_ssl=false; ssl_mode=ENCRYPTED_ONLY, require_ssl=false; ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED, require_ssl=true; Note that the value of `ssl_mode` gets priority over the value of the legacy `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means \"only accepts SSL connection\", while the `require_ssl=false` means \"both non-SSL and SSL connections are allowed\". The database will respect `ssl_mode` in this case and only accept SSL connections.", + "description": "Specify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use the `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: * `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` Note that the value of `ssl_mode` gets priority over the value of the legacy `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means \"only accepts SSL connection\", while the `require_ssl=false` means \"both non-SSL and SSL connections are allowed\". The database respects `ssl_mode` in this case and only accepts SSL connections.", "enum": [ "SSL_MODE_UNSPECIFIED", "ALLOW_UNENCRYPTED_AND_ENCRYPTED", @@ -4113,10 +4113,10 @@ "TRUSTED_CLIENT_CERTIFICATE_REQUIRED" ], "enumDescriptions": [ - "SSL mode is unknown.", - "Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate will not be verified. When this value is used, legacy `require_ssl` flag must be false or unset to avoid the conflict between values of two flags.", - "Only allow connections encrypted with SSL/TLS. When this value is used, legacy `require_ssl` flag must be false or unset to avoid the conflict between values of two flags.", - "Only allow connections encrypted with SSL/TLS and with valid client certificates. When this value is used, legacy `require_ssl` flag must be true or unset to avoid the conflict between values of two flags." + "The SSL mode is unknown.", + "Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid the conflict between values of two flags.", + "Only allow connections encrypted with SSL/TLS. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid the conflict between values of two flags.", + "Only allow connections encrypted with SSL/TLS and with valid client certificates. When this value is used, the legacy `require_ssl` flag must be true or cleared to avoid the conflict between values of two flags." ], "type": "string" } @@ -4669,10 +4669,6 @@ ], "type": "string" }, - "disallowCompromisedCredentials": { - "description": "Disallow credentials that have been previously compromised by a public data breach.", - "type": "boolean" - }, "disallowUsernameSubstring": { "description": "Disallow username as a part of the password.", "type": "boolean" @@ -5698,12 +5694,18 @@ "enum": [ "BUILT_IN", "CLOUD_IAM_USER", - "CLOUD_IAM_SERVICE_ACCOUNT" + "CLOUD_IAM_SERVICE_ACCOUNT", + "CLOUD_IAM_GROUP", + "CLOUD_IAM_GROUP_USER", + "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" ], "enumDescriptions": [ "The database's built-in user type.", "Cloud IAM user.", - "Cloud IAM service account." + "Cloud IAM service account.", + "Cloud IAM Group non-login user.", + "Cloud IAM Group login user.", + "Cloud IAM Group login service account." ], "type": "string" } diff --git a/DiscoveryJson/sqladmin_v1beta4.json b/DiscoveryJson/sqladmin_v1beta4.json index d7536426b82..9518d7516f3 100644 --- a/DiscoveryJson/sqladmin_v1beta4.json +++ b/DiscoveryJson/sqladmin_v1beta4.json @@ -2165,7 +2165,7 @@ } } }, - "revision": "20231011", + "revision": "20231017", "rootUrl": "https://sqladmin.googleapis.com/", "schemas": { "AclEntry": { @@ -3789,12 +3789,12 @@ "type": "boolean" }, "stopAt": { - "description": "Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only", + "description": "Optional. The timestamp when the import should stop. This timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only.", "format": "google-datetime", "type": "string" }, "stopAtMark": { - "description": "Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only", + "description": "Optional. The marked transaction where the import should stop. This field is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL Server only.", "type": "string" }, "striped": { @@ -4101,11 +4101,11 @@ "description": "PSC settings for this instance." }, "requireSsl": { - "description": "LINT.IfChange(require_ssl_deprecate) Whether SSL/TLS connections over IP are enforced or not. If set to false, allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate will not be verified. If set to true, only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, use the `ssl_mode` flag instead of the legacy `require_ssl` flag. LINT.ThenChange(//depot/google3/java/com/google/storage/speckle/boss/admin/actions/InstanceUpdateAction.java:update_api_temp_fix)", + "description": "Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag instead of the legacy `require_ssl` flag.", "type": "boolean" }, "sslMode": { - "description": "Specify how SSL/TLS will be enforced in database connections. This flag is only supported for PostgreSQL. Use the legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, it is recommended to use the `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED, require_ssl=false; ssl_mode=ENCRYPTED_ONLY, require_ssl=false; ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED, require_ssl=true; Note that the value of `ssl_mode` gets priority over the value of the legacy `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means \"only accepts SSL connection\", while the `require_ssl=false` means \"both non-SSL and SSL connections are allowed\". The database will respect `ssl_mode` in this case and only accept SSL connections.", + "description": "Specify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use the `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: * `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` Note that the value of `ssl_mode` gets priority over the value of the legacy `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means \"only accepts SSL connection\", while the `require_ssl=false` means \"both non-SSL and SSL connections are allowed\". The database respects `ssl_mode` in this case and only accepts SSL connections.", "enum": [ "SSL_MODE_UNSPECIFIED", "ALLOW_UNENCRYPTED_AND_ENCRYPTED", @@ -4113,10 +4113,10 @@ "TRUSTED_CLIENT_CERTIFICATE_REQUIRED" ], "enumDescriptions": [ - "SSL mode is unknown.", - "Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate will not be verified. When this value is used, legacy `require_ssl` flag must be false or unset to avoid the conflict between values of two flags.", - "Only allow connections encrypted with SSL/TLS. When this value is used, legacy `require_ssl` flag must be false or unset to avoid the conflict between values of two flags.", - "Only allow connections encrypted with SSL/TLS and with valid client certificates. When this value is used, legacy `require_ssl` flag must be true or unset to avoid the conflict between values of two flags." + "The SSL mode is unknown.", + "Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid the conflict between values of two flags.", + "Only allow connections encrypted with SSL/TLS. When this value is used, the legacy `require_ssl` flag must be false or cleared to avoid the conflict between values of two flags.", + "Only allow connections encrypted with SSL/TLS and with valid client certificates. When this value is used, the legacy `require_ssl` flag must be true or cleared to avoid the conflict between values of two flags." ], "type": "string" } @@ -4669,10 +4669,6 @@ ], "type": "string" }, - "disallowCompromisedCredentials": { - "description": "Disallow credentials that have been previously compromised by a public data breach.", - "type": "boolean" - }, "disallowUsernameSubstring": { "description": "Disallow username as a part of the password.", "type": "boolean" @@ -5696,12 +5692,18 @@ "enum": [ "BUILT_IN", "CLOUD_IAM_USER", - "CLOUD_IAM_SERVICE_ACCOUNT" + "CLOUD_IAM_SERVICE_ACCOUNT", + "CLOUD_IAM_GROUP", + "CLOUD_IAM_GROUP_USER", + "CLOUD_IAM_GROUP_SERVICE_ACCOUNT" ], "enumDescriptions": [ "The database's built-in user type.", "Cloud IAM user.", - "Cloud IAM service account." + "Cloud IAM service account.", + "Cloud IAM Group non-login user.", + "Cloud IAM Group login user.", + "Cloud IAM Group service account." ], "type": "string" } diff --git a/DiscoveryJson/texttospeech_v1.json b/DiscoveryJson/texttospeech_v1.json index fb35c3c56a1..2f1ea52ceaf 100644 --- a/DiscoveryJson/texttospeech_v1.json +++ b/DiscoveryJson/texttospeech_v1.json @@ -318,7 +318,7 @@ } } }, - "revision": "20230803", + "revision": "20231023", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -390,7 +390,8 @@ "type": "string" }, "reportedUsage": { - "description": "Optional. The usage of the synthesized audio to be reported.", + "deprecated": true, + "description": "Optional. Deprecated. The usage of the synthesized audio to be reported.", "enum": [ "REPORTED_USAGE_UNSPECIFIED", "REALTIME", diff --git a/DiscoveryJson/texttospeech_v1beta1.json b/DiscoveryJson/texttospeech_v1beta1.json index b2899fe1619..5b30cdab7bc 100644 --- a/DiscoveryJson/texttospeech_v1beta1.json +++ b/DiscoveryJson/texttospeech_v1beta1.json @@ -261,7 +261,7 @@ } } }, - "revision": "20230803", + "revision": "20231023", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AudioConfig": { @@ -329,7 +329,8 @@ "type": "string" }, "reportedUsage": { - "description": "Optional. The usage of the synthesized audio to be reported.", + "deprecated": true, + "description": "Optional. Deprecated. The usage of the synthesized audio to be reported.", "enum": [ "REPORTED_USAGE_UNSPECIFIED", "REALTIME", diff --git a/DiscoveryJson/vmmigration_v1.json b/DiscoveryJson/vmmigration_v1.json index 6ffd2adc04e..6d1996558a5 100644 --- a/DiscoveryJson/vmmigration_v1.json +++ b/DiscoveryJson/vmmigration_v1.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20231012", + "revision": "20231019", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2618,6 +2618,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the boot disk." + }, "image": { "$ref": "DiskImageDefaults", "description": "The image to use when creating the disk." @@ -2872,6 +2876,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -2998,6 +3006,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -3444,6 +3456,10 @@ "$ref": "ComputeScheduling", "description": "Optional. Compute instance scheduling information (if empty default is used)." }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM." + }, "hostname": { "description": "Optional. The hostname to assign to the VM.", "type": "string" @@ -3517,6 +3533,17 @@ "properties": {}, "type": "object" }, + "Encryption": { + "description": "Encryption message describes the details of the applied encryption.", + "id": "Encryption", + "properties": { + "kmsKey": { + "description": "Required. The name of the encryption key that is stored in Google Cloud KMS.", + "type": "string" + } + }, + "type": "object" + }, "FetchInventoryResponse": { "description": "Response message for fetchInventory.", "id": "FetchInventoryResponse", @@ -4139,8 +4166,7 @@ "CLONE_ERROR", "CUTOVER_ERROR", "UTILIZATION_REPORT_ERROR", - "APPLIANCE_UPGRADE_ERROR", - "IMAGE_IMPORT_ERROR" + "APPLIANCE_UPGRADE_ERROR" ], "enumDescriptions": [ "Default value. This value is not used.", @@ -4152,8 +4178,7 @@ "Migrate to Virtual Machines encountered an error in clone operation.", "Migrate to Virtual Machines encountered an error in cutover operation.", "Migrate to Virtual Machines encountered an error during utilization report creation.", - "Migrate to Virtual Machines encountered an error during appliance upgrade.", - "Migrate to Virtual Machines encountered an error in image import operation." + "Migrate to Virtual Machines encountered an error during appliance upgrade." ], "readOnly": true, "type": "string" @@ -4417,6 +4442,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the disk." + }, "sourceDiskNumber": { "description": "Required. The ordinal number of the source VM disk.", "format": "int32", @@ -4647,6 +4676,10 @@ "description": "User-provided description of the source.", "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption details of the source data stored by the service." + }, "labels": { "additionalProperties": { "type": "string" diff --git a/DiscoveryJson/vmmigration_v1alpha1.json b/DiscoveryJson/vmmigration_v1alpha1.json index 5261c067e63..ca67ba3303f 100644 --- a/DiscoveryJson/vmmigration_v1alpha1.json +++ b/DiscoveryJson/vmmigration_v1alpha1.json @@ -1972,7 +1972,7 @@ } } }, - "revision": "20231012", + "revision": "20231019", "rootUrl": "https://vmmigration.googleapis.com/", "schemas": { "AccessKeyCredentials": { @@ -2618,6 +2618,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the boot disk." + }, "image": { "$ref": "DiskImageDefaults", "description": "The image to use when creating the disk." @@ -2884,6 +2888,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -3010,6 +3018,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM disks." + }, "hostname": { "description": "The hostname to assign to the VM.", "type": "string" @@ -3479,6 +3491,10 @@ "$ref": "ComputeScheduling", "description": "Optional. Compute instance scheduling information (if empty default is used)." }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the VM." + }, "hostname": { "description": "Optional. The hostname to assign to the VM.", "type": "string" @@ -3552,6 +3568,17 @@ "properties": {}, "type": "object" }, + "Encryption": { + "description": "Encryption message describes the details of the applied encryption.", + "id": "Encryption", + "properties": { + "kmsKey": { + "description": "Required. The name of the encryption key that is stored in Google Cloud KMS.", + "type": "string" + } + }, + "type": "object" + }, "FetchInventoryResponse": { "description": "Response message for fetchInventory.", "id": "FetchInventoryResponse", @@ -4184,8 +4211,7 @@ "CLONE_ERROR", "CUTOVER_ERROR", "UTILIZATION_REPORT_ERROR", - "APPLIANCE_UPGRADE_ERROR", - "IMAGE_IMPORT_ERROR" + "APPLIANCE_UPGRADE_ERROR" ], "enumDescriptions": [ "Default value. This value is not used.", @@ -4197,8 +4223,7 @@ "Migrate to Virtual Machines encountered an error in clone operation.", "Migrate to Virtual Machines encountered an error in cutover operation.", "Migrate to Virtual Machines encountered an error during utilization report creation.", - "Migrate to Virtual Machines encountered an error during appliance upgrade.", - "Migrate to Virtual Machines encountered an error in image import operation." + "Migrate to Virtual Machines encountered an error during appliance upgrade." ], "readOnly": true, "type": "string" @@ -4462,6 +4487,10 @@ ], "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. The encryption to apply to the disk." + }, "sourceDiskNumber": { "description": "Required. The ordinal number of the source VM disk.", "format": "int32", @@ -4698,6 +4727,10 @@ "description": "User-provided description of the source.", "type": "string" }, + "encryption": { + "$ref": "Encryption", + "description": "Optional. Immutable. The encryption details of the source data stored by the service." + }, "error": { "$ref": "Status", "deprecated": true, diff --git a/DiscoveryJson/workstations_v1.json b/DiscoveryJson/workstations_v1.json index 286ff9d7956..a5e0c95540b 100644 --- a/DiscoveryJson/workstations_v1.json +++ b/DiscoveryJson/workstations_v1.json @@ -1195,7 +1195,7 @@ } } }, - "revision": "20231001", + "revision": "20231018", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "AuditConfig": { @@ -1300,7 +1300,7 @@ "type": "object" }, "image": { - "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.", + "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. Otherwise, the image must be publicly accessible.", "type": "string" }, "runAsUser": { @@ -1401,7 +1401,7 @@ "type": "integer" }, "serviceAccount": { - "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", + "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", "type": "string" }, "serviceAccountScopes": { diff --git a/DiscoveryJson/workstations_v1beta.json b/DiscoveryJson/workstations_v1beta.json index bd6ec44f616..7c5e54555af 100644 --- a/DiscoveryJson/workstations_v1beta.json +++ b/DiscoveryJson/workstations_v1beta.json @@ -1127,7 +1127,7 @@ } } }, - "revision": "20231011", + "revision": "20231018", "rootUrl": "https://workstations.googleapis.com/", "schemas": { "Accelerator": { @@ -1248,7 +1248,7 @@ "type": "object" }, "image": { - "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.", + "description": "Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. Otherwise, the image must be publicly accessible.", "type": "string" }, "runAsUser": { @@ -1382,7 +1382,7 @@ "type": "integer" }, "serviceAccount": { - "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", + "description": "Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have [Artifact Registry Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.", "type": "string" }, "serviceAccountScopes": { diff --git a/EnumStorage/biglake_v1.json b/EnumStorage/biglake_v1.json new file mode 100644 index 00000000000..bbeb33a3fd8 --- /dev/null +++ b/EnumStorage/biglake_v1.json @@ -0,0 +1,16 @@ +{ + "Google.Apis.BigLakeService.v1.BigLakeServiceBaseServiceRequest<>.AltEnum": [ + "json", + "media", + "proto" + ], + "Google.Apis.BigLakeService.v1.BigLakeServiceBaseServiceRequest<>.XgafvEnum": [ + "1", + "2" + ], + "Google.Apis.BigLakeService.v1.ProjectsResource+LocationsResource+CatalogsResource+DatabasesResource+TablesResource+ListRequest.ViewEnum": [ + "TABLE_VIEW_UNSPECIFIED", + "BASIC", + "FULL" + ] +} \ No newline at end of file diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs index 6f2652d5e4d..4e5fa56d773 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.cs @@ -5230,7 +5230,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("machineType")] public virtual string MachineType { get; set; } - /// Custom metadata to apply to this instance. + /// + /// Custom metadata to apply to this instance. For example, to specify a Cloud Storage bucket for automatic + /// backup, you can use the `gcs-data-bucket` metadata tag. Format: `"--metadata=gcs-data-bucket=``BUCKET''"`. + /// [Newtonsoft.Json.JsonPropertyAttribute("metadata")] public virtual System.Collections.Generic.IDictionary Metadata { get; set; } diff --git a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj index 2ce0b0903b1..f704d889a5b 100644 --- a/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj +++ b/Src/Generated/Google.Apis.AIPlatformNotebooks.v1/Google.Apis.AIPlatformNotebooks.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.AIPlatformNotebooks.v1 Client Library - 1.62.1.3197 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google 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 ef9c61b7607..1367ac3058c 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.62.1.3211 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs index 784426d2a57..4e379f98001 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs +++ b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.cs @@ -32160,8 +32160,8 @@ public class GoogleCloudAiplatformV1CustomJobSpec : Google.Apis.Requests.IDirect /// /// The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is - /// different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of - /// supported locations: https://cloud.google.com/vertex-ai/docs/general/locations + /// different than CustomJob location. List of supported locations: + /// https://cloud.google.com/vertex-ai/docs/general/locations /// [Newtonsoft.Json.JsonPropertyAttribute("protectedArtifactLocationId")] public virtual string ProtectedArtifactLocationId { get; set; } @@ -48049,7 +48049,7 @@ public class GoogleCloudAiplatformV1StringArray : Google.Apis.Requests.IDirectRe public virtual string ETag { get; set; } } - /// A message representing a Study. + /// A message representing a Study. Next id: 12 public class GoogleCloudAiplatformV1Study : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -48157,6 +48157,13 @@ public class GoogleCloudAiplatformV1StudySpec : Google.Apis.Requests.IDirectResp [Newtonsoft.Json.JsonPropertyAttribute("parameters")] public virtual System.Collections.Generic.IList Parameters { get; set; } + /// + /// Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one + /// condition. + /// + [Newtonsoft.Json.JsonPropertyAttribute("studyStoppingConfig")] + public virtual GoogleCloudAiplatformV1StudySpecStudyStoppingConfig StudyStoppingConfig { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -48509,6 +48516,116 @@ public class GoogleCloudAiplatformV1StudySpecParameterSpecIntegerValueSpec : Goo public virtual string ETag { get; set; } } + /// + /// The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, + /// time budgets, and convergence detection. + /// + public class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the objective value has not improved for this much time, stop the study. WARNING: Effective only for + /// single-objective studies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxDurationNoProgress")] + public virtual object MaxDurationNoProgress { get; set; } + + /// If there are more than this many trials, stop the study. + [Newtonsoft.Json.JsonPropertyAttribute("maxNumTrials")] + public virtual System.Nullable MaxNumTrials { get; set; } + + /// + /// If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective + /// only for single-objective studies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxNumTrialsNoProgress")] + public virtual System.Nullable MaxNumTrialsNoProgress { get; set; } + + /// If the specified time or duration has passed, stop the study. + [Newtonsoft.Json.JsonPropertyAttribute("maximumRuntimeConstraint")] + public virtual GoogleCloudAiplatformV1StudyTimeConstraint MaximumRuntimeConstraint { get; set; } + + /// If there are fewer than this many COMPLETED trials, do not stop the study. + [Newtonsoft.Json.JsonPropertyAttribute("minNumTrials")] + public virtual System.Nullable MinNumTrials { get; set; } + + /// + /// Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new + /// suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the + /// first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from + /// being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` + /// means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed + /// since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a + /// stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should + /// not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if + /// should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described + /// above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to + /// ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) + /// activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do + /// not stop the study. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minimumRuntimeConstraint")] + public virtual GoogleCloudAiplatformV1StudyTimeConstraint MinimumRuntimeConstraint { get; set; } + + /// + /// If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: + /// set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition + /// is met. (Please see Study.State documentation for the source of truth). + /// + [Newtonsoft.Json.JsonPropertyAttribute("shouldStopAsap")] + public virtual System.Nullable ShouldStopAsap { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Time-based Constraint for Study + public class GoogleCloudAiplatformV1StudyTimeConstraint : Google.Apis.Requests.IDirectResponseSchema + { + private string _endTimeRaw; + + private object _endTime; + + /// Compares the wallclock time to this time. Must use UTC timezone. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Counts the wallclock time passed since the creation of this Study. + [Newtonsoft.Json.JsonPropertyAttribute("maxDuration")] + public virtual object MaxDuration { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Details of operations that perform Trials suggestion. public class GoogleCloudAiplatformV1SuggestTrialsMetadata : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj index 71bb94d763f..4b5435b9f3a 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj +++ b/Src/Generated/Google.Apis.Aiplatform.v1/Google.Apis.Aiplatform.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Aiplatform.v1 Client Library - 1.62.1.3206 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs index 4ae78272e9e..c6863d39683 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs +++ b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.cs @@ -39557,8 +39557,8 @@ public class GoogleCloudAiplatformV1beta1CustomJobSpec : Google.Apis.Requests.ID /// /// The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is - /// different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of - /// supported locations: https://cloud.google.com/vertex-ai/docs/general/locations + /// different than CustomJob location. List of supported locations: + /// https://cloud.google.com/vertex-ai/docs/general/locations /// [Newtonsoft.Json.JsonPropertyAttribute("protectedArtifactLocationId")] public virtual string ProtectedArtifactLocationId { get; set; } @@ -57120,7 +57120,7 @@ public class GoogleCloudAiplatformV1beta1StringArray : Google.Apis.Requests.IDir public virtual string ETag { get; set; } } - /// A message representing a Study. + /// A message representing a Study. Next id: 12 public class GoogleCloudAiplatformV1beta1Study : Google.Apis.Requests.IDirectResponseSchema { private string _createTimeRaw; @@ -57232,6 +57232,13 @@ public class GoogleCloudAiplatformV1beta1StudySpec : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("parameters")] public virtual System.Collections.Generic.IList Parameters { get; set; } + /// + /// Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one + /// condition. + /// + [Newtonsoft.Json.JsonPropertyAttribute("studyStoppingConfig")] + public virtual GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig StudyStoppingConfig { get; set; } + /// /// The configuration info/options for transfer learning. Currently supported for Vertex AI Vizier service, not /// HyperParameterTuningJob @@ -57640,6 +57647,68 @@ public class GoogleCloudAiplatformV1beta1StudySpecParameterSpecIntegerValueSpec public virtual string ETag { get; set; } } + /// + /// The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, + /// time budgets, and convergence detection. + /// + public class GoogleCloudAiplatformV1beta1StudySpecStudyStoppingConfig : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// If the objective value has not improved for this much time, stop the study. WARNING: Effective only for + /// single-objective studies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxDurationNoProgress")] + public virtual object MaxDurationNoProgress { get; set; } + + /// If there are more than this many trials, stop the study. + [Newtonsoft.Json.JsonPropertyAttribute("maxNumTrials")] + public virtual System.Nullable MaxNumTrials { get; set; } + + /// + /// If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective + /// only for single-objective studies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxNumTrialsNoProgress")] + public virtual System.Nullable MaxNumTrialsNoProgress { get; set; } + + /// If the specified time or duration has passed, stop the study. + [Newtonsoft.Json.JsonPropertyAttribute("maximumRuntimeConstraint")] + public virtual GoogleCloudAiplatformV1beta1StudyTimeConstraint MaximumRuntimeConstraint { get; set; } + + /// If there are fewer than this many COMPLETED trials, do not stop the study. + [Newtonsoft.Json.JsonPropertyAttribute("minNumTrials")] + public virtual System.Nullable MinNumTrials { get; set; } + + /// + /// Each "stopping rule" in this proto specifies an "if" condition. Before Vizier would generate a new + /// suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the + /// first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from + /// being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` + /// means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed + /// since its creation. It follows the first applicable rule (whose "if" condition is satisfied) to make a + /// stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should + /// not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if + /// should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described + /// above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to + /// ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) + /// activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do + /// not stop the study. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minimumRuntimeConstraint")] + public virtual GoogleCloudAiplatformV1beta1StudyTimeConstraint MinimumRuntimeConstraint { get; set; } + + /// + /// If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: + /// set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition + /// is met. (Please see Study.State documentation for the source of truth). + /// + [Newtonsoft.Json.JsonPropertyAttribute("shouldStopAsap")] + public virtual System.Nullable ShouldStopAsap { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// This contains flag for manually disabling transfer learning for a study. The names of prior studies being used /// for transfer learning (if any) are also listed here. @@ -57661,6 +57730,54 @@ public class GoogleCloudAiplatformV1beta1StudySpecTransferLearningConfig : Googl public virtual string ETag { get; set; } } + /// Time-based Constraint for Study + public class GoogleCloudAiplatformV1beta1StudyTimeConstraint : Google.Apis.Requests.IDirectResponseSchema + { + private string _endTimeRaw; + + private object _endTime; + + /// Compares the wallclock time to this time. Must use UTC timezone. + [Newtonsoft.Json.JsonPropertyAttribute("endTime")] + public virtual string EndTimeRaw + { + get => _endTimeRaw; + set + { + _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _endTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] + public virtual object EndTime + { + get => _endTime; + set + { + _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _endTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? EndTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(EndTimeRaw); + set => EndTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Counts the wallclock time passed since the creation of this Study. + [Newtonsoft.Json.JsonPropertyAttribute("maxDuration")] + public virtual object MaxDuration { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Details of operations that perform Trials suggestion. public class GoogleCloudAiplatformV1beta1SuggestTrialsMetadata : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj index e2450cedceb..dbc09cd6ea5 100644 --- a/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Aiplatform.v1beta1/Google.Apis.Aiplatform.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Aiplatform.v1beta1 Client Library - 1.62.1.3206 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google 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 3062cd67aa4..e43c65708f6 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 @@ -4463,13 +4463,13 @@ public class FilePushedEvent : Google.Apis.Requests.IDirectResponseSchema /// /// A system freeze period. When a device’s clock is within the freeze period, all incoming system updates - /// (including security patches) are blocked and won’t be installed. When a device is outside the freeze period, - /// normal update behavior applies. Leap years are ignored in freeze period calculations, in particular: * If Feb. - /// 29th is set as the start or end date of a freeze period, the freeze period will start or end on Feb. 28th - /// instead. * When a device’s system clock reads Feb. 29th, it’s treated as Feb. 28th. * When calculating the - /// number of days in a freeze period or the time between two freeze periods, Feb. 29th is ignored and not counted - /// as a day.Note: For Freeze Periods to take effect, SystemUpdateType cannot be specified as - /// SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined policy to be specified. + /// (including security patches) are blocked and won’t be installed.When the device is outside any set freeze + /// periods, the normal policy behavior (automatic, windowed, or postponed) applies.Leap years are ignored in freeze + /// period calculations, in particular: If Feb. 29th is set as the start or end date of a freeze period, the freeze + /// period will start or end on Feb. 28th instead. When a device’s system clock reads Feb. 29th, it’s treated as + /// Feb. 28th. When calculating the number of days in a freeze period or the time between two freeze periods, Feb. + /// 29th is ignored and not counted as a day.Note: For Freeze Periods to take effect, SystemUpdateType cannot be + /// specified as SYSTEM_UPDATE_TYPE_UNSPECIFIED, because freeze periods require a defined policy to be specified. /// public class FreezePeriod : Google.Apis.Requests.IDirectResponseSchema { @@ -5668,8 +5668,8 @@ public class PersonalUsagePolicies : Google.Apis.Requests.IDirectResponseSchema /// /// Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details - /// are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to any - /// value between 1-2 days, the feature is automatically set to 3 days. *Note:* If you want to avoid personal + /// are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a + /// value smaller than the minimum duration, the feature returns an error. *Note:* If you want to avoid personal /// profiles being suspended during long periods of off-time, you can temporarily set a large value for this /// parameter. /// 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 c7fd5c87b39..aaf3290301a 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.62.1.3203 + 1.62.1.3210 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs new file mode 100644 index 00000000000..005dc6ece2a --- /dev/null +++ b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.cs @@ -0,0 +1,2028 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated code. DO NOT EDIT! + +namespace Google.Apis.BigLakeService.v1 +{ + /// The BigLakeService Service. + public class BigLakeServiceService : Google.Apis.Services.BaseClientService + { + /// The API version. + public const string Version = "v1"; + + /// The discovery version used to generate this service. + public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = Google.Apis.Discovery.DiscoveryVersion.Version_1_0; + + /// Constructs a new service. + public BigLakeServiceService() : this(new Google.Apis.Services.BaseClientService.Initializer()) + { + } + + /// Constructs a new service. + /// The service initializer. + public BigLakeServiceService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) + { + Projects = new ProjectsResource(this); + } + + /// Gets the service supported features. + public override System.Collections.Generic.IList Features => new string[0]; + + /// Gets the service name. + public override string Name => "biglake"; + + /// Gets the service base URI. + public override string BaseUri => BaseUriOverride ?? "https://biglake.googleapis.com/"; + + /// Gets the service base path. + public override string BasePath => ""; + + /// Gets the batch base URI; null if unspecified. + public override string BatchUri => "https://biglake.googleapis.com/batch"; + + /// Gets the batch base path; null if unspecified. + public override string BatchPath => "batch"; + + /// Available OAuth 2.0 scopes for use with the BigLake API. + public class Scope + { + /// + /// View and manage your data in Google BigQuery and see the email address for your Google Account + /// + public static string Bigquery = "https://www.googleapis.com/auth/bigquery"; + + /// + /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google + /// Account. + /// + public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + } + + /// Available OAuth 2.0 scope constants for use with the BigLake API. + public static class ScopeConstants + { + /// + /// View and manage your data in Google BigQuery and see the email address for your Google Account + /// + public const string Bigquery = "https://www.googleapis.com/auth/bigquery"; + + /// + /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google + /// Account. + /// + public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; + } + + /// Gets the Projects resource. + public virtual ProjectsResource Projects { get; } + } + + /// A base abstract class for BigLakeService requests. + public abstract class BigLakeServiceBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest + { + /// Constructs a new BigLakeServiceBaseServiceRequest instance. + protected BigLakeServiceBaseServiceRequest(Google.Apis.Services.IClientService service) : base(service) + { + } + + /// 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; } + + /// Initializes BigLakeService parameter list. + protected override void InitParameters() + { + base.InitParameters(); + RequestParameters.Add("$.xgafv", new Google.Apis.Discovery.Parameter + { + Name = "$.xgafv", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("access_token", new Google.Apis.Discovery.Parameter + { + Name = "access_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("alt", new Google.Apis.Discovery.Parameter + { + Name = "alt", + IsRequired = false, + ParameterType = "query", + DefaultValue = "json", + Pattern = null, + }); + RequestParameters.Add("callback", new Google.Apis.Discovery.Parameter + { + Name = "callback", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("fields", new Google.Apis.Discovery.Parameter + { + Name = "fields", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("key", new Google.Apis.Discovery.Parameter + { + Name = "key", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("oauth_token", new Google.Apis.Discovery.Parameter + { + Name = "oauth_token", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("prettyPrint", new Google.Apis.Discovery.Parameter + { + Name = "prettyPrint", + IsRequired = false, + ParameterType = "query", + DefaultValue = "true", + Pattern = null, + }); + RequestParameters.Add("quotaUser", new Google.Apis.Discovery.Parameter + { + Name = "quotaUser", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("uploadType", new Google.Apis.Discovery.Parameter + { + Name = "uploadType", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("upload_protocol", new Google.Apis.Discovery.Parameter + { + Name = "upload_protocol", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// The "projects" collection of methods. + public class ProjectsResource + { + private const string Resource = "projects"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public ProjectsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Locations = new LocationsResource(service); + } + + /// Gets the Locations resource. + public virtual LocationsResource Locations { get; } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Catalogs = new CatalogsResource(service); + } + + /// Gets the Catalogs resource. + public virtual CatalogsResource Catalogs { get; } + + /// The "catalogs" collection of methods. + public class CatalogsResource + { + private const string Resource = "catalogs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public CatalogsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Databases = new DatabasesResource(service); + } + + /// Gets the Databases resource. + public virtual DatabasesResource Databases { get; } + + /// The "databases" collection of methods. + public class DatabasesResource + { + private const string Resource = "databases"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public DatabasesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + Tables = new TablesResource(service); + } + + /// Gets the Tables resource. + public virtual TablesResource Tables { get; } + + /// The "tables" collection of methods. + public class TablesResource + { + private const string Resource = "tables"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public TablesResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Creates a new table. + /// The body of the request. + /// + /// Required. The parent resource where this table will be created. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + public virtual CreateRequest Create(Google.Apis.BigLakeService.v1.Data.Table body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a new table. + public class CreateRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.BigLakeService.v1.Data.Table body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource where this table will be created. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the table, which will become the final component of the + /// table's resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("tableId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string TableId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.BigLakeService.v1.Data.Table 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}/tables"; + + /// 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/[^/]+/catalogs/[^/]+/databases/[^/]+$", + }); + RequestParameters.Add("tableId", new Google.Apis.Discovery.Parameter + { + Name = "tableId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes an existing table specified by the table ID. + /// + /// Required. The name of the table to delete. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes an existing table specified by the table ID. + public class DeleteRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the table to delete. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + [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/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + }); + } + } + + /// Gets the table specified by the resource name. + /// + /// Required. The name of the table to retrieve. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the table specified by the resource name. + public class GetRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the table to retrieve. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + [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/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + }); + } + } + + /// List all tables in a specified database. + /// + /// Required. The parent, which owns this collection of tables. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// List all tables in a specified database. + public class ListRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent, which owns this collection of tables. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// The maximum number of tables to return. The service may return fewer than this value. If + /// unspecified, at most 50 tables 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; } + + /// + /// A page token, received from a previous `ListTables` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to `ListTables` 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; } + + /// The view for the returned tables. + [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable View { get; set; } + + /// The view for the returned tables. + public enum ViewEnum + { + /// Default value. The API will default to the BASIC view. + [Google.Apis.Util.StringValueAttribute("TABLE_VIEW_UNSPECIFIED")] + TABLEVIEWUNSPECIFIED = 0, + + /// Include only table names. This is the default value. + [Google.Apis.Util.StringValueAttribute("BASIC")] + BASIC = 1, + + /// Include everything. + [Google.Apis.Util.StringValueAttribute("FULL")] + FULL = 2, + } + + /// 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}/tables"; + + /// 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/[^/]+/catalogs/[^/]+/databases/[^/]+$", + }); + 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, + }); + RequestParameters.Add("view", new Google.Apis.Discovery.Parameter + { + Name = "view", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Updates an existing table specified by the table ID. + /// The body of the request. + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + public virtual PatchRequest Patch(Google.Apis.BigLakeService.v1.Data.Table body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates an existing table specified by the table ID. + public class PatchRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.BigLakeService.v1.Data.Table body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// The list of fields to update. For the `FieldMask` definition, see + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + /// If not set, defaults to all of the fields that are allowed to update. + /// + [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.BigLakeService.v1.Data.Table 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 => "v1/{+name}"; + + /// Initializes Patch 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/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Renames an existing table specified by the table ID. + /// The body of the request. + /// + /// Required. The table's `name` field is used to identify the table to rename. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + public virtual RenameRequest Rename(Google.Apis.BigLakeService.v1.Data.RenameTableRequest body, string name) + { + return new RenameRequest(service, body, name); + } + + /// Renames an existing table specified by the table ID. + public class RenameRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Rename request. + public RenameRequest(Google.Apis.Services.IClientService service, Google.Apis.BigLakeService.v1.Data.RenameTableRequest body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Required. The table's `name` field is used to identify the table to rename. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + [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.BigLakeService.v1.Data.RenameTableRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "rename"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}:rename"; + + /// Initializes Rename 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/[^/]+/catalogs/[^/]+/databases/[^/]+/tables/[^/]+$", + }); + } + } + } + + /// Creates a new database. + /// The body of the request. + /// + /// Required. The parent resource where this database will be created. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + public virtual CreateRequest Create(Google.Apis.BigLakeService.v1.Data.Database body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a new database. + public class CreateRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.BigLakeService.v1.Data.Database body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource where this database will be created. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the database, which will become the final component of the + /// database's resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("databaseId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string DatabaseId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.BigLakeService.v1.Data.Database 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}/databases"; + + /// 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/[^/]+/catalogs/[^/]+$", + }); + RequestParameters.Add("databaseId", new Google.Apis.Discovery.Parameter + { + Name = "databaseId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes an existing database specified by the database ID. + /// + /// Required. The name of the database to delete. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes an existing database specified by the database ID. + public class DeleteRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the database to delete. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + [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/[^/]+/catalogs/[^/]+/databases/[^/]+$", + }); + } + } + + /// Gets the database specified by the resource name. + /// + /// Required. The name of the database to retrieve. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the database specified by the resource name. + public class GetRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the database to retrieve. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + [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/[^/]+/catalogs/[^/]+/databases/[^/]+$", + }); + } + } + + /// List all databases in a specified catalog. + /// + /// Required. The parent, which owns this collection of databases. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// List all databases in a specified catalog. + public class ListRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent, which owns this collection of databases. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// The maximum number of databases to return. The service may return fewer than this value. If + /// unspecified, at most 50 databases 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; } + + /// + /// A page token, received from a previous `ListDatabases` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to `ListDatabases` 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}/databases"; + + /// 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/[^/]+/catalogs/[^/]+$", + }); + 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 existing database specified by the database ID. + /// The body of the request. + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + public virtual PatchRequest Patch(Google.Apis.BigLakeService.v1.Data.Database body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates an existing database specified by the database ID. + public class PatchRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.BigLakeService.v1.Data.Database body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// The list of fields to update. For the `FieldMask` definition, see + /// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If + /// not set, defaults to all of the fields that are allowed to update. + /// + [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.BigLakeService.v1.Data.Database 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 => "v1/{+name}"; + + /// Initializes Patch 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/[^/]+/catalogs/[^/]+/databases/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Creates a new catalog. + /// The body of the request. + /// + /// Required. The parent resource where this catalog will be created. Format: + /// projects/{project_id_or_number}/locations/{location_id} + /// + public virtual CreateRequest Create(Google.Apis.BigLakeService.v1.Data.Catalog body, string parent) + { + return new CreateRequest(service, body, parent); + } + + /// Creates a new catalog. + public class CreateRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Create request. + public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.BigLakeService.v1.Data.Catalog body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent resource where this catalog will be created. Format: + /// projects/{project_id_or_number}/locations/{location_id} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// Required. The ID to use for the catalog, which will become the final component of the catalog's + /// resource name. + /// + [Google.Apis.Util.RequestParameterAttribute("catalogId", Google.Apis.Util.RequestParameterType.Query)] + public virtual string CatalogId { get; set; } + + /// Gets or sets the body of this request. + Google.Apis.BigLakeService.v1.Data.Catalog 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}/catalogs"; + + /// 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/[^/]+$", + }); + RequestParameters.Add("catalogId", new Google.Apis.Discovery.Parameter + { + Name = "catalogId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Deletes an existing catalog specified by the catalog ID. + /// + /// Required. The name of the catalog to delete. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes an existing catalog specified by the catalog ID. + public class DeleteRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the catalog to delete. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + [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/[^/]+/catalogs/[^/]+$", + }); + } + } + + /// Gets the catalog specified by the resource name. + /// + /// Required. The name of the catalog to retrieve. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets the catalog specified by the resource name. + public class GetRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The name of the catalog to retrieve. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + [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/[^/]+/catalogs/[^/]+$", + }); + } + } + + /// List all catalogs in a specified project. + /// + /// Required. The parent, which owns this collection of catalogs. Format: + /// projects/{project_id_or_number}/locations/{location_id} + /// + public virtual ListRequest List(string parent) + { + return new ListRequest(service, parent); + } + + /// List all catalogs in a specified project. + public class ListRequest : BigLakeServiceBaseServiceRequest + { + /// Constructs a new List request. + public ListRequest(Google.Apis.Services.IClientService service, string parent) : base(service) + { + Parent = parent; + InitParameters(); + } + + /// + /// Required. The parent, which owns this collection of catalogs. Format: + /// projects/{project_id_or_number}/locations/{location_id} + /// + [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Parent { get; private set; } + + /// + /// The maximum number of catalogs to return. The service may return fewer than this value. If + /// unspecified, at most 50 catalogs 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; } + + /// + /// A page token, received from a previous `ListCatalogs` call. Provide this to retrieve the + /// subsequent page. When paginating, all other parameters provided to `ListCatalogs` 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}/catalogs"; + + /// 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("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, + }); + } + } + } + } + } +} +namespace Google.Apis.BigLakeService.v1.Data +{ + /// Catalog is the container of databases. + public class Catalog : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The creation time of the catalog. + [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.Utilities.GetDateTimeOffsetFromString(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + private string _deleteTimeRaw; + + private object _deleteTime; + + /// Output only. The deletion time of the catalog. Only set after the catalog is deleted. + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + private string _expireTimeRaw; + + private object _expireTime; + + /// + /// Output only. The time when this catalog is considered expired. Only set after the catalog is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("expireTime")] + public virtual string ExpireTimeRaw + { + get => _expireTimeRaw; + set + { + _expireTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expireTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")] + public virtual object ExpireTime + { + get => _expireTime; + set + { + _expireTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expireTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The last modification time of the catalog. + [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.Utilities.GetDateTimeOffsetFromString(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Database is the container of tables. + public class Database : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The creation time of the database. + [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.Utilities.GetDateTimeOffsetFromString(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + private string _deleteTimeRaw; + + private object _deleteTime; + + /// Output only. The deletion time of the database. Only set after the database is deleted. + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + private string _expireTimeRaw; + + private object _expireTime; + + /// + /// Output only. The time when this database is considered expired. Only set after the database is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("expireTime")] + public virtual string ExpireTimeRaw + { + get => _expireTimeRaw; + set + { + _expireTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expireTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")] + public virtual object ExpireTime + { + get => _expireTime; + set + { + _expireTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expireTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Options of a Hive database. + [Newtonsoft.Json.JsonPropertyAttribute("hiveOptions")] + public virtual HiveDatabaseOptions HiveOptions { get; set; } + + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The database type. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The last modification time of the database. + [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.Utilities.GetDateTimeOffsetFromString(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Options of a Hive database. + public class HiveDatabaseOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// Cloud Storage folder URI where the database data is stored, starting with "gs://". + [Newtonsoft.Json.JsonPropertyAttribute("locationUri")] + public virtual string LocationUri { get; set; } + + /// Stores user supplied Hive database parameters. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Options of a Hive table. + public class HiveTableOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// Stores user supplied Hive table parameters. + [Newtonsoft.Json.JsonPropertyAttribute("parameters")] + public virtual System.Collections.Generic.IDictionary Parameters { get; set; } + + /// Stores physical storage information of the data. + [Newtonsoft.Json.JsonPropertyAttribute("storageDescriptor")] + public virtual StorageDescriptor StorageDescriptor { get; set; } + + /// Hive table type. For example, MANAGED_TABLE, EXTERNAL_TABLE. + [Newtonsoft.Json.JsonPropertyAttribute("tableType")] + public virtual string TableType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response message for the ListCatalogs method. + public class ListCatalogsResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The catalogs from the specified project. + [Newtonsoft.Json.JsonPropertyAttribute("catalogs")] + public virtual System.Collections.Generic.IList Catalogs { 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 message for the ListDatabases method. + public class ListDatabasesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// The databases from the specified catalog. + [Newtonsoft.Json.JsonPropertyAttribute("databases")] + public virtual System.Collections.Generic.IList Databases { 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 message for the ListTables method. + public class ListTablesResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// 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 tables from the specified database. + [Newtonsoft.Json.JsonPropertyAttribute("tables")] + public virtual System.Collections.Generic.IList Tables { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Request message for the RenameTable method in MetastoreService + public class RenameTableRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The new `name` for the specified table, must be in the same database. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + [Newtonsoft.Json.JsonPropertyAttribute("newName")] + public virtual string NewName { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Serializer and deserializer information. + public class SerDeInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// The fully qualified Java class name of the serialization library. + [Newtonsoft.Json.JsonPropertyAttribute("serializationLib")] + public virtual string SerializationLib { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Stores physical storage information of the data. + public class StorageDescriptor : Google.Apis.Requests.IDirectResponseSchema + { + /// The fully qualified Java class name of the input format. + [Newtonsoft.Json.JsonPropertyAttribute("inputFormat")] + public virtual string InputFormat { get; set; } + + /// Cloud Storage folder URI where the table data is stored, starting with "gs://". + [Newtonsoft.Json.JsonPropertyAttribute("locationUri")] + public virtual string LocationUri { get; set; } + + /// The fully qualified Java class name of the output format. + [Newtonsoft.Json.JsonPropertyAttribute("outputFormat")] + public virtual string OutputFormat { get; set; } + + /// Serializer and deserializer information. + [Newtonsoft.Json.JsonPropertyAttribute("serdeInfo")] + public virtual SerDeInfo SerdeInfo { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Represents a table. + public class Table : Google.Apis.Requests.IDirectResponseSchema + { + private string _createTimeRaw; + + private object _createTime; + + /// Output only. The creation time of the table. + [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.Utilities.GetDateTimeOffsetFromString(CreateTimeRaw); + set => CreateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + private string _deleteTimeRaw; + + private object _deleteTime; + + /// Output only. The deletion time of the table. Only set after the table is deleted. + [Newtonsoft.Json.JsonPropertyAttribute("deleteTime")] + public virtual string DeleteTimeRaw + { + get => _deleteTimeRaw; + set + { + _deleteTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _deleteTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")] + public virtual object DeleteTime + { + get => _deleteTime; + set + { + _deleteTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _deleteTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? DeleteTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(DeleteTimeRaw); + set => DeleteTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// + /// The checksum of a table object computed by the server based on the value of other fields. It may be sent on + /// update requests to ensure the client has an up-to-date value before proceeding. It is only checked for + /// update table operations. + /// + [Newtonsoft.Json.JsonPropertyAttribute("etag")] + public virtual string ETag { get; set; } + + private string _expireTimeRaw; + + private object _expireTime; + + /// + /// Output only. The time when this table is considered expired. Only set after the table is deleted. + /// + [Newtonsoft.Json.JsonPropertyAttribute("expireTime")] + public virtual string ExpireTimeRaw + { + get => _expireTimeRaw; + set + { + _expireTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _expireTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")] + public virtual object ExpireTime + { + get => _expireTime; + set + { + _expireTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _expireTime = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(ExpireTimeRaw); + set => ExpireTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Options of a Hive table. + [Newtonsoft.Json.JsonPropertyAttribute("hiveOptions")] + public virtual HiveTableOptions HiveOptions { get; set; } + + /// + /// Output only. The resource name. Format: + /// projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The table type. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// Output only. The last modification time of the table. + [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.Utilities.GetDateTimeOffsetFromString(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + } +} diff --git a/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj new file mode 100644 index 00000000000..d0eb76103f0 --- /dev/null +++ b/Src/Generated/Google.Apis.BigLakeService.v1/Google.Apis.BigLakeService.v1.csproj @@ -0,0 +1,64 @@ + + + + + Google.Apis.BigLakeService.v1 Client Library + 1.62.1.3210 + Google LLC + Copyright 2023 Google LLC + Google + https://github.com/google/google-api-dotnet-client + Apache-2.0 + git + https://github.com/google/google-api-dotnet-client + https://www.gstatic.com/images/branding/product/1x/google_developers_64dp.png + NuGetIcon.png + + Google APIs Client Library for working with Biglake v1. + + Supported Platforms: + - .NET Framework 4.5+ + - .NET Standard 1.3 and .NET Standard 2.0; providing .NET Core support. + + Incompatible platforms: + - .NET Framework < 4.5 + - Silverlight + - UWP (will build, but is known not to work at runtime) + - Xamarin + - Windows 8 Apps + - Windows Phone 8.1 + - Windows Phone Silverlight 8.0 + + More documentation on the API is available at: + https://developers.google.com/api-client-library/dotnet/apis/biglake/v1 + + The package source code is available at: + https://github.com/google/google-api-dotnet-client/tree/master/Src/Generated + + + + + + + + + + + netstandard2.0;netstandard1.3;net45 + true + ..\..\..\google.apis.snk + portable + true + 1570,1587,1591 + + + + + + + + + + + + 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 156aeb5d983..c483d1cbea6 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 @@ -11902,7 +11902,10 @@ public class GoogleCloudDataplexV1DataQualityDimensionResult : Google.Apis.Reque /// The output of a DataQualityScan. public class GoogleCloudDataplexV1DataQualityResult : Google.Apis.Requests.IDirectResponseSchema { - /// A list of results at the dimension level. + /// + /// A list of results at the dimension level.A dimension will have a corresponding DataQualityDimensionResult if + /// and only if there is at least one rule with the 'dimension' field set to it. + /// [Newtonsoft.Json.JsonPropertyAttribute("dimensions")] public virtual System.Collections.Generic.IList Dimensions { get; set; } 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 dd5747f11b9..fe91e76e3a4 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.62.1.3201 + 1.62.1.3212 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj index 94647db6d72..eb63710e656 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1/Google.Apis.CloudDomains.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1 Client Library - 1.62.0.3168 + 1.62.1.3212 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj index 32ac32534d2..74886b332c3 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1alpha2/Google.Apis.CloudDomains.v1alpha2.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1alpha2 Client Library - 1.62.0.3168 + 1.62.1.3212 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj index 0787ce83ead..4cffba492b3 100644 --- a/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudDomains.v1beta1/Google.Apis.CloudDomains.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudDomains.v1beta1 Client Library - 1.62.0.3168 + 1.62.1.3212 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj b/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj index 59b2c46960b..e68f95ee654 100644 --- a/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj +++ b/Src/Generated/Google.Apis.CloudFilestore.v1/Google.Apis.CloudFilestore.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFilestore.v1 Client Library - 1.62.0.3136 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj b/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj index 0fdf2e0fe3f..1b4197652c3 100644 --- a/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj +++ b/Src/Generated/Google.Apis.CloudFilestore.v1beta1/Google.Apis.CloudFilestore.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudFilestore.v1beta1 Client Library - 1.62.0.3136 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs index b0d7a3768e2..59312b4da4b 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1/Google.Apis.CloudResourceManager.v1.cs @@ -1382,7 +1382,7 @@ protected override void InitParameters() /// Searches Organization resources that are visible to the user and satisfy the specified filter. This method /// returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the /// results. Search will only return organizations on which the user has the permission - /// `resourcemanager.organizations.get` + /// `resourcemanager.organizations.get` or has super admin privileges. /// /// The body of the request. public virtual SearchRequest Search(Google.Apis.CloudResourceManager.v1.Data.SearchOrganizationsRequest body) @@ -1394,7 +1394,7 @@ public virtual SearchRequest Search(Google.Apis.CloudResourceManager.v1.Data.Sea /// Searches Organization resources that are visible to the user and satisfy the specified filter. This method /// returns Organizations in an unspecified order. New Organizations do not necessarily appear at the end of the /// results. Search will only return organizations on which the user has the permission - /// `resourcemanager.organizations.get` + /// `resourcemanager.organizations.get` or has super admin privileges. /// public class SearchRequest : CloudResourceManagerBaseServiceRequest { @@ -2342,15 +2342,15 @@ protected override void InitParameters() /// owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be /// granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud /// Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a - /// member by using the GCP Console. Inviting a member will deliver an invitation email that they must accept. - /// An invitation email is not generated if you are granting a role other than owner, or if both the member you - /// are inviting and the project are part of your organization. + If the project is not part of an organization, - /// there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. - /// Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction - /// also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies - /// will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an - /// organization, you can remove all owners, potentially making the organization inaccessible. Authorization - /// requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project + /// member by using the Google Cloud console. Inviting a member will deliver an invitation email that they must + /// accept. An invitation email is not generated if you are granting a role other than owner, or if both the + /// member you are inviting and the project are part of your organization. + If the project is not part of an + /// organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the + /// policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This + /// restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to + /// IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part + /// of an organization, you can remove all owners, potentially making the organization inaccessible. + /// Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project /// /// The body of the request. /// @@ -2377,15 +2377,15 @@ public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.CloudResourceManager /// owner, a user must be invited via Cloud Platform console and must accept the invitation. + A user cannot be /// granted the owner role using `setIamPolicy()`. The user must be granted the owner role using the Cloud /// Platform Console and must explicitly accept the invitation. + You can only grant ownership of a project to a - /// member by using the GCP Console. Inviting a member will deliver an invitation email that they must accept. - /// An invitation email is not generated if you are granting a role other than owner, or if both the member you - /// are inviting and the project are part of your organization. + If the project is not part of an organization, - /// there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the policy. - /// Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This restriction - /// also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to IAM policies - /// will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part of an - /// organization, you can remove all owners, potentially making the organization inaccessible. Authorization - /// requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project + /// member by using the Google Cloud console. Inviting a member will deliver an invitation email that they must + /// accept. An invitation email is not generated if you are granting a role other than owner, or if both the + /// member you are inviting and the project are part of your organization. + If the project is not part of an + /// organization, there must be at least one owner who has accepted the Terms of Service (ToS) agreement in the + /// policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner from the policy will fail. This + /// restriction also applies to legacy projects that no longer have owners who have accepted the ToS. Edits to + /// IAM policies will be rejected until the lack of a ToS-accepting owner is rectified. If the project is part + /// of an organization, you can remove all owners, potentially making the organization inaccessible. + /// Authorization requires the Google IAM permission `resourcemanager.projects.setIamPolicy` on the project /// public class SetIamPolicyRequest : CloudResourceManagerBaseServiceRequest { @@ -3786,9 +3786,9 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset } /// - /// A human-readable string that refers to the Organization in the GCP Console UI. This string is set by the - /// server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of - /// the G Suite customer that owns the organization. + /// A human-readable string that refers to the Organization in the Google Cloud console. This string is set by + /// the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") + /// of the G Suite customer that owns the organization. /// [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } 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 3fcde0b0651..e846cda5091 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.62.0.3139 + 1.62.1.3216 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs index 252aae7701f..fd05dbe0c4b 100644 --- a/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs +++ b/Src/Generated/Google.Apis.CloudResourceManager.v1beta1/Google.Apis.CloudResourceManager.v1beta1.cs @@ -1979,9 +1979,9 @@ public virtual System.DateTimeOffset? CreationTimeDateTimeOffset } /// - /// A human-readable string that refers to the Organization in the GCP Console UI. This string is set by the - /// server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of - /// the G Suite customer that owns the organization. + /// A human-readable string that refers to the Organization in the Google Cloud console. This string is set by + /// the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") + /// of the G Suite customer that owns the organization. /// [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } 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 47a8ea4aeb6..465c6fd5248 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.62.0.3139 + 1.62.1.3216 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + 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 6efc5f27cd6..b67883c073d 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 @@ -1684,7 +1684,7 @@ protected override void InitParameters() /// Searches organization resources that are visible to the user and satisfy the specified filter. This method /// returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the /// results, and may take a small amount of time to appear. Search will only return organizations on which the - /// user has the permission `resourcemanager.organizations.get` + /// user has the permission `resourcemanager.organizations.get` or has super admin privileges. /// public virtual SearchRequest Search() { @@ -1695,7 +1695,7 @@ public virtual SearchRequest Search() /// Searches organization resources that are visible to the user and satisfy the specified filter. This method /// returns organizations in an unspecified order. New organizations do not necessarily appear at the end of the /// results, and may take a small amount of time to appear. Search will only return organizations on which the - /// user has the permission `resourcemanager.organizations.get` + /// user has the permission `resourcemanager.organizations.get` or has super admin privileges. /// public class SearchRequest : CloudResourceManagerBaseServiceRequest { @@ -2403,7 +2403,7 @@ protected override void InitParameters() } /// - /// Search for projects that the caller has both `resourcemanager.projects.get` permission on, and also satisfy + /// Search for projects that the caller has the `resourcemanager.projects.get` permission on, and also satisfy /// the specified query. This method returns projects in an unspecified order. This method is eventually /// consistent with project mutations; this means that a newly created project may not appear in the results or /// recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a @@ -2415,7 +2415,7 @@ public virtual SearchRequest Search() } /// - /// Search for projects that the caller has both `resourcemanager.projects.get` permission on, and also satisfy + /// Search for projects that the caller has the `resourcemanager.projects.get` permission on, and also satisfy /// the specified query. This method returns projects in an unspecified order. This method is eventually /// consistent with project mutations; this means that a newly created project may not appear in the results or /// recent updates to an existing project may not be reflected in the results. To retrieve the latest state of a 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 d446cce9e13..6402b51f760 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.62.0.3139 + 1.62.1.3216 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs index d1f996ae196..4aa4b3011c1 100644 --- a/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs +++ b/Src/Generated/Google.Apis.CloudRun.v1/Google.Apis.CloudRun.v1.cs @@ -7130,11 +7130,12 @@ public class ObjectMeta : Google.Apis.Requests.IDirectResponseSchema /// Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * /// `run.googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.com/gc-traffic-tags`: /// Service. * `run.googleapis.com/ingress`: Service. * `run.googleapis.com/launch-stage`: Service, Job. * - /// `run.googleapis.com/network-interfaces`: Revision, Execution. * - /// `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: Revision, - /// Execution. * `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/sessionAffinity`: - /// Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * `run.googleapis.com/vpc-access-connector`: - /// Revision, Execution. * `run.googleapis.com/vpc-access-egress`: Revision, Execution. + /// `run.googleapis.com/minScale`: Service (ALPHA) * `run.googleapis.com/network-interfaces`: Revision, + /// Execution. * `run.googleapis.com/post-key-revocation-action-type`: Revision. * `run.googleapis.com/secrets`: + /// Revision, Execution. * `run.googleapis.com/secure-session-agent`: Revision. * + /// `run.googleapis.com/sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision. * + /// `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.googleapis.com/vpc-access-egress`: + /// Revision, Execution. /// [Newtonsoft.Json.JsonPropertyAttribute("annotations")] public virtual System.Collections.Generic.IDictionary Annotations { get; set; } 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 e0b866e20ba..f9244d2e2cc 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.62.1.3202 + 1.62.1.3216 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs index 0311bb3efd1..6712393ff6c 100644 --- a/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs +++ b/Src/Generated/Google.Apis.CloudRun.v2/Google.Apis.CloudRun.v2.cs @@ -4804,6 +4804,10 @@ public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("satisfiesPzs")] public virtual System.Nullable SatisfiesPzs { get; set; } + /// Optional. Specifies service-level scaling settings + [Newtonsoft.Json.JsonPropertyAttribute("scaling")] + public virtual GoogleCloudRunV2ServiceScaling Scaling { get; set; } + /// Required. The template used to create revisions for this Service. [Newtonsoft.Json.JsonPropertyAttribute("template")] public virtual GoogleCloudRunV2RevisionTemplate Template { get; set; } @@ -4879,6 +4883,20 @@ public virtual System.DateTimeOffset? UpdateTimeDateTimeOffset public virtual string Uri { get; set; } } + /// Scaling settings that apply to the service as a whole rather than the individual revision. + public class GoogleCloudRunV2ServiceScaling : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// total min instances for the service. This number of instances will be divide among all revisions with + /// specified traffic based on the percent of traffic they are receiving. (ALPHA) + /// + [Newtonsoft.Json.JsonPropertyAttribute("minInstanceCount")] + public virtual System.Nullable MinInstanceCount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// TCPSocketAction describes an action based on opening a socket public class GoogleCloudRunV2TCPSocketAction : Google.Apis.Requests.IDirectResponseSchema { 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 7f66585a957..e2c00a2e8f3 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.62.1.3202 + 1.62.1.3216 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs index d190fa2b936..490cde05108 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.cs @@ -2786,8 +2786,10 @@ public class Container : Google.Apis.Requests.IDirectResponseSchema /// of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can /// create your own [custom container /// images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the - /// `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have - /// permission to pull the specified image. Otherwise, the image must be publicly accessible. + /// `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a + /// custom container image, the service account must have [Artifact Registry + /// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the + /// specified image. Otherwise, the image must be publicly accessible. /// [Newtonsoft.Json.JsonPropertyAttribute("image")] public virtual string Image { get; set; } @@ -2959,11 +2961,13 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema /// Optional. The email address of the service account for Cloud Workstations VMs created with this /// configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on /// the project so it can write logs out to Cloud Logging. If using a custom container image, the service - /// account must have permissions to pull the specified image. If you as the administrator want to be able to - /// `ssh` into the underlying VM, you need to set this value to a service account for which you have the - /// `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the - /// underlying VM, use a service account where no one has that permission. If not set, VMs run with a service - /// account provided by the Cloud Workstations service, and the image must be publicly accessible. + /// account must have [Artifact Registry + /// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the + /// specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to + /// set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. + /// Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where + /// no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations + /// service, and the image must be publicly accessible. /// [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj index 47ee8abccf5..10e77d1c769 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1/Google.Apis.CloudWorkstations.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudWorkstations.v1 Client Library - 1.62.1.3195 + 1.62.1.3212 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs index 1f309574b67..628219b3e84 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.cs @@ -2669,8 +2669,10 @@ public class Container : Google.Apis.Requests.IDirectResponseSchema /// of [preconfigured images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can /// create your own [custom container /// images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the - /// `host.gceInstance.serviceAccount` field must be specified in the workstation configuration and must have - /// permission to pull the specified image. Otherwise, the image must be publicly accessible. + /// `host.gceInstance.serviceAccount` field must be specified in the workstation configuration. If using a + /// custom container image, the service account must have [Artifact Registry + /// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the + /// specified image. Otherwise, the image must be publicly accessible. /// [Newtonsoft.Json.JsonPropertyAttribute("image")] public virtual string Image { get; set; } @@ -2875,11 +2877,13 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema /// Optional. The email address of the service account for Cloud Workstations VMs created with this /// configuration. When specified, be sure that the service account has `logginglogEntries.create` permission on /// the project so it can write logs out to Cloud Logging. If using a custom container image, the service - /// account must have permissions to pull the specified image. If you as the administrator want to be able to - /// `ssh` into the underlying VM, you need to set this value to a service account for which you have the - /// `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the - /// underlying VM, use a service account where no one has that permission. If not set, VMs run with a service - /// account provided by the Cloud Workstations service, and the image must be publicly accessible. + /// account must have [Artifact Registry + /// Reader](https://cloud.google.com/artifact-registry/docs/access-control#roles) permission to pull the + /// specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to + /// set this value to a service account for which you have the `iam.serviceAccounts.actAs` permission. + /// Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where + /// no one has that permission. If not set, VMs run with a service account provided by the Cloud Workstations + /// service, and the image must be publicly accessible. /// [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } diff --git a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj index b6895bf8c7e..43746f32fca 100644 --- a/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj +++ b/Src/Generated/Google.Apis.CloudWorkstations.v1beta/Google.Apis.CloudWorkstations.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.CloudWorkstations.v1beta Client Library - 1.62.1.3205 + 1.62.1.3212 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs index 26b69353876..c5544236552 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.cs @@ -26519,6 +26519,133 @@ protected override void InitParameters() } } + /// + /// Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - + /// instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, + /// using network_interface_name field; Only VLAN interface deletion is supported for now. + /// + /// Project ID for this request. + /// The name of the zone for this request. + /// + /// The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned + /// long integer. + /// + /// + /// The name of the network interface to be deleted from the instance. Only VLAN network interface deletion is + /// supported. + /// + public virtual DeleteNetworkInterfaceRequest DeleteNetworkInterface(string project, string zone, string instance, string networkInterfaceName) + { + return new DeleteNetworkInterfaceRequest(service, project, zone, instance, networkInterfaceName); + } + + /// + /// Deletes one network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - + /// instance from which to delete, using project+zone+resource_id fields; - network interface to be deleted, + /// using network_interface_name field; Only VLAN interface deletion is supported for now. + /// + public class DeleteNetworkInterfaceRequest : ComputeBaseServiceRequest + { + /// Constructs a new DeleteNetworkInterface request. + public DeleteNetworkInterfaceRequest(Google.Apis.Services.IClientService service, string project, string zone, string instance, string networkInterfaceName) : base(service) + { + Project = project; + Zone = zone; + Instance = instance; + NetworkInterfaceName = networkInterfaceName; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the zone for this request. + [Google.Apis.Util.RequestParameterAttribute("zone", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Zone { get; private set; } + + /// + /// The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an + /// unsigned long integer. + /// + [Google.Apis.Util.RequestParameterAttribute("instance", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Instance { get; private set; } + + /// + /// The name of the network interface to be deleted from the instance. Only VLAN network interface deletion + /// is supported. + /// + [Google.Apis.Util.RequestParameterAttribute("networkInterfaceName", Google.Apis.Util.RequestParameterType.Query)] + public virtual string NetworkInterfaceName { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "deleteNetworkInterface"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface"; + + /// Initializes DeleteNetworkInterface 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("zone", new Google.Apis.Discovery.Parameter + { + Name = "zone", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + }); + RequestParameters.Add("instance", new Google.Apis.Discovery.Parameter + { + Name = "instance", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("networkInterfaceName", new Google.Apis.Discovery.Parameter + { + Name = "networkInterfaceName", + IsRequired = true, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Detaches a disk from an instance. /// Project ID for this request. /// The name of the zone for this request. @@ -100325,18 +100452,18 @@ public class BackendService : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Id { get; set; } /// - /// Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The - /// possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance - /// Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. - /// Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - - /// PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there - /// is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service - /// (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to - /// the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to - /// either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional - /// External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional - /// Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy - /// proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). + /// Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for + /// proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend + /// service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the + /// client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the + /// default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 + /// address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of + /// the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic + /// from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This + /// field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme + /// EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme + /// INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - + /// Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). /// [Newtonsoft.Json.JsonPropertyAttribute("ipAddressSelectionPolicy")] public virtual string IpAddressSelectionPolicy { get; set; } @@ -101998,6 +102125,15 @@ public class Commitment : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("endTimestamp")] public virtual string EndTimestamp { get; set; } + /// + /// Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can + /// be a full or partial URL. For example, the following are valid URLs to an reservation: - + /// https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - + /// projects/project/zones/zone/reservations/reservation + /// + [Newtonsoft.Json.JsonPropertyAttribute("existingReservations")] + public virtual System.Collections.Generic.IList ExistingReservations { get; set; } + /// /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. /// @@ -117242,14 +117378,6 @@ public class NetworkEndpoint : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("port")] public virtual System.Nullable Port { get; set; } - /// - /// The name of the zone where the instance hosting the network endpoint is located (valid only for regional - /// GCE_VM_IP_PORT NEGs). It should comply with RFC1035. The zone must belong to the region of the Network - /// Endpoint Group. - /// - [Newtonsoft.Json.JsonPropertyAttribute("zone")] - public virtual string Zone { get; set; } - /// The ETag of the item. public virtual string ETag { get; set; } } @@ -125204,6 +125332,10 @@ public class ResourcePolicyWeeklyCycleDayOfWeek : Google.Apis.Requests.IDirectRe /// public class ResourceStatus : Google.Apis.Requests.IDirectResponseSchema { + /// [Output Only] Contains last termination details why the instance was terminated. + [Newtonsoft.Json.JsonPropertyAttribute("lastInstanceTerminationDetails")] + public virtual ResourceStatusLastInstanceTerminationDetails LastInstanceTerminationDetails { get; set; } + /// [Output Only] An opaque ID of the host on which the VM is running. [Newtonsoft.Json.JsonPropertyAttribute("physicalHost")] public virtual string PhysicalHost { get; set; } @@ -125222,6 +125354,16 @@ public class ResourceStatus : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + public class ResourceStatusLastInstanceTerminationDetails : Google.Apis.Requests.IDirectResponseSchema + { + /// Reason for termination + [Newtonsoft.Json.JsonPropertyAttribute("terminationReason")] + public virtual string TerminationReason { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class ResourceStatusScheduling : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj index 28df5a7f0bc..ccfc9d9f695 100644 --- a/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj +++ b/Src/Generated/Google.Apis.Compute.alpha/Google.Apis.Compute.alpha.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.alpha Client Library - 1.62.1.3205 + 1.62.1.3211 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs index e401c5f24bd..abd505ce141 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.cs @@ -47325,6 +47325,87 @@ public PublicAdvertisedPrefixesResource(Google.Apis.Services.IClientService serv this.service = service; } + /// Announces the specified PublicAdvertisedPrefix + /// Project ID for this request. + /// + /// The name of the public advertised prefix. It should comply with RFC1035. + /// + public virtual AnnounceRequest Announce(string project, string publicAdvertisedPrefix) + { + return new AnnounceRequest(service, project, publicAdvertisedPrefix); + } + + /// Announces the specified PublicAdvertisedPrefix + public class AnnounceRequest : ComputeBaseServiceRequest + { + /// Constructs a new Announce request. + public AnnounceRequest(Google.Apis.Services.IClientService service, string project, string publicAdvertisedPrefix) : base(service) + { + Project = project; + PublicAdvertisedPrefix = publicAdvertisedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the public advertised prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicAdvertisedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicAdvertisedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "announce"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce"; + + /// Initializes Announce 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("publicAdvertisedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicAdvertisedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Deletes the specified PublicAdvertisedPrefix /// Project ID for this request. /// Name of the PublicAdvertisedPrefix resource to delete. @@ -47790,6 +47871,87 @@ protected override void InitParameters() }); } } + + /// Withdraws the specified PublicAdvertisedPrefix + /// Project ID for this request. + /// + /// The name of the public advertised prefix. It should comply with RFC1035. + /// + public virtual WithdrawRequest Withdraw(string project, string publicAdvertisedPrefix) + { + return new WithdrawRequest(service, project, publicAdvertisedPrefix); + } + + /// Withdraws the specified PublicAdvertisedPrefix + public class WithdrawRequest : ComputeBaseServiceRequest + { + /// Constructs a new Withdraw request. + public WithdrawRequest(Google.Apis.Services.IClientService service, string project, string publicAdvertisedPrefix) : base(service) + { + Project = project; + PublicAdvertisedPrefix = publicAdvertisedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the public advertised prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicAdvertisedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicAdvertisedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "withdraw"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw"; + + /// Initializes Withdraw 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("publicAdvertisedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicAdvertisedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// The "publicDelegatedPrefixes" collection of methods. @@ -47995,6 +48157,105 @@ protected override void InitParameters() } } + /// Announces the specified PublicDelegatedPrefix in the given region. + /// Project ID for this request. + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + /// + /// The name of the public delegated prefix. It should comply with RFC1035. + /// + public virtual AnnounceRequest Announce(string project, string region, string publicDelegatedPrefix) + { + return new AnnounceRequest(service, project, region, publicDelegatedPrefix); + } + + /// Announces the specified PublicDelegatedPrefix in the given region. + public class AnnounceRequest : ComputeBaseServiceRequest + { + /// Constructs a new Announce request. + public AnnounceRequest(Google.Apis.Services.IClientService service, string project, string region, string publicDelegatedPrefix) : base(service) + { + Project = project; + Region = region; + PublicDelegatedPrefix = publicDelegatedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// The name of the public delegated prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicDelegatedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicDelegatedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "announce"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce"; + + /// Initializes Announce 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("publicDelegatedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicDelegatedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Deletes the specified PublicDelegatedPrefix in the given region. /// Project ID for this request. /// Name of the region of this request. @@ -48530,6 +48791,105 @@ protected override void InitParameters() }); } } + + /// Withdraws the specified PublicDelegatedPrefix in the given region. + /// Project ID for this request. + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + /// + /// The name of the public delegated prefix. It should comply with RFC1035. + /// + public virtual WithdrawRequest Withdraw(string project, string region, string publicDelegatedPrefix) + { + return new WithdrawRequest(service, project, region, publicDelegatedPrefix); + } + + /// Withdraws the specified PublicDelegatedPrefix in the given region. + public class WithdrawRequest : ComputeBaseServiceRequest + { + /// Constructs a new Withdraw request. + public WithdrawRequest(Google.Apis.Services.IClientService service, string project, string region, string publicDelegatedPrefix) : base(service) + { + Project = project; + Region = region; + PublicDelegatedPrefix = publicDelegatedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// The name of the public delegated prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicDelegatedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicDelegatedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "withdraw"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw"; + + /// Initializes Withdraw 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("publicDelegatedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicDelegatedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// The "regionAutoscalers" collection of methods. @@ -92582,18 +92942,18 @@ public class BackendService : Google.Apis.Requests.IDirectResponseSchema public virtual System.Nullable Id { get; set; } /// - /// Specifies preference of traffic to the backend (from the proxy and from the client for proxyless gRPC). The - /// possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the Backend Service (Instance - /// Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. - /// Only IPv4 health-checks are used to check the health of the backends. This is the default setting. - - /// PREFER_IPV6: Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there - /// is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the Backend Service - /// (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to - /// the proxy. Only IPv6 health-checks are used to check the health of the backends. This field is applicable to - /// either: - Advanced Global External HTTPS Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional - /// External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), - Regional - /// Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy - /// proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). + /// Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for + /// proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend + /// service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the + /// client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the + /// default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 + /// address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of + /// the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic + /// from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This + /// field is applicable to either: - Advanced Global External HTTPS Load Balancing (load balancing scheme + /// EXTERNAL_MANAGED), - Regional External HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme + /// INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED), - + /// Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED). /// [Newtonsoft.Json.JsonPropertyAttribute("ipAddressSelectionPolicy")] public virtual string IpAddressSelectionPolicy { get; set; } @@ -112379,6 +112739,10 @@ public class ProjectsSetManagedProtectionTierRequest : Google.Apis.Requests.IDir /// public class PublicAdvertisedPrefix : Google.Apis.Requests.IDirectResponseSchema { + /// [Output Only] The version of BYOIP API. + [Newtonsoft.Json.JsonPropertyAttribute("byoipApiVersion")] + public virtual string ByoipApiVersion { get; set; } + /// [Output Only] Creation timestamp in RFC3339 text format. [Newtonsoft.Json.JsonPropertyAttribute("creationTimestamp")] public virtual string CreationTimestamp { get; set; } @@ -112429,6 +112793,16 @@ public class PublicAdvertisedPrefix : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Specifies how child public delegated prefix will be scoped. It could be one of following values: - + /// `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - + /// `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - + /// `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output + /// only value and no longer supported in BYOIP V2. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pdpScope")] + public virtual string PdpScope { get; set; } + /// /// [Output Only] The list of public delegated prefixes that exist for this public advertised prefix. /// @@ -112577,6 +112951,10 @@ public class PublicAdvertisedPrefixPublicDelegatedPrefix : Google.Apis.Requests. /// public class PublicDelegatedPrefix : Google.Apis.Requests.IDirectResponseSchema { + /// [Output Only] The version of BYOIP API. + [Newtonsoft.Json.JsonPropertyAttribute("byoipApiVersion")] + public virtual string ByoipApiVersion { get; set; } + /// [Output Only] Creation timestamp in RFC3339 text format. [Newtonsoft.Json.JsonPropertyAttribute("creationTimestamp")] public virtual string CreationTimestamp { get; set; } @@ -119112,6 +119490,10 @@ public class Snapshot : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("sourceDiskEncryptionKey")] public virtual CustomerEncryptionKey SourceDiskEncryptionKey { get; set; } + /// The source disk whose recovery checkpoint will be used to create this snapshot. + [Newtonsoft.Json.JsonPropertyAttribute("sourceDiskForRecoveryCheckpoint")] + public virtual string SourceDiskForRecoveryCheckpoint { get; set; } + /// /// [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine /// whether the snapshot was taken from the current or a previous instance of a given disk name. diff --git a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj index 41fb9d33745..f272dd7ec74 100644 --- a/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj +++ b/Src/Generated/Google.Apis.Compute.beta/Google.Apis.Compute.beta.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.beta Client Library - 1.62.1.3205 + 1.62.1.3211 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs index 97a1aeb65ae..8291655bfaa 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.cs @@ -109,6 +109,7 @@ public ComputeService(Google.Apis.Services.BaseClientService.Initializer initial Routes = new RoutesResource(this); SecurityPolicies = new SecurityPoliciesResource(this); ServiceAttachments = new ServiceAttachmentsResource(this); + SnapshotSettings = new SnapshotSettingsResource(this); Snapshots = new SnapshotsResource(this); SslCertificates = new SslCertificatesResource(this); SslPolicies = new SslPoliciesResource(this); @@ -425,6 +426,9 @@ public static class ScopeConstants /// Gets the ServiceAttachments resource. public virtual ServiceAttachmentsResource ServiceAttachments { get; } + /// Gets the SnapshotSettings resource. + public virtual SnapshotSettingsResource SnapshotSettings { get; } + /// Gets the Snapshots resource. public virtual SnapshotsResource Snapshots { get; } @@ -41129,6 +41133,87 @@ public PublicAdvertisedPrefixesResource(Google.Apis.Services.IClientService serv this.service = service; } + /// Announces the specified PublicAdvertisedPrefix + /// Project ID for this request. + /// + /// The name of the public advertised prefix. It should comply with RFC1035. + /// + public virtual AnnounceRequest Announce(string project, string publicAdvertisedPrefix) + { + return new AnnounceRequest(service, project, publicAdvertisedPrefix); + } + + /// Announces the specified PublicAdvertisedPrefix + public class AnnounceRequest : ComputeBaseServiceRequest + { + /// Constructs a new Announce request. + public AnnounceRequest(Google.Apis.Services.IClientService service, string project, string publicAdvertisedPrefix) : base(service) + { + Project = project; + PublicAdvertisedPrefix = publicAdvertisedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the public advertised prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicAdvertisedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicAdvertisedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "announce"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce"; + + /// Initializes Announce 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("publicAdvertisedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicAdvertisedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Deletes the specified PublicAdvertisedPrefix /// Project ID for this request. /// Name of the PublicAdvertisedPrefix resource to delete. @@ -41594,6 +41679,87 @@ protected override void InitParameters() }); } } + + /// Withdraws the specified PublicAdvertisedPrefix + /// Project ID for this request. + /// + /// The name of the public advertised prefix. It should comply with RFC1035. + /// + public virtual WithdrawRequest Withdraw(string project, string publicAdvertisedPrefix) + { + return new WithdrawRequest(service, project, publicAdvertisedPrefix); + } + + /// Withdraws the specified PublicAdvertisedPrefix + public class WithdrawRequest : ComputeBaseServiceRequest + { + /// Constructs a new Withdraw request. + public WithdrawRequest(Google.Apis.Services.IClientService service, string project, string publicAdvertisedPrefix) : base(service) + { + Project = project; + PublicAdvertisedPrefix = publicAdvertisedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// The name of the public advertised prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicAdvertisedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicAdvertisedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "withdraw"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw"; + + /// Initializes Withdraw 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("publicAdvertisedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicAdvertisedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// The "publicDelegatedPrefixes" collection of methods. @@ -41799,6 +41965,105 @@ protected override void InitParameters() } } + /// Announces the specified PublicDelegatedPrefix in the given region. + /// Project ID for this request. + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + /// + /// The name of the public delegated prefix. It should comply with RFC1035. + /// + public virtual AnnounceRequest Announce(string project, string region, string publicDelegatedPrefix) + { + return new AnnounceRequest(service, project, region, publicDelegatedPrefix); + } + + /// Announces the specified PublicDelegatedPrefix in the given region. + public class AnnounceRequest : ComputeBaseServiceRequest + { + /// Constructs a new Announce request. + public AnnounceRequest(Google.Apis.Services.IClientService service, string project, string region, string publicDelegatedPrefix) : base(service) + { + Project = project; + Region = region; + PublicDelegatedPrefix = publicDelegatedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// The name of the public delegated prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicDelegatedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicDelegatedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "announce"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce"; + + /// Initializes Announce 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("publicDelegatedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicDelegatedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + /// Deletes the specified PublicDelegatedPrefix in the given region. /// Project ID for this request. /// Name of the region of this request. @@ -42334,6 +42599,105 @@ protected override void InitParameters() }); } } + + /// Withdraws the specified PublicDelegatedPrefix in the given region. + /// Project ID for this request. + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + /// + /// The name of the public delegated prefix. It should comply with RFC1035. + /// + public virtual WithdrawRequest Withdraw(string project, string region, string publicDelegatedPrefix) + { + return new WithdrawRequest(service, project, region, publicDelegatedPrefix); + } + + /// Withdraws the specified PublicDelegatedPrefix in the given region. + public class WithdrawRequest : ComputeBaseServiceRequest + { + /// Constructs a new Withdraw request. + public WithdrawRequest(Google.Apis.Services.IClientService service, string project, string region, string publicDelegatedPrefix) : base(service) + { + Project = project; + Region = region; + PublicDelegatedPrefix = publicDelegatedPrefix; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// The name of the region where the public delegated prefix is located. It should comply with RFC1035. + /// + [Google.Apis.Util.RequestParameterAttribute("region", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Region { get; private set; } + + /// The name of the public delegated prefix. It should comply with RFC1035. + [Google.Apis.Util.RequestParameterAttribute("publicDelegatedPrefix", Google.Apis.Util.RequestParameterType.Path)] + public virtual string PublicDelegatedPrefix { get; private set; } + + /// + /// 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. 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; } + + /// Gets the method name. + public override string MethodName => "withdraw"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw"; + + /// Initializes Withdraw 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + RequestParameters.Add("region", new Google.Apis.Discovery.Parameter + { + Name = "region", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("publicDelegatedPrefix", new Google.Apis.Discovery.Parameter + { + Name = "publicDelegatedPrefix", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("requestId", new Google.Apis.Discovery.Parameter + { + Name = "requestId", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } } /// The "regionAutoscalers" collection of methods. @@ -65989,6 +66353,151 @@ protected override void InitParameters() } } + /// The "snapshotSettings" collection of methods. + public class SnapshotSettingsResource + { + private const string Resource = "snapshotSettings"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public SnapshotSettingsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Get snapshot settings. + /// Project ID for this request. + public virtual GetRequest Get(string project) + { + return new GetRequest(service, project); + } + + /// Get snapshot settings. + public class GetRequest : ComputeBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string project) : base(service) + { + Project = project; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { 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 => "projects/{project}/global/snapshotSettings"; + + /// Initializes Get 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + } + } + + /// Patch snapshot settings. + /// The body of the request. + /// Project ID for this request. + public virtual PatchRequest Patch(Google.Apis.Compute.v1.Data.SnapshotSettings body, string project) + { + return new PatchRequest(service, body, project); + } + + /// Patch snapshot settings. + public class PatchRequest : ComputeBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Compute.v1.Data.SnapshotSettings body, string project) : base(service) + { + Project = project; + Body = body; + InitParameters(); + } + + /// Project ID for this request. + [Google.Apis.Util.RequestParameterAttribute("project", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Project { get; private set; } + + /// + /// 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. 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; } + + /// update_mask indicates fields to be updated as part of this request. + [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.Compute.v1.Data.SnapshotSettings 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 => "projects/{project}/global/snapshotSettings"; + + /// Initializes Patch 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 = @"(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + }); + 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, + }); + } + } + } + /// The "snapshots" collection of methods. public class SnapshotsResource { @@ -99635,6 +100144,10 @@ public class ProjectsSetDefaultNetworkTierRequest : Google.Apis.Requests.IDirect /// public class PublicAdvertisedPrefix : Google.Apis.Requests.IDirectResponseSchema { + /// [Output Only] The version of BYOIP API. + [Newtonsoft.Json.JsonPropertyAttribute("byoipApiVersion")] + public virtual string ByoipApiVersion { get; set; } + /// [Output Only] Creation timestamp in RFC3339 text format. [Newtonsoft.Json.JsonPropertyAttribute("creationTimestamp")] public virtual string CreationTimestamp { get; set; } @@ -99685,6 +100198,16 @@ public class PublicAdvertisedPrefix : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } + /// + /// Specifies how child public delegated prefix will be scoped. It could be one of following values: - + /// `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - + /// `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - + /// `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output + /// only value and no longer supported in BYOIP V2. + /// + [Newtonsoft.Json.JsonPropertyAttribute("pdpScope")] + public virtual string PdpScope { get; set; } + /// /// [Output Only] The list of public delegated prefixes that exist for this public advertised prefix. /// @@ -99833,6 +100356,10 @@ public class PublicAdvertisedPrefixPublicDelegatedPrefix : Google.Apis.Requests. /// public class PublicDelegatedPrefix : Google.Apis.Requests.IDirectResponseSchema { + /// [Output Only] The version of BYOIP API. + [Newtonsoft.Json.JsonPropertyAttribute("byoipApiVersion")] + public virtual string ByoipApiVersion { get; set; } + /// [Output Only] Creation timestamp in RFC3339 text format. [Newtonsoft.Json.JsonPropertyAttribute("creationTimestamp")] public virtual string CreationTimestamp { get; set; } @@ -105801,6 +106328,10 @@ public class Snapshot : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("sourceDiskEncryptionKey")] public virtual CustomerEncryptionKey SourceDiskEncryptionKey { get; set; } + /// The source disk whose recovery checkpoint will be used to create this snapshot. + [Newtonsoft.Json.JsonPropertyAttribute("sourceDiskForRecoveryCheckpoint")] + public virtual string SourceDiskForRecoveryCheckpoint { get; set; } + /// /// [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine /// whether the snapshot was taken from the current or a previous instance of a given disk name. @@ -105924,6 +106455,47 @@ public class DataData } } + public class SnapshotSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Policy of which storage location is going to be resolved, and additional data that particularizes how the + /// policy is going to be carried out. + /// + [Newtonsoft.Json.JsonPropertyAttribute("storageLocation")] + public virtual SnapshotSettingsStorageLocationSettings StorageLocation { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + public class SnapshotSettingsStorageLocationSettings : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys + /// are GCS bucket locations. + /// + [Newtonsoft.Json.JsonPropertyAttribute("locations")] + public virtual System.Collections.Generic.IDictionary Locations { get; set; } + + /// The chosen location policy. + [Newtonsoft.Json.JsonPropertyAttribute("policy")] + public virtual string Policy { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A structure for specifying storage locations. + public class SnapshotSettingsStorageLocationSettingsStorageLocationPreference : Google.Apis.Requests.IDirectResponseSchema + { + /// Name of the location. It should be one of the GCS buckets. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + public class SourceDiskEncryptionKey : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj index 914928568f9..dfe82248787 100644 --- a/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj +++ b/Src/Generated/Google.Apis.Compute.v1/Google.Apis.Compute.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Compute.v1 Client Library - 1.62.1.3205 + 1.62.1.3211 Google LLC Copyright 2023 Google LLC Google 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 b90b7a99371..333e828cce4 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 @@ -3341,6 +3341,12 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("failedAnalysesCount")] public virtual System.Nullable FailedAnalysesCount { get; set; } + /// + /// Output only. Partial errors during ingest operation that might cause the operation output to be incomplete. + /// + [Newtonsoft.Json.JsonPropertyAttribute("partialErrors")] + public virtual System.Collections.Generic.IList PartialErrors { get; set; } + /// The original request for bulk analyze. [Newtonsoft.Json.JsonPropertyAttribute("request")] public virtual GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest Request { get; set; } @@ -3841,7 +3847,7 @@ public class GoogleCloudContactcenterinsightsV1ConversationCallMetadata : Google public virtual string ETag { get; set; } } - /// The conversation source, which is a combination of transcript and audio. + /// The conversation source, which is a combination of transcript, audio, and metadata. public class GoogleCloudContactcenterinsightsV1ConversationDataSource : Google.Apis.Requests.IDirectResponseSchema { /// The source when the conversation comes from Dialogflow. @@ -6825,6 +6831,12 @@ public virtual System.DateTimeOffset? EndTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("failedAnalysesCount")] public virtual System.Nullable FailedAnalysesCount { get; set; } + /// + /// Output only. Partial errors during ingest operation that might cause the operation output to be incomplete. + /// + [Newtonsoft.Json.JsonPropertyAttribute("partialErrors")] + public virtual System.Collections.Generic.IList PartialErrors { get; set; } + /// The original request for bulk analyze. [Newtonsoft.Json.JsonPropertyAttribute("request")] public virtual GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest Request { get; set; } @@ -7187,7 +7199,7 @@ public class GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata : public virtual string ETag { get; set; } } - /// The conversation source, which is a combination of transcript and audio. + /// The conversation source, which is a combination of transcript, audio, and metadata. public class GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource : Google.Apis.Requests.IDirectResponseSchema { /// The source when the conversation comes from Dialogflow. 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 79f74509ea3..eae2c6173f1 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.62.1.3187 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google 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 b41b1c27372..93342816394 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 @@ -7427,6 +7427,13 @@ public class ClusterUpdate : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigNetworkTags")] public virtual NetworkTags DesiredNodePoolAutoConfigNetworkTags { get; set; } + /// + /// The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and + /// node auto-provisioning enabled clusters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigResourceManagerTags")] + public virtual ResourceManagerTags DesiredNodePoolAutoConfigResourceManagerTags { get; set; } + /// /// Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in /// the cluster and desired_node_pool_id is not provided then the change applies to that single node pool. @@ -9043,6 +9050,10 @@ public class NodeConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("resourceLabels")] public virtual System.Collections.Generic.IDictionary ResourceLabels { get; set; } + /// A map of resource manager tag keys and values to be attached to the nodes. + [Newtonsoft.Json.JsonPropertyAttribute("resourceManagerTags")] + public virtual ResourceManagerTags ResourceManagerTags { get; set; } + /// Sandbox configuration for this node. [Newtonsoft.Json.JsonPropertyAttribute("sandboxConfig")] public virtual SandboxConfig SandboxConfig { get; set; } @@ -9409,6 +9420,13 @@ public class NodePoolAutoConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("networkTags")] public virtual NetworkTags NetworkTags { get; set; } + /// + /// Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using + /// Network Firewall Policies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceManagerTags")] + public virtual ResourceManagerTags ResourceManagerTags { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -9944,6 +9962,26 @@ public class ResourceLimit : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls + /// using Network Firewall Policies. Tags must be according to specifications in + /// https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can + /// be specified. Existing tags will be replaced with new values. + /// + public class ResourceManagerTags : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. + /// `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. + /// `{project_id}/{tag_key_name}={tag_value_name}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IDictionary Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Configuration for exporting cluster resource usages. public class ResourceUsageExportConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -11180,6 +11218,13 @@ public class UpdateNodePoolRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("resourceLabels")] public virtual ResourceLabels ResourceLabels { get; set; } + /// + /// Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine + /// firewalls using Network Firewall Policies. Existing tags will be replaced with new values. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceManagerTags")] + public virtual ResourceManagerTags ResourceManagerTags { get; set; } + /// /// The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags /// will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags. 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 fe7315e458f..fc2d09dd96b 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.62.1.3183 + 1.62.1.3206 Google LLC Copyright 2023 Google LLC Google 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 15f2e143971..7f8b484ca00 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 @@ -7601,6 +7601,13 @@ public class ClusterUpdate : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigNetworkTags")] public virtual NetworkTags DesiredNodePoolAutoConfigNetworkTags { get; set; } + /// + /// The desired resource manager tags that apply to all auto-provisioned node pools in autopilot clusters and + /// node auto-provisioning enabled clusters. + /// + [Newtonsoft.Json.JsonPropertyAttribute("desiredNodePoolAutoConfigResourceManagerTags")] + public virtual ResourceManagerTags DesiredNodePoolAutoConfigResourceManagerTags { get; set; } + /// /// Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in /// the cluster and desired_node_pool_id is not provided then the change applies to that single node pool. @@ -8292,6 +8299,10 @@ public class HostMaintenancePolicy : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("maintenanceInterval")] public virtual string MaintenanceInterval { get; set; } + /// Strategy that will trigger maintenance on behalf of the customer. + [Newtonsoft.Json.JsonPropertyAttribute("opportunisticMaintenanceStrategy")] + public virtual OpportunisticMaintenanceStrategy OpportunisticMaintenanceStrategy { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -9420,6 +9431,10 @@ public class NodeConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("resourceLabels")] public virtual System.Collections.Generic.IDictionary ResourceLabels { get; set; } + /// A map of resource manager tag keys and values to be attached to the nodes. + [Newtonsoft.Json.JsonPropertyAttribute("resourceManagerTags")] + public virtual ResourceManagerTags ResourceManagerTags { get; set; } + /// Sandbox configuration for this node. [Newtonsoft.Json.JsonPropertyAttribute("sandboxConfig")] public virtual SandboxConfig SandboxConfig { get; set; } @@ -9794,6 +9809,13 @@ public class NodePoolAutoConfig : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("networkTags")] public virtual NetworkTags NetworkTags { get; set; } + /// + /// Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using + /// Network Firewall Policies. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceManagerTags")] + public virtual ResourceManagerTags ResourceManagerTags { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -10044,6 +10066,36 @@ public class OperationProgress : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Strategy that will trigger maintenance on behalf of the customer. + public class OpportunisticMaintenanceStrategy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that + /// opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. + /// Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all + /// `PERIODIC` maintenance is set 28 days in advance). + /// + [Newtonsoft.Json.JsonPropertyAttribute("maintenanceAvailabilityWindow")] + public virtual object MaintenanceAvailabilityWindow { get; set; } + + /// + /// The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of + /// running nodes to dip below this value. + /// + [Newtonsoft.Json.JsonPropertyAttribute("minNodesPerPool")] + public virtual System.Nullable MinNodesPerPool { get; set; } + + /// + /// The amount of time that a node can remain idle (no customer owned workloads running), before triggering + /// maintenance. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nodeIdleTimeWindow")] + public virtual object NodeIdleTimeWindow { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google /// internal products that are built on top of a GKE cluster and take the ownership of the cluster. @@ -10376,6 +10428,26 @@ public class ResourceLimit : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls + /// using Network Firewall Policies. Tags must be according to specifications in + /// https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can + /// be specified. Existing tags will be replaced with new values. + /// + public class ResourceManagerTags : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Tags must be in one of the following formats ([KEY]=[VALUE]) 1. + /// `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. + /// `{project_id}/{tag_key_name}={tag_value_name}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("tags")] + public virtual System.Collections.Generic.IDictionary Tags { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Configuration for exporting cluster resource usages. public class ResourceUsageExportConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -11641,6 +11713,13 @@ public class UpdateNodePoolRequest : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("resourceLabels")] public virtual ResourceLabels ResourceLabels { get; set; } + /// + /// Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine + /// firewalls using Network Firewall Policies. Existing tags will be replaced with new values. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceManagerTags")] + public virtual ResourceManagerTags ResourceManagerTags { get; set; } + /// /// The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags /// will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags. 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 0f23cc9b555..cd6a3d13c52 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.62.1.3183 + 1.62.1.3206 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs index d8f8e25ce2f..9f3b2da18ce 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.cs @@ -6762,6 +6762,13 @@ public virtual System.DateTimeOffset? CurrentStateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("runtimeUpdatableParams")] public virtual RuntimeUpdatableParams RuntimeUpdatableParams { get; set; } + /// + /// Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if + /// it is set in any requests. + /// + [Newtonsoft.Json.JsonPropertyAttribute("satisfiesPzi")] + public virtual System.Nullable SatisfiesPzi { get; set; } + /// /// Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in /// any requests. diff --git a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj index 31e323d9f99..f25e8222757 100644 --- a/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj +++ b/Src/Generated/Google.Apis.Dataflow.v1b3/Google.Apis.Dataflow.v1b3.csproj @@ -3,7 +3,7 @@ Google.Apis.Dataflow.v1b3 Client Library - 1.62.1.3193 + 1.62.1.3215 Google LLC Copyright 2023 Google LLC Google 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 f19b7a50335..4205596552a 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 @@ -26568,6 +26568,32 @@ public class GoogleCloudDialogflowV2DtmfParameters : Google.Apis.Requests.IDirec public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -27783,6 +27809,32 @@ public class GoogleCloudDialogflowV2ImportDocumentsResponse : Google.Apis.Reques public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Instructs the speech recognizer how to process the audio content. public class GoogleCloudDialogflowV2InputAudioConfig : Google.Apis.Requests.IDirectResponseSchema { @@ -31063,6 +31115,32 @@ public class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer : Google.Apis.Re public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2beta1EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -31287,6 +31365,32 @@ public class GoogleCloudDialogflowV2beta1ImportDocumentsResponse : Google.Apis.R public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2beta1EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many /// intents, where your combined intents can handle a complete conversation. When an end-user writes or says 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 60e08ad5fc3..73466355f10 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.62.1.3196 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google 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 9be1e2dcc47..3325dea0443 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 @@ -24249,6 +24249,32 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -24544,6 +24570,32 @@ public class GoogleCloudDialogflowV2ImportDocumentsResponse : Google.Apis.Reques public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// InputDataset used to create model or do evaluation. NextID:5 public class GoogleCloudDialogflowV2InputDataset : Google.Apis.Requests.IDirectResponseSchema { @@ -27898,6 +27950,32 @@ public class GoogleCloudDialogflowV2beta1DtmfParameters : Google.Apis.Requests.I public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2beta1EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -28962,6 +29040,32 @@ public class GoogleCloudDialogflowV2beta1ImportDocumentsResponse : Google.Apis.R public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2beta1EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Instructs the speech recognizer on how to process the audio content. public class GoogleCloudDialogflowV2beta1InputAudioConfig : Google.Apis.Requests.IDirectResponseSchema { 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 8963085907e..e416ff43a6d 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.62.1.3196 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs index 6a3427c8fc3..ce919e2be7f 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.cs @@ -18362,6 +18362,32 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -18657,6 +18683,32 @@ public class GoogleCloudDialogflowV2ImportDocumentsResponse : Google.Apis.Reques public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// InputDataset used to create model or do evaluation. NextID:5 public class GoogleCloudDialogflowV2InputDataset : Google.Apis.Requests.IDirectResponseSchema { @@ -20490,6 +20542,32 @@ public class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer : Google.Apis.Re public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2beta1EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -20714,6 +20792,32 @@ public class GoogleCloudDialogflowV2beta1ImportDocumentsResponse : Google.Apis.R public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2beta1EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many /// intents, where your combined intents can handle a complete conversation. When an end-user writes or says diff --git a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj index d39f765e4b0..a9f50b18264 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3/Google.Apis.Dialogflow.v3.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3 Client Library - 1.62.1.3205 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs index cd81b6a33b4..c98355f2c59 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.cs @@ -18337,6 +18337,32 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -18632,6 +18658,32 @@ public class GoogleCloudDialogflowV2ImportDocumentsResponse : Google.Apis.Reques public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// InputDataset used to create model or do evaluation. NextID:5 public class GoogleCloudDialogflowV2InputDataset : Google.Apis.Requests.IDirectResponseSchema { @@ -20465,6 +20517,32 @@ public class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer : Google.Apis.Re public virtual string ETag { get; set; } } + /// + /// A customer-managed encryption key specification that can be applied to all created resources (e.g. + /// Conversation). + /// + public class GoogleCloudDialogflowV2beta1EncryptionSpec : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The name of customer-managed encryption key that is used to secure a resource and its + /// sub-resources. If empty, the resource is secured by the default Google encryption key. Only the key in the + /// same location as this resource is allowed to be used for encryption. Format: + /// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` + /// + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// + /// Immutable. The resource name of the encryption key specification resource. Format: + /// projects/{project}/locations/{location}/encryptionSpec + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user /// expression is extracted. Dialogflow provides predefined system entities that can match many common types of @@ -20689,6 +20767,32 @@ public class GoogleCloudDialogflowV2beta1ImportDocumentsResponse : Google.Apis.R public virtual string ETag { get; set; } } + /// Metadata for initializing a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Output only. The original request for initialization. + [Newtonsoft.Json.JsonPropertyAttribute("request")] + public virtual GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest Request { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The request to initialize a location-level encryption specification. + public class GoogleCloudDialogflowV2beta1InitializeEncryptionSpecRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same + /// region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. + /// If the kms_key_name is left empty, no encryption will be enforced. + /// + [Newtonsoft.Json.JsonPropertyAttribute("encryptionSpec")] + public virtual GoogleCloudDialogflowV2beta1EncryptionSpec EncryptionSpec { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many /// intents, where your combined intents can handle a complete conversation. When an end-user writes or says diff --git a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj index 64d9a4a4f07..64bedf1e0d5 100644 --- a/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj +++ b/Src/Generated/Google.Apis.Dialogflow.v3beta1/Google.Apis.Dialogflow.v3beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Dialogflow.v3beta1 Client Library - 1.62.1.3205 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs index 02657e5cfaf..d55242515d5 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.cs @@ -1330,6 +1330,10 @@ public class Conversion : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("adId")] public virtual System.Nullable AdId { get; set; } + /// Ad user data consent for this conversion. + [Newtonsoft.Json.JsonPropertyAttribute("adUserDataConsent")] + public virtual string AdUserDataConsent { get; set; } + /// DS advertiser ID. [Newtonsoft.Json.JsonPropertyAttribute("advertiserId")] public virtual System.Nullable AdvertiserId { get; set; } diff --git a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj index 5534de61c8e..0f044017130 100644 --- a/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj +++ b/Src/Generated/Google.Apis.Doubleclicksearch.v2/Google.Apis.Doubleclicksearch.v2.csproj @@ -3,7 +3,7 @@ Google.Apis.Doubleclicksearch.v2 Client Library - 1.62.0.2868 + 1.62.1.3211 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + 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 e290fe2e725..ad68b9f771a 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 @@ -7455,6 +7455,10 @@ public virtual System.DateTimeOffset? DisableTimeDateTimeOffset /// Metadata for a private key instance. public class CsePrivateKeyMetadata : Google.Apis.Requests.IDirectResponseSchema { + /// Metadata for hardware keys. + [Newtonsoft.Json.JsonPropertyAttribute("hardwareKeyMetadata")] + public virtual HardwareKeyMetadata HardwareKeyMetadata { get; set; } + /// /// Metadata for a private key instance managed by an external key access control list service. /// @@ -7629,6 +7633,17 @@ public class ForwardingAddress : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Metadata for hardware keys. + public class HardwareKeyMetadata : Google.Apis.Requests.IDirectResponseSchema + { + /// Description about the hardware key. + [Newtonsoft.Json.JsonPropertyAttribute("description")] + public virtual string Description { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways. /// 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 c5f45beeb29..b0ab7594209 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.62.1.3196 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google 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 3df0f53ecbb..3accc4dfc18 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 @@ -914,7 +914,6 @@ protected override void InitParameters() /// membership](https://developers.google.com/chat/api/guides/v1/members/get). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). /// /// @@ -935,7 +934,6 @@ public virtual GetRequest Get(string name) /// membership](https://developers.google.com/chat/api/guides/v1/members/get). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). /// public class GetRequest : HangoutsChatBaseServiceRequest @@ -992,7 +990,6 @@ protected override void InitParameters() /// that the authenticated user has access to. Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). /// /// @@ -1013,7 +1010,6 @@ public virtual ListRequest List(string parent) /// that the authenticated user has access to. Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). /// public class ListRequest : HangoutsChatBaseServiceRequest @@ -1681,7 +1677,6 @@ protected override void InitParameters() /// message](https://developers.google.com/chat/api/guides/v1/messages/delete). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with /// service accounts can only delete messages created by the calling Chat app. /// @@ -1699,7 +1694,6 @@ public virtual DeleteRequest Delete(string name) /// message](https://developers.google.com/chat/api/guides/v1/messages/delete). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with /// service accounts can only delete messages created by the calling Chat app. /// @@ -1765,7 +1759,6 @@ protected override void InitParameters() /// message](https://developers.google.com/chat/api/guides/v1/messages/get). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Note: Might return a message /// from a blocked member or space. /// @@ -1786,7 +1779,6 @@ public virtual GetRequest Get(string name) /// message](https://developers.google.com/chat/api/guides/v1/messages/get). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Note: Might return a message /// from a blocked member or space. /// @@ -1992,7 +1984,6 @@ protected override void InitParameters() /// message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with /// service accounts can only update messages created by the calling Chat app. /// @@ -2013,7 +2004,6 @@ public virtual PatchRequest Patch(Google.Apis.HangoutsChat.v1.Data.Message body, /// message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with /// service accounts can only update messages created by the calling Chat app. /// @@ -2105,7 +2095,6 @@ protected override void InitParameters() /// message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with /// service accounts can only update messages created by the calling Chat app. /// @@ -2126,7 +2115,6 @@ public virtual UpdateRequest Update(Google.Apis.HangoutsChat.v1.Data.Message bod /// message](https://developers.google.com/chat/api/guides/v1/messages/update). Requires /// [authentication](https://developers.google.com/chat/api/guides/auth). Fully supports [service account /// authentication](https://developers.google.com/chat/api/guides/auth/service-accounts) and [user - /// authentication](https://developers.google.com/chat/api/guides/auth/users). [User /// authentication](https://developers.google.com/chat/api/guides/auth/users). Requests authenticated with /// service accounts can only update messages created by the calling Chat app. /// @@ -3068,16 +3056,13 @@ public class ChatAppLogEntry : Google.Apis.Requests.IDirectResponseSchema } /// - /// Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a data source from Google Chat. For - /// example, a list of Google Chat spaces of which the user is a member. [Developer - /// Preview](https://developers.google.com/workspace/preview). + /// Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Chat. The + /// data source populates selection items for the multiselect menu. For example, a user can select Google Chat + /// spaces that they're a member of. /// public class ChatClientDataSourceMarkup : Google.Apis.Requests.IDirectResponseSchema { - /// - /// A data source representing a Google Chat space. Format: spaces/{space} [Developer - /// Preview](https://developers.google.com/workspace/preview). - /// + /// Google Chat spaces that the user is a member of. [Newtonsoft.Json.JsonPropertyAttribute("spaceDataSource")] public virtual SpaceDataSource SpaceDataSource { get; set; } @@ -4272,23 +4257,19 @@ public class GoogleAppsCardV1OpenLink : Google.Apis.Requests.IDirectResponseSche } /// - /// Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, the data from a [Google Workspace - /// host application](https://developers.google.com/chat/api/reference/rest/v1/HostApp). Used to populate the items - /// in the multi-select menu. [Developer Preview](https://developers.google.com/workspace/preview). + /// Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a data source from Google Workspace. + /// Used to populate items in a multiselect menu. /// public class GoogleAppsCardV1PlatformDataSource : Google.Apis.Requests.IDirectResponseSchema { /// - /// For a `SelectionInput` widget that uses a multi-select menu, a data source shared by all Google Workspace - /// host applications, such as users in a Google Workspace organization. [Developer - /// Preview](https://developers.google.com/workspace/preview). + /// A data source shared by all Google Workspace applications, such as users in a Google Workspace organization. /// [Newtonsoft.Json.JsonPropertyAttribute("commonDataSource")] public virtual string CommonDataSource { get; set; } /// - /// A data source that's unique to a Google Workspace host application, such as Gmail emails, Google Calendar - /// events, or Google Chat messages. [Developer Preview](https://developers.google.com/workspace/preview). + /// A data source that's unique to a Google Workspace host application, such spaces in Google Chat. /// [Newtonsoft.Json.JsonPropertyAttribute("hostAppDataSource")] public virtual HostAppDataSourceMarkup HostAppDataSource { get; set; } @@ -4346,10 +4327,7 @@ public class GoogleAppsCardV1Section : Google.Apis.Requests.IDirectResponseSchem /// public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectResponseSchema { - /// - /// An external data source, such as a relational data base. [Developer - /// Preview](https://developers.google.com/workspace/preview). - /// + /// An external data source, such as a relational data base. [Newtonsoft.Json.JsonPropertyAttribute("externalDataSource")] public virtual GoogleAppsCardV1Action ExternalDataSource { get; set; } @@ -4369,17 +4347,16 @@ public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectRespon public virtual string Label { get; set; } /// - /// For multi-select menus, the maximum number of items that a user can select. Minimum value is 1 item. If - /// unspecified, set to 3 items. [Developer Preview](https://developers.google.com/workspace/preview). + /// For multiselect menus, the maximum number of items that a user can select. Minimum value is 1 item. If + /// unspecified, defaults to 3 items. /// [Newtonsoft.Json.JsonPropertyAttribute("multiSelectMaxSelectedItems")] public virtual System.Nullable MultiSelectMaxSelectedItems { get; set; } /// - /// For multi-select menus, the number of text characters that a user inputs before the Chat app queries - /// autocomplete and displays suggested items on the card. If unspecified, set to 0 characters for static data - /// sources and 3 characters for external data sources. [Developer - /// Preview](https://developers.google.com/workspace/preview). + /// For multiselect menus, the number of text characters that a user inputs before the Chat app queries + /// autocomplete and displays suggested items in the menu. If unspecified, defaults to 0 characters for static + /// data sources and 3 characters for external data sources. /// [Newtonsoft.Json.JsonPropertyAttribute("multiSelectMinQueryLength")] public virtual System.Nullable MultiSelectMinQueryLength { get; set; } @@ -4399,11 +4376,7 @@ public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectRespon [Newtonsoft.Json.JsonPropertyAttribute("onChangeAction")] public virtual GoogleAppsCardV1Action OnChangeAction { get; set; } - /// - /// A data source from a [Google Workspace host - /// application](https://developers.google.com/chat/api/reference/rest/v1/HostApp). [Developer - /// Preview](https://developers.google.com/workspace/preview). - /// + /// A data source from Google Workspace. [Newtonsoft.Json.JsonPropertyAttribute("platformDataSource")] public virtual GoogleAppsCardV1PlatformDataSource PlatformDataSource { get; set; } @@ -4423,8 +4396,7 @@ public class GoogleAppsCardV1SelectionInput : Google.Apis.Requests.IDirectRespon public class GoogleAppsCardV1SelectionItem : Google.Apis.Requests.IDirectResponseSchema { /// - /// For multi-select menus, a text description or label that's displayed below the item's `text` field. - /// [Developer Preview](https://developers.google.com/workspace/preview). + /// For multiselect menus, a text description or label that's displayed below the item's `text` field. /// [Newtonsoft.Json.JsonPropertyAttribute("bottomText")] public virtual string BottomText { get; set; } @@ -4437,10 +4409,9 @@ public class GoogleAppsCardV1SelectionItem : Google.Apis.Requests.IDirectRespons public virtual System.Nullable Selected { get; set; } /// - /// For multi-select menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and - /// JPEG files. Must be an `HTTPS` URL. For example, - /// `https://developers.google.com/chat/images/quickstart-app-avatar.png`. [Developer - /// Preview](https://developers.google.com/workspace/preview). + /// For multiselect menus, the URL for the icon displayed next to the item's `text` field. Supports PNG and JPEG + /// files. Must be an `HTTPS` URL. For example, + /// `https://developers.google.com/chat/images/quickstart-app-avatar.png`. /// [Newtonsoft.Json.JsonPropertyAttribute("startIconUri")] public virtual string StartIconUri { get; set; } @@ -4811,14 +4782,12 @@ public class GoogleAppsCardV1Widgets : Google.Apis.Requests.IDirectResponseSchem } /// - /// Chat apps only. For a `SelectionInput` widget that uses a multi-select menu, a data source from a Google - /// Workspace host application. [Developer Preview](https://developers.google.com/workspace/preview). + /// Chat apps only. For a `SelectionInput` widget that uses a multiselect menu, a data source from a Google + /// Workspace application. The data source populates selection items for the multiselect menu. /// public class HostAppDataSourceMarkup : Google.Apis.Requests.IDirectResponseSchema { - /// - /// The data source is Google Chat. [Developer Preview](https://developers.google.com/workspace/preview). - /// + /// A data source from Google Chat. [Newtonsoft.Json.JsonPropertyAttribute("chatDataSource")] public virtual ChatClientDataSourceMarkup ChatDataSource { get; set; } @@ -5693,14 +5662,13 @@ public class Space : Google.Apis.Requests.IDirectResponseSchema } /// - /// A data source representing a Google Chat space. Format: spaces/{space} [Developer - /// Preview](https://developers.google.com/workspace/preview). + /// A data source that populates Google Chat spaces as selection items for a multiselect menu. Only populates spaces + /// that the user is a member of. /// public class SpaceDataSource : Google.Apis.Requests.IDirectResponseSchema { /// - /// When `true`, uses the card's Google Chat space as the default selection. The default value is `false`. - /// [Developer Preview](https://developers.google.com/workspace/preview). + /// If set to `true`, the multiselect menu selects the current Google Chat space as an item by default. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultToCurrentSpace")] public virtual System.Nullable DefaultToCurrentSpace { get; set; } 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 45ed2d86a4d..af639bce2f9 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.62.1.3192 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs index 342e123a0d4..f8f07d5587e 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.cs @@ -67,6 +67,12 @@ public class Scope /// Private Service: https://www.googleapis.com/auth/maps-platform.places public static string MapsPlatformPlaces = "https://www.googleapis.com/auth/maps-platform.places"; + /// Private Service: https://www.googleapis.com/auth/maps-platform.places.details + public static string MapsPlatformPlacesDetails = "https://www.googleapis.com/auth/maps-platform.places.details"; + + /// Private Service: https://www.googleapis.com/auth/maps-platform.places.nearbysearch + public static string MapsPlatformPlacesNearbysearch = "https://www.googleapis.com/auth/maps-platform.places.nearbysearch"; + /// Private Service: https://www.googleapis.com/auth/maps-platform.places.textsearch public static string MapsPlatformPlacesTextsearch = "https://www.googleapis.com/auth/maps-platform.places.textsearch"; } @@ -83,6 +89,12 @@ public static class ScopeConstants /// Private Service: https://www.googleapis.com/auth/maps-platform.places public const string MapsPlatformPlaces = "https://www.googleapis.com/auth/maps-platform.places"; + /// Private Service: https://www.googleapis.com/auth/maps-platform.places.details + public const string MapsPlatformPlacesDetails = "https://www.googleapis.com/auth/maps-platform.places.details"; + + /// Private Service: https://www.googleapis.com/auth/maps-platform.places.nearbysearch + public const string MapsPlatformPlacesNearbysearch = "https://www.googleapis.com/auth/maps-platform.places.nearbysearch"; + /// Private Service: https://www.googleapis.com/auth/maps-platform.places.textsearch public const string MapsPlatformPlacesTextsearch = "https://www.googleapis.com/auth/maps-platform.places.textsearch"; } @@ -284,6 +296,255 @@ public class PlacesResource public PlacesResource(Google.Apis.Services.IClientService service) { this.service = service; + Photos = new PhotosResource(service); + } + + /// Gets the Photos resource. + public virtual PhotosResource Photos { get; } + + /// The "photos" collection of methods. + public class PhotosResource + { + private const string Resource = "photos"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public PhotosResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Get a photo media with a photo reference string. + /// + /// Required. The resource name of a photo as returned in a Place object's photos.name field. Format: + /// places/place_id/photos/photo_reference. + /// + public virtual GetMediaRequest GetMedia(string name) + { + return new GetMediaRequest(service, name); + } + + /// Get a photo media with a photo reference string. + public class GetMediaRequest : MapsPlacesBaseServiceRequest + { + /// Constructs a new GetMedia request. + public GetMediaRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. The resource name of a photo as returned in a Place object's photos.name field. Format: + /// places/place_id/photos/photo_reference. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Specifies the maximum desired height, in pixels, of the image. If the image is smaller + /// than the values specified, the original image will be returned. If the image is larger in either + /// dimension, it will be scaled to match the smaller of the two dimensions, restricted to its original + /// aspect ratio. Both the max_height_px and max_width_px properties accept an integer between 1 and + /// 4800, inclusively. If the value is not within the allowed range, an INVALID_ARGUMENT error will be + /// returned. At least one of max_height_px or max_width_px needs to be specified. If neither + /// max_height_px nor max_width_px is specified, an INVALID_ARGUMENT error will be returned. + /// + [Google.Apis.Util.RequestParameterAttribute("maxHeightPx", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxHeightPx { get; set; } + + /// + /// Optional. Specifies the maximum desired width, in pixels, of the image. If the image is smaller than + /// the values specified, the original image will be returned. If the image is larger in either + /// dimension, it will be scaled to match the smaller of the two dimensions, restricted to its original + /// aspect ratio. Both the max_height_px and max_width_px properties accept an integer between 1 and + /// 4800, inclusively. If the value is not within the allowed range, an INVALID_ARGUMENT error will be + /// returned. At least one of max_height_px or max_width_px needs to be specified. If neither + /// max_height_px nor max_width_px is specified, an INVALID_ARGUMENT error will be returned. + /// + [Google.Apis.Util.RequestParameterAttribute("maxWidthPx", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable MaxWidthPx { get; set; } + + /// + /// Optional. If set, skip the default HTTP redirect behavior and render a text format (for example, in + /// JSON format for HTTP use case) response. If not set, an HTTP redirect will be issued to redirect the + /// call to the image midea. This option is ignored for non-HTTP requests. + /// + [Google.Apis.Util.RequestParameterAttribute("skipHttpRedirect", Google.Apis.Util.RequestParameterType.Query)] + public virtual System.Nullable SkipHttpRedirect { get; set; } + + /// Gets the method name. + public override string MethodName => "getMedia"; + + /// Gets the HTTP method. + public override string HttpMethod => "GET"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes GetMedia 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 = @"^places/[^/]+/photos/[^/]+/media$", + }); + RequestParameters.Add("maxHeightPx", new Google.Apis.Discovery.Parameter + { + Name = "maxHeightPx", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("maxWidthPx", new Google.Apis.Discovery.Parameter + { + Name = "maxWidthPx", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("skipHttpRedirect", new Google.Apis.Discovery.Parameter + { + Name = "skipHttpRedirect", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + + /// Get a Place with a place id (in a name) string. + /// + /// Required. A place ID returned in a Place (with "places/" prefix), or equivalently the name in the same + /// Place. Format: places/place_id. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Get a Place with a place id (in a name) string. + public class GetRequest : MapsPlacesBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. A place ID returned in a Place (with "places/" prefix), or equivalently the name in the same + /// Place. Format: places/place_id. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// Optional. Place details will be displayed with the preferred language if available. Current list of + /// supported languages: https://developers.google.com/maps/faq#languagesupport. + /// + [Google.Apis.Util.RequestParameterAttribute("languageCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string LanguageCode { get; set; } + + /// + /// Optional. The Unicode country/region code (CLDR) of the location where the request is coming from. This + /// parameter is used to display the place details, like region-specific place name, if available. The + /// parameter can affect results based on applicable law. For more information, see + /// https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that + /// 3-digit region codes are not currently supported. + /// + [Google.Apis.Util.RequestParameterAttribute("regionCode", Google.Apis.Util.RequestParameterType.Query)] + public virtual string RegionCode { get; 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 = @"^places/[^/]+$", + }); + RequestParameters.Add("languageCode", new Google.Apis.Discovery.Parameter + { + Name = "languageCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + RequestParameters.Add("regionCode", new Google.Apis.Discovery.Parameter + { + Name = "regionCode", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + + /// Search for places near locations. + /// The body of the request. + public virtual SearchNearbyRequest SearchNearby(Google.Apis.MapsPlaces.v1.Data.GoogleMapsPlacesV1SearchNearbyRequest body) + { + return new SearchNearbyRequest(service, body); + } + + /// Search for places near locations. + public class SearchNearbyRequest : MapsPlacesBaseServiceRequest + { + /// Constructs a new SearchNearby request. + public SearchNearbyRequest(Google.Apis.Services.IClientService service, Google.Apis.MapsPlaces.v1.Data.GoogleMapsPlacesV1SearchNearbyRequest body) : base(service) + { + Body = body; + InitParameters(); + } + + /// Gets or sets the body of this request. + Google.Apis.MapsPlaces.v1.Data.GoogleMapsPlacesV1SearchNearbyRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "searchNearby"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/places:searchNearby"; + + /// Initializes SearchNearby parameter list. + protected override void InitParameters() + { + base.InitParameters(); + } } /// Text query based place search. @@ -358,15 +619,15 @@ public class GoogleGeoTypeViewport : Google.Apis.Requests.IDirectResponseSchema /// Information about the author of the UGC data. Used in Photo, and Review. public class GoogleMapsPlacesV1AuthorAttribution : Google.Apis.Requests.IDirectResponseSchema { - /// Output only. Name of the author of the Photo or Review. + /// Name of the author of the Photo or Review. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } - /// Output only. Profile photo URI of the author of the Photo or Review. + /// Profile photo URI of the author of the Photo or Review. [Newtonsoft.Json.JsonPropertyAttribute("photoUri")] public virtual string PhotoUri { get; set; } - /// Output only. URI of the author of the Photo or Review. + /// URI of the author of the Photo or Review. [Newtonsoft.Json.JsonPropertyAttribute("uri")] public virtual string Uri { get; set; } @@ -392,6 +653,211 @@ public class GoogleMapsPlacesV1Circle : Google.Apis.Requests.IDirectResponseSche public virtual string ETag { get; set; } } + /// + /// Information about the EV Charge Station hosted in Place. Terminology follows + /// https://afdc.energy.gov/fuels/electricity_infrastructure.html One port could charge one car at a time. One port + /// has one or more connectors. One station has one or more ports. + /// + public class GoogleMapsPlacesV1EVChargeOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A list of EV charging connector aggregations that contain connectors of the same type and same charge rate. + /// + [Newtonsoft.Json.JsonPropertyAttribute("connectorAggregation")] + public virtual System.Collections.Generic.IList ConnectorAggregation { get; set; } + + /// + /// Number of connectors at this station. However, because some ports can have multiple connectors but only be + /// able to charge one car at a time (e.g.) the number of connectors may be greater than the total number of + /// cars which can charge simultaneously. + /// + [Newtonsoft.Json.JsonPropertyAttribute("connectorCount")] + public virtual System.Nullable ConnectorCount { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// EV charging information grouped by [type, max_charge_rate_kw]. Shows EV charge aggregation of connectors that + /// have the same type and max charge rate in kw. + /// + public class GoogleMapsPlacesV1EVChargeOptionsConnectorAggregation : Google.Apis.Requests.IDirectResponseSchema + { + private string _availabilityLastUpdateTimeRaw; + + private object _availabilityLastUpdateTime; + + /// + /// The timestamp when the connector availability information in this aggregation was last updated. + /// + [Newtonsoft.Json.JsonPropertyAttribute("availabilityLastUpdateTime")] + public virtual string AvailabilityLastUpdateTimeRaw + { + get => _availabilityLastUpdateTimeRaw; + set + { + _availabilityLastUpdateTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _availabilityLastUpdateTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use AvailabilityLastUpdateTimeDateTimeOffset instead.")] + public virtual object AvailabilityLastUpdateTime + { + get => _availabilityLastUpdateTime; + set + { + _availabilityLastUpdateTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _availabilityLastUpdateTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? AvailabilityLastUpdateTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(AvailabilityLastUpdateTimeRaw); + set => AvailabilityLastUpdateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Number of connectors in this aggregation that are currently available. + [Newtonsoft.Json.JsonPropertyAttribute("availableCount")] + public virtual System.Nullable AvailableCount { get; set; } + + /// Number of connectors in this aggregation. + [Newtonsoft.Json.JsonPropertyAttribute("count")] + public virtual System.Nullable Count { get; set; } + + /// The static max charging rate in kw of each connector in the aggregation. + [Newtonsoft.Json.JsonPropertyAttribute("maxChargeRateKw")] + public virtual System.Nullable MaxChargeRateKw { get; set; } + + /// Number of connectors in this aggregation that are currently out of service. + [Newtonsoft.Json.JsonPropertyAttribute("outOfServiceCount")] + public virtual System.Nullable OutOfServiceCount { get; set; } + + /// The connector type of this aggregation. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// The most recent information about fuel options in a gas station. This information is updated regularly. + /// + public class GoogleMapsPlacesV1FuelOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The last known fuel price for each type of fuel this station has. There is one entry per fuel type this + /// station has. Order is not important. + /// + [Newtonsoft.Json.JsonPropertyAttribute("fuelPrices")] + public virtual System.Collections.Generic.IList FuelPrices { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Fuel price information for a given type. + public class GoogleMapsPlacesV1FuelOptionsFuelPrice : Google.Apis.Requests.IDirectResponseSchema + { + /// The price of the fuel. + [Newtonsoft.Json.JsonPropertyAttribute("price")] + public virtual GoogleTypeMoney Price { get; set; } + + /// The type of fuel. + [Newtonsoft.Json.JsonPropertyAttribute("type")] + public virtual string Type { get; set; } + + private string _updateTimeRaw; + + private object _updateTime; + + /// The time the fuel price 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.Utilities.GetDateTimeOffsetFromString(UpdateTimeRaw); + set => UpdateTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Information about a photo of a place. + public class GoogleMapsPlacesV1Photo : Google.Apis.Requests.IDirectResponseSchema + { + /// This photo's authors. + [Newtonsoft.Json.JsonPropertyAttribute("authorAttributions")] + public virtual System.Collections.Generic.IList AuthorAttributions { get; set; } + + /// The maximum available height, in pixels. + [Newtonsoft.Json.JsonPropertyAttribute("heightPx")] + public virtual System.Nullable HeightPx { get; set; } + + /// + /// Identifier. A reference representing this place photo which may be used to look up this place photo again + /// (a.k.a. the API "resource" name: places/{place_id}/photos/{photo}). + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The maximum available width, in pixels. + [Newtonsoft.Json.JsonPropertyAttribute("widthPx")] + public virtual System.Nullable WidthPx { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// A photo media from Places API. + public class GoogleMapsPlacesV1PhotoMedia : Google.Apis.Requests.IDirectResponseSchema + { + /// The resource name of a photo in the format: places/place_id/photos/photo_reference. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// A short-lived uri that can be used to render the photo. + [Newtonsoft.Json.JsonPropertyAttribute("photoUri")] + public virtual string PhotoUri { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// All the information representing a Place. public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchema { @@ -417,6 +883,10 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("adrFormatAddress")] public virtual string AdrFormatAddress { get; set; } + /// Place allows dogs. + [Newtonsoft.Json.JsonPropertyAttribute("allowsDogs")] + public virtual System.Nullable AllowsDogs { get; set; } + /// A set of data provider that must be shown with this result. [Newtonsoft.Json.JsonPropertyAttribute("attributions")] public virtual System.Collections.Generic.IList Attributions { get; set; } @@ -471,10 +941,32 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("editorialSummary")] public virtual GoogleTypeLocalizedText EditorialSummary { get; set; } + /// Information of ev charging options. + [Newtonsoft.Json.JsonPropertyAttribute("evChargeOptions")] + public virtual GoogleMapsPlacesV1EVChargeOptions EvChargeOptions { get; set; } + /// A full, human-readable address for this place. [Newtonsoft.Json.JsonPropertyAttribute("formattedAddress")] public virtual string FormattedAddress { get; set; } + /// + /// The most recent information about fuel options in a gas station. This information is updated regularly. + /// + [Newtonsoft.Json.JsonPropertyAttribute("fuelOptions")] + public virtual GoogleMapsPlacesV1FuelOptions FuelOptions { get; set; } + + /// Place is good for children. + [Newtonsoft.Json.JsonPropertyAttribute("goodForChildren")] + public virtual System.Nullable GoodForChildren { get; set; } + + /// Place accommodates groups. + [Newtonsoft.Json.JsonPropertyAttribute("goodForGroups")] + public virtual System.Nullable GoodForGroups { get; set; } + + /// Place is suitable for watching sports. + [Newtonsoft.Json.JsonPropertyAttribute("goodForWatchingSports")] + public virtual System.Nullable GoodForWatchingSports { get; set; } + /// A URL providing more information about this place. [Newtonsoft.Json.JsonPropertyAttribute("googleMapsUri")] public virtual string GoogleMapsUri { get; set; } @@ -498,10 +990,18 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("internationalPhoneNumber")] public virtual string InternationalPhoneNumber { get; set; } + /// Place provides live music. + [Newtonsoft.Json.JsonPropertyAttribute("liveMusic")] + public virtual System.Nullable LiveMusic { get; set; } + /// The position of this place. [Newtonsoft.Json.JsonPropertyAttribute("location")] public virtual GoogleTypeLatLng Location { get; set; } + /// Place has a children's menu. + [Newtonsoft.Json.JsonPropertyAttribute("menuForChildren")] + public virtual System.Nullable MenuForChildren { get; set; } + /// /// An ID representing this place which may be used to look up this place again (a.k.a. the API "resource" name: /// places/place_id). @@ -513,6 +1013,25 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("nationalPhoneNumber")] public virtual string NationalPhoneNumber { get; set; } + /// Place provides outdoor seating. + [Newtonsoft.Json.JsonPropertyAttribute("outdoorSeating")] + public virtual System.Nullable OutdoorSeating { get; set; } + + /// Options of parking provided by the place. + [Newtonsoft.Json.JsonPropertyAttribute("parkingOptions")] + public virtual GoogleMapsPlacesV1PlaceParkingOptions ParkingOptions { get; set; } + + /// + /// Payment options the place accepts. If a payment option data is not available, the payment option field will + /// be unset. + /// + [Newtonsoft.Json.JsonPropertyAttribute("paymentOptions")] + public virtual GoogleMapsPlacesV1PlacePaymentOptions PaymentOptions { get; set; } + + /// Information (including references) about photos of this place. + [Newtonsoft.Json.JsonPropertyAttribute("photos")] + public virtual System.Collections.Generic.IList Photos { get; set; } + /// Plus code of the place location lat/long. [Newtonsoft.Json.JsonPropertyAttribute("plusCode")] public virtual GoogleMapsPlacesV1PlacePlusCode PlusCode { get; set; } @@ -521,6 +1040,23 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("priceLevel")] public virtual string PriceLevel { get; set; } + /// + /// The primary type of the given result. This type must one of the Places API supported types. For example, + /// "restaurant", "cafe", "airport", etc. A place can only have a single primary type. For the complete list of + /// possible values, see Table A and Table B at + /// https://developers.google.com/maps/documentation/places/web-service/place-types + /// + [Newtonsoft.Json.JsonPropertyAttribute("primaryType")] + public virtual string PrimaryType { get; set; } + + /// + /// The display name of the primary type, localized to the request language if applicable. For the complete list + /// of possible values, see Table A and Table B at + /// https://developers.google.com/maps/documentation/places/web-service/place-types + /// + [Newtonsoft.Json.JsonPropertyAttribute("primaryTypeDisplayName")] + public virtual GoogleTypeLocalizedText PrimaryTypeDisplayName { get; set; } + /// A rating between 1.0 and 5.0, based on user reviews of this place. [Newtonsoft.Json.JsonPropertyAttribute("rating")] public virtual System.Nullable Rating { get; set; } @@ -542,7 +1078,11 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("reservable")] public virtual System.Nullable Reservable { get; set; } - /// List of reviews about this place. + /// Place has restroom. + [Newtonsoft.Json.JsonPropertyAttribute("restroom")] + public virtual System.Nullable Restroom { get; set; } + + /// List of reviews about this place, sorted by relevance. [Newtonsoft.Json.JsonPropertyAttribute("reviews")] public virtual System.Collections.Generic.IList Reviews { get; set; } @@ -558,6 +1098,18 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("servesBrunch")] public virtual System.Nullable ServesBrunch { get; set; } + /// Place serves cocktails. + [Newtonsoft.Json.JsonPropertyAttribute("servesCocktails")] + public virtual System.Nullable ServesCocktails { get; set; } + + /// Place serves coffee. + [Newtonsoft.Json.JsonPropertyAttribute("servesCoffee")] + public virtual System.Nullable ServesCoffee { get; set; } + + /// Place serves dessert. + [Newtonsoft.Json.JsonPropertyAttribute("servesDessert")] + public virtual System.Nullable ServesDessert { get; set; } + /// Specifies if the place serves dinner. [Newtonsoft.Json.JsonPropertyAttribute("servesDinner")] public virtual System.Nullable ServesDinner { get; set; } @@ -574,12 +1126,21 @@ public class GoogleMapsPlacesV1Place : Google.Apis.Requests.IDirectResponseSchem [Newtonsoft.Json.JsonPropertyAttribute("servesWine")] public virtual System.Nullable ServesWine { get; set; } + /// A short, human-readable address for this place. + [Newtonsoft.Json.JsonPropertyAttribute("shortFormattedAddress")] + public virtual string ShortFormattedAddress { get; set; } + + /// A list of sub destinations related to the place. + [Newtonsoft.Json.JsonPropertyAttribute("subDestinations")] + public virtual System.Collections.Generic.IList SubDestinations { get; set; } + /// Specifies if the business supports takeout. [Newtonsoft.Json.JsonPropertyAttribute("takeout")] public virtual System.Nullable Takeout { get; set; } /// - /// A set of type tags for this result. For example, "political" and "locality". See: + /// A set of type tags for this result. For example, "political" and "locality". For the complete list of + /// possible values, see Table A and Table B at /// https://developers.google.com/maps/documentation/places/web-service/place-types /// [Newtonsoft.Json.JsonPropertyAttribute("types")] @@ -619,6 +1180,18 @@ public class GoogleMapsPlacesV1PlaceAccessibilityOptions : Google.Apis.Requests. [Newtonsoft.Json.JsonPropertyAttribute("wheelchairAccessibleEntrance")] public virtual System.Nullable WheelchairAccessibleEntrance { get; set; } + /// Place offers wheelchair accessible parking. + [Newtonsoft.Json.JsonPropertyAttribute("wheelchairAccessibleParking")] + public virtual System.Nullable WheelchairAccessibleParking { get; set; } + + /// Place has wheelchair accessible restroom. + [Newtonsoft.Json.JsonPropertyAttribute("wheelchairAccessibleRestroom")] + public virtual System.Nullable WheelchairAccessibleRestroom { get; set; } + + /// Place has wheelchair accessible seating. + [Newtonsoft.Json.JsonPropertyAttribute("wheelchairAccessibleSeating")] + public virtual System.Nullable WheelchairAccessibleSeating { get; set; } + /// The ETag of the item. public virtual string ETag { get; set; } } @@ -768,6 +1341,69 @@ public class GoogleMapsPlacesV1PlaceOpeningHoursSpecialDay : Google.Apis.Request public virtual string ETag { get; set; } } + /// + /// Information about parking options for the place. A parking lot could support more than one option at the same + /// time. + /// + public class GoogleMapsPlacesV1PlaceParkingOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// Place offers free garage parking. + [Newtonsoft.Json.JsonPropertyAttribute("freeGarageParking")] + public virtual System.Nullable FreeGarageParking { get; set; } + + /// Place offers free parking lots. + [Newtonsoft.Json.JsonPropertyAttribute("freeParkingLot")] + public virtual System.Nullable FreeParkingLot { get; set; } + + /// Place offers free street parking. + [Newtonsoft.Json.JsonPropertyAttribute("freeStreetParking")] + public virtual System.Nullable FreeStreetParking { get; set; } + + /// Place offers paid garage parking. + [Newtonsoft.Json.JsonPropertyAttribute("paidGarageParking")] + public virtual System.Nullable PaidGarageParking { get; set; } + + /// Place offers paid parking lots. + [Newtonsoft.Json.JsonPropertyAttribute("paidParkingLot")] + public virtual System.Nullable PaidParkingLot { get; set; } + + /// Place offers paid street parking. + [Newtonsoft.Json.JsonPropertyAttribute("paidStreetParking")] + public virtual System.Nullable PaidStreetParking { get; set; } + + /// Place offers valet parking. + [Newtonsoft.Json.JsonPropertyAttribute("valetParking")] + public virtual System.Nullable ValetParking { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Payment options the place accepts. + public class GoogleMapsPlacesV1PlacePaymentOptions : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Place accepts cash only as payment. Places with this attribute may still accept other payment methods. + /// + [Newtonsoft.Json.JsonPropertyAttribute("acceptsCashOnly")] + public virtual System.Nullable AcceptsCashOnly { get; set; } + + /// Place accepts credit cards as payment. + [Newtonsoft.Json.JsonPropertyAttribute("acceptsCreditCards")] + public virtual System.Nullable AcceptsCreditCards { get; set; } + + /// Place accepts debit cards as payment. + [Newtonsoft.Json.JsonPropertyAttribute("acceptsDebitCards")] + public virtual System.Nullable AcceptsDebitCards { get; set; } + + /// Place accepts NFC payments. + [Newtonsoft.Json.JsonPropertyAttribute("acceptsNfc")] + public virtual System.Nullable AcceptsNfc { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// /// Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th /// of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location. @@ -792,14 +1428,39 @@ public class GoogleMapsPlacesV1PlacePlusCode : Google.Apis.Requests.IDirectRespo public virtual string ETag { get; set; } } + /// + /// Place resource name and id of sub destinations that relate to the place. For example, different terminals are + /// different destinations of an airport. + /// + public class GoogleMapsPlacesV1PlaceSubDestination : Google.Apis.Requests.IDirectResponseSchema + { + /// The place id of the sub destination. + [Newtonsoft.Json.JsonPropertyAttribute("id")] + public virtual string Id { get; set; } + + /// The resource name of the sub destination. + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Information about a review of a place. public class GoogleMapsPlacesV1Review : Google.Apis.Requests.IDirectResponseSchema { - /// Output only. This review's author. + /// This review's author. [Newtonsoft.Json.JsonPropertyAttribute("authorAttribution")] public virtual GoogleMapsPlacesV1AuthorAttribution AuthorAttribution { get; set; } - /// Output only. The review text in its original language. + /// + /// A reference representing this place review which may be used to look up this place review again (also called + /// the API "resource" name: places/place_id/reviews/review). + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The review text in its original language. [Newtonsoft.Json.JsonPropertyAttribute("originalText")] public virtual GoogleTypeLocalizedText OriginalText { get; set; } @@ -807,7 +1468,7 @@ public class GoogleMapsPlacesV1Review : Google.Apis.Requests.IDirectResponseSche private object _publishTime; - /// Output only. Timestamp for the review. + /// Timestamp for the review. [Newtonsoft.Json.JsonPropertyAttribute("publishTime")] public virtual string PublishTimeRaw { @@ -840,18 +1501,18 @@ public virtual System.DateTimeOffset? PublishTimeDateTimeOffset set => PublishTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); } - /// Output only. A number between 1.0 and 5.0, a.k.a. the number of stars. + /// A number between 1.0 and 5.0, also called the number of stars. [Newtonsoft.Json.JsonPropertyAttribute("rating")] public virtual System.Nullable Rating { get; set; } /// - /// Output only. A string of formatted recent time, expressing the review time relative to the current time in a - /// form appropriate for the language and country. + /// A string of formatted recent time, expressing the review time relative to the current time in a form + /// appropriate for the language and country. /// [Newtonsoft.Json.JsonPropertyAttribute("relativePublishTimeDescription")] public virtual string RelativePublishTimeDescription { get; set; } - /// Output only. The localized text of the review. + /// The localized text of the review. [Newtonsoft.Json.JsonPropertyAttribute("text")] public virtual GoogleTypeLocalizedText Text { get; set; } @@ -859,6 +1520,124 @@ public virtual System.DateTimeOffset? PublishTimeDateTimeOffset public virtual string ETag { get; set; } } + /// Request proto for Search Nearby. + public class GoogleMapsPlacesV1SearchNearbyRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Excluded primary Place type (e.g. "restaurant" or "gas_station") from + /// https://developers.google.com/maps/documentation/places/web-service/place-types. If there are any + /// conflicting primary types, i.e. a type appears in both included_primary_types and excluded_primary_types, an + /// INVALID_ARGUMENT error is returned. If a Place type is specified with multiple type restrictions, only + /// places that satisfy all of the restrictions are returned. For example, if we have {included_types = + /// ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related + /// services but do not operate primarily as "restaurants". + /// + [Newtonsoft.Json.JsonPropertyAttribute("excludedPrimaryTypes")] + public virtual System.Collections.Generic.IList ExcludedPrimaryTypes { get; set; } + + /// + /// Excluded Place type (eg, "restaurant" or "gas_station") from + /// https://developers.google.com/maps/documentation/places/web-service/place-types. If the client provides both + /// included_types (e.g. restaurant) and excluded_types (e.g. cafe), then the response should include places + /// that are restaurant but not cafe. The response includes places that match at least one of the included_types + /// and none of the excluded_types. If there are any conflicting types, i.e. a type appears in both + /// included_types and excluded_types, an INVALID_ARGUMENT error is returned. If a Place type is specified with + /// multiple type restrictions, only places that satisfy all of the restrictions are returned. For example, if + /// we have {included_types = ["restaurant"], excluded_primary_types = ["restaurant"]}, the returned places + /// provide "restaurant" related services but do not operate primarily as "restaurants". + /// + [Newtonsoft.Json.JsonPropertyAttribute("excludedTypes")] + public virtual System.Collections.Generic.IList ExcludedTypes { get; set; } + + /// + /// Included primary Place type (e.g. "restaurant" or "gas_station") from + /// https://developers.google.com/maps/documentation/places/web-service/place-types. A place can only have a + /// single primary type from the supported types table associated with it. If there are any conflicting primary + /// types, i.e. a type appears in both included_primary_types and excluded_primary_types, an INVALID_ARGUMENT + /// error is returned. If a Place type is specified with multiple type restrictions, only places that satisfy + /// all of the restrictions are returned. For example, if we have {included_types = ["restaurant"], + /// excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related services but do + /// not operate primarily as "restaurants". + /// + [Newtonsoft.Json.JsonPropertyAttribute("includedPrimaryTypes")] + public virtual System.Collections.Generic.IList IncludedPrimaryTypes { get; set; } + + /// + /// Included Place type (eg, "restaurant" or "gas_station") from + /// https://developers.google.com/maps/documentation/places/web-service/place-types. If there are any + /// conflicting types, i.e. a type appears in both included_types and excluded_types, an INVALID_ARGUMENT error + /// is returned. If a Place type is specified with multiple type restrictions, only places that satisfy all of + /// the restrictions are returned. For example, if we have {included_types = ["restaurant"], + /// excluded_primary_types = ["restaurant"]}, the returned places provide "restaurant" related services but do + /// not operate primarily as "restaurants". + /// + [Newtonsoft.Json.JsonPropertyAttribute("includedTypes")] + public virtual System.Collections.Generic.IList IncludedTypes { get; set; } + + /// + /// Place details will be displayed with the preferred language if available. If the language code is + /// unspecified or unrecognized, place details of any language may be returned, with a preference for English if + /// such details exist. Current list of supported languages: + /// https://developers.google.com/maps/faq#languagesupport. + /// + [Newtonsoft.Json.JsonPropertyAttribute("languageCode")] + public virtual string LanguageCode { get; set; } + + /// Required. The region to search. + [Newtonsoft.Json.JsonPropertyAttribute("locationRestriction")] + public virtual GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction LocationRestriction { get; set; } + + /// + /// Maximum number of results to return. It must be between 1 and 20 (default), inclusively. If the number is + /// unset, it falls back to the upper limit. If the number is set to negative or exceeds the upper limit, an + /// INVALID_ARGUMENT error is returned. + /// + [Newtonsoft.Json.JsonPropertyAttribute("maxResultCount")] + public virtual System.Nullable MaxResultCount { get; set; } + + /// How results will be ranked in the response. + [Newtonsoft.Json.JsonPropertyAttribute("rankPreference")] + public virtual string RankPreference { get; set; } + + /// + /// The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is + /// used to display the place details, like region-specific place name, if available. The parameter can affect + /// results based on applicable law. For more information, see + /// https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that + /// 3-digit region codes are not currently supported. + /// + [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] + public virtual string RegionCode { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// The region to search. + public class GoogleMapsPlacesV1SearchNearbyRequestLocationRestriction : Google.Apis.Requests.IDirectResponseSchema + { + /// A circle defined by center point and radius. + [Newtonsoft.Json.JsonPropertyAttribute("circle")] + public virtual GoogleMapsPlacesV1Circle Circle { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Response proto for Search Nearby. + public class GoogleMapsPlacesV1SearchNearbyResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// A list of places that meets user's requirements like places types, number of places and specific location + /// restriction. + /// + [Newtonsoft.Json.JsonPropertyAttribute("places")] + public virtual System.Collections.Generic.IList Places { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Request proto for SearchText. public class GoogleMapsPlacesV1SearchTextRequest : Google.Apis.Requests.IDirectResponseSchema { @@ -929,8 +1708,8 @@ public class GoogleMapsPlacesV1SearchTextRequest : Google.Apis.Requests.IDirectR /// The Unicode country/region code (CLDR) of the location where the request is coming from. This parameter is /// used to display the place details, like region-specific place name, if available. The parameter can affect /// results based on applicable law. For more information, see - /// http://www.unicode.org/reports/tr35/#unicode_region_subtag. Note that 3-digit region codes are not currently - /// supported. + /// https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html. Note that + /// 3-digit region codes are not currently supported. /// [Newtonsoft.Json.JsonPropertyAttribute("regionCode")] public virtual string RegionCode { get; set; } @@ -1058,4 +1837,30 @@ public class GoogleTypeLocalizedText : Google.Apis.Requests.IDirectResponseSchem /// The ETag of the item. public virtual string ETag { get; set; } } + + /// Represents an amount of money with its currency type. + public class GoogleTypeMoney : Google.Apis.Requests.IDirectResponseSchema + { + /// The three-letter currency code defined in ISO 4217. + [Newtonsoft.Json.JsonPropertyAttribute("currencyCode")] + public virtual string CurrencyCode { get; set; } + + /// + /// Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 + /// inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be + /// positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is + /// represented as `units`=-1 and `nanos`=-750,000,000. + /// + [Newtonsoft.Json.JsonPropertyAttribute("nanos")] + public virtual System.Nullable Nanos { get; set; } + + /// + /// The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + /// + [Newtonsoft.Json.JsonPropertyAttribute("units")] + public virtual System.Nullable Units { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } } diff --git a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj index 6290c261aa7..80e00e7a392 100644 --- a/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj +++ b/Src/Generated/Google.Apis.MapsPlaces.v1/Google.Apis.MapsPlaces.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.MapsPlaces.v1 Client Library - 1.62.1.3211 + 1.62.1.3218 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs index 72aad43652b..ea7a8140f56 100644 --- a/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs +++ b/Src/Generated/Google.Apis.Pubsub.v1/Google.Apis.Pubsub.v1.cs @@ -387,7 +387,7 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Pu /// /// The ID to use for the schema, which will become the final component of the schema's resource name. - /// See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints. + /// See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints. /// [Google.Apis.Util.RequestParameterAttribute("schemaId", Google.Apis.Util.RequestParameterType.Query)] public virtual string SchemaId { get; set; } @@ -1254,15 +1254,15 @@ public SnapshotsResource(Google.Apis.Services.IClientService service) /// `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not /// provided in the request, the server will assign a random name for this snapshot on the same project as /// the subscription, conforming to the [resource name format] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the - /// returned Snapshot object. Note that for REST API requests, you must specify a name in the request. + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in + /// the returned Snapshot object. Note that for REST API requests, you must specify a name in the request. /// /// The body of the request. /// /// Required. User-provided name for this snapshot. If the name is not provided in the request, the server /// will assign a random name for this snapshot on the same project as the subscription. Note that for REST /// API requests, you must specify a name. See the [resource name - /// rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format is + /// rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is /// `projects/{project}/snapshots/{snap}`. /// public virtual CreateRequest Create(Google.Apis.Pubsub.v1.Data.CreateSnapshotRequest body, string name) @@ -1280,8 +1280,8 @@ public virtual CreateRequest Create(Google.Apis.Pubsub.v1.Data.CreateSnapshotReq /// `FAILED_PRECONDITION` is returned. See also the `Snapshot.expire_time` field. If the name is not /// provided in the request, the server will assign a random name for this snapshot on the same project as /// the subscription, conforming to the [resource name format] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the - /// returned Snapshot object. Note that for REST API requests, you must specify a name in the request. + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in + /// the returned Snapshot object. Note that for REST API requests, you must specify a name in the request. /// public class CreateRequest : PubsubBaseServiceRequest { @@ -1297,7 +1297,7 @@ public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Pu /// Required. User-provided name for this snapshot. If the name is not provided in the request, the /// server will assign a random name for this snapshot on the same project as the subscription. Note /// that for REST API requests, you must specify a name. See the [resource name - /// rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format is + /// rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is /// `projects/{project}/snapshots/{snap}`. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] @@ -1911,12 +1911,13 @@ protected override void InitParameters() /// /// Creates a subscription to a given topic. See the [resource name rules] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). If the subscription already exists, returns - /// `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not - /// provided in the request, the server will assign a random name for this subscription on the same project - /// as the topic, conforming to the [resource name format] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the - /// returned Subscription object. Note that for REST API requests, you must specify a name in the request. + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, + /// returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is + /// not provided in the request, the server will assign a random name for this subscription on the same + /// project as the topic, conforming to the [resource name format] + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in + /// the returned Subscription object. Note that for REST API requests, you must specify a name in the + /// request. /// /// The body of the request. /// @@ -1933,12 +1934,13 @@ public virtual CreateRequest Create(Google.Apis.Pubsub.v1.Data.Subscription body /// /// Creates a subscription to a given topic. See the [resource name rules] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). If the subscription already exists, returns - /// `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is not - /// provided in the request, the server will assign a random name for this subscription on the same project - /// as the topic, conforming to the [resource name format] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated name is populated in the - /// returned Subscription object. Note that for REST API requests, you must specify a name in the request. + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). If the subscription already exists, + /// returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns `NOT_FOUND`. If the name is + /// not provided in the request, the server will assign a random name for this subscription on the same + /// project as the topic, conforming to the [resource name format] + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The generated name is populated in + /// the returned Subscription object. Note that for REST API requests, you must specify a name in the + /// request. /// public class CreateRequest : PubsubBaseServiceRequest { @@ -3002,7 +3004,7 @@ protected override void InitParameters() /// /// Creates the given topic with the given name. See the [resource name rules] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). /// /// The body of the request. /// @@ -3018,7 +3020,7 @@ public virtual CreateRequest Create(Google.Apis.Pubsub.v1.Data.Topic body, strin /// /// Creates the given topic with the given name. See the [resource name rules] - /// (https://cloud.google.com/pubsub/docs/admin#resource_names). + /// (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). /// public class CreateRequest : PubsubBaseServiceRequest { @@ -4062,10 +4064,10 @@ public class ListTopicsResponse : Google.Apis.Requests.IDirectResponseSchema public class MessageStoragePolicy : Google.Apis.Requests.IDirectResponseSchema { /// - /// Optional. A list of IDs of GCP regions where messages that are published to the topic may be persisted in - /// storage. Messages published by publishers running in non-allowed GCP regions (or running outside of GCP - /// altogether) will be routed for storage in one of the allowed regions. An empty list means that no regions - /// are allowed, and is not a valid configuration. + /// Optional. A list of IDs of Google Cloud regions where messages that are published to the topic may be + /// persisted in storage. Messages published by publishers running in non-allowed Google Cloud regions (or + /// running outside of Google Cloud altogether) are routed for storage in one of the allowed regions. An empty + /// list means that no regions are allowed, and is not a valid configuration. /// [Newtonsoft.Json.JsonPropertyAttribute("allowedPersistenceRegions")] public virtual System.Collections.Generic.IList AllowedPersistenceRegions { get; set; } 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 2952025bd4d..4b29eed5eed 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.62.1.3204 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs index 14ec1f0aba4..0fce407ec1f 100644 --- a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs +++ b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.cs @@ -1596,6 +1596,14 @@ public class GoogleCloudRecaptchaenterpriseV1AndroidKeySettings : Google.Apis.Re /// The request message to annotate an Assessment. public class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest : Google.Apis.Requests.IDirectResponseSchema { + /// + /// Optional. A stable account identifier to apply to the assessment. This is an alternative to setting + /// `account_id` in `CreateAssessment`, for example when a stable account identifier is not yet known in the + /// initial request. + /// + [Newtonsoft.Json.JsonPropertyAttribute("accountId")] + public virtual string AccountId { get; set; } + /// /// Optional. The annotation that will be assigned to the Event. This field can be left empty to provide reasons /// that apply to an event without concluding whether the event is legitimate or fraudulent. @@ -1604,9 +1612,9 @@ public class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest : Google. public virtual string Annotation { get; set; } /// - /// Optional. Unique stable hashed user identifier to apply to the assessment. This is an alternative to setting - /// the hashed_account_id in CreateAssessment, for example when the account identifier is not yet known in the - /// initial request. It is recommended that the identifier is hashed using hmac-sha256 with stable secret. + /// Optional. A stable hashed account identifier to apply to the assessment. This is an alternative to setting + /// `hashed_account_id` in `CreateAssessment`, for example when a stable account identifier is not yet known in + /// the initial request. /// [Newtonsoft.Json.JsonPropertyAttribute("hashedAccountId")] public virtual string HashedAccountId { get; set; } @@ -1662,7 +1670,7 @@ public class GoogleCloudRecaptchaenterpriseV1AppleDeveloperId : Google.Apis.Requ public class GoogleCloudRecaptchaenterpriseV1Assessment : Google.Apis.Requests.IDirectResponseSchema { /// - /// Output only. Assessment returned by account defender when a hashed_account_id is provided. + /// Output only. Assessment returned by account defender when an account identifier is provided. /// [Newtonsoft.Json.JsonPropertyAttribute("accountDefenderAssessment")] public virtual GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment AccountDefenderAssessment { get; set; } @@ -1839,8 +1847,8 @@ public class GoogleCloudRecaptchaenterpriseV1Event : Google.Apis.Requests.IDirec public virtual System.Nullable FirewallPolicyEvaluation { get; set; } /// - /// Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using - /// hmac-sha256 with stable secret. + /// Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the + /// request. The identifier must be hashed using hmac-sha256 with stable secret. /// [Newtonsoft.Json.JsonPropertyAttribute("hashedAccountId")] public virtual string HashedAccountId { get; set; } @@ -1882,6 +1890,14 @@ public class GoogleCloudRecaptchaenterpriseV1Event : Google.Apis.Requests.IDirec [Newtonsoft.Json.JsonPropertyAttribute("userAgent")] public virtual string UserAgent { get; set; } + /// + /// Optional. Information about the user that generates this event, when they can be identified. They are often + /// identified through the use of an account for logged-in requests or login/registration requests, or by + /// providing user identifiers for guest actions like checkout. + /// + [Newtonsoft.Json.JsonPropertyAttribute("userInfo")] + public virtual GoogleCloudRecaptchaenterpriseV1UserInfo UserInfo { get; set; } + /// Optional. The IP address in the request from the user's device related to this event. [Newtonsoft.Json.JsonPropertyAttribute("userIpAddress")] public virtual string UserIpAddress { get; set; } @@ -2983,6 +2999,90 @@ public virtual System.DateTimeOffset? EventTimeDateTimeOffset public virtual string ETag { get; set; } } + /// An identifier associated with a user. + public class GoogleCloudRecaptchaenterpriseV1UserId : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. An email address. + [Newtonsoft.Json.JsonPropertyAttribute("email")] + public virtual string Email { get; set; } + + /// Optional. A phone number. Should use the E.164 format. + [Newtonsoft.Json.JsonPropertyAttribute("phoneNumber")] + public virtual string PhoneNumber { get; set; } + + /// + /// Optional. A unique username, if different from all the other identifiers and `account_id` that are provided. + /// Can be a unique login handle or display name for a user. + /// + [Newtonsoft.Json.JsonPropertyAttribute("username")] + public virtual string Username { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// User information associated with a request protected by reCAPTCHA Enterprise. + public class GoogleCloudRecaptchaenterpriseV1UserInfo : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// Optional. For logged-in requests or login/registration requests, the unique account identifier associated + /// with this user. You can use the username if it is stable (meaning it is the same for every request + /// associated with the same user), or any stable user ID of your choice. Leave blank for non logged-in actions + /// or guest checkout. + /// + [Newtonsoft.Json.JsonPropertyAttribute("accountId")] + public virtual string AccountId { get; set; } + + private string _createAccountTimeRaw; + + private object _createAccountTime; + + /// + /// Optional. Creation time for this account associated with this user. Leave blank for non logged-in actions, + /// guest checkout, or when there is no account associated with the current user. + /// + [Newtonsoft.Json.JsonPropertyAttribute("createAccountTime")] + public virtual string CreateAccountTimeRaw + { + get => _createAccountTimeRaw; + set + { + _createAccountTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); + _createAccountTimeRaw = value; + } + } + + /// representation of . + [Newtonsoft.Json.JsonIgnoreAttribute] + [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateAccountTimeDateTimeOffset instead.")] + public virtual object CreateAccountTime + { + get => _createAccountTime; + set + { + _createAccountTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); + _createAccountTime = value; + } + } + + /// + /// representation of . + /// + [Newtonsoft.Json.JsonIgnoreAttribute] + public virtual System.DateTimeOffset? CreateAccountTimeDateTimeOffset + { + get => Google.Apis.Util.Utilities.GetDateTimeOffsetFromString(CreateAccountTimeRaw); + set => CreateAccountTimeRaw = Google.Apis.Util.Utilities.GetStringFromDateTimeOffset(value); + } + + /// Optional. Identifiers associated with this user or request. + [Newtonsoft.Json.JsonPropertyAttribute("userIds")] + public virtual System.Collections.Generic.IList UserIds { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Settings specific to keys that can be used for WAF (Web Application Firewall). public class GoogleCloudRecaptchaenterpriseV1WafSettings : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj index 571f8a33d02..43bfe1b8695 100644 --- a/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj +++ b/Src/Generated/Google.Apis.RecaptchaEnterprise.v1/Google.Apis.RecaptchaEnterprise.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.RecaptchaEnterprise.v1 Client Library - 1.62.1.3209 + 1.62.1.3216 Google LLC Copyright 2023 Google LLC Google 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 0ebf42f887a..583e573714c 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 @@ -5964,7 +5964,9 @@ public class BakImportOptionsData private object _stopAt; /// - /// Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only + /// Optional. The timestamp when the import should stop. This timestamp is in the [RFC + /// 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field + /// is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only. /// [Newtonsoft.Json.JsonPropertyAttribute("stopAt")] public virtual string StopAtRaw @@ -5999,7 +6001,8 @@ public virtual System.DateTimeOffset? StopAtDateTimeOffset } /// - /// Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only + /// Optional. The marked transaction where the import should stop. This field is equivalent to the + /// STOPATMARK keyword and applies to Cloud SQL for SQL Server only. /// [Newtonsoft.Json.JsonPropertyAttribute("stopAtMark")] public virtual string StopAtMark { get; set; } @@ -6311,27 +6314,26 @@ public class IpConfiguration : Google.Apis.Requests.IDirectResponseSchema public virtual PscConfig PscConfig { get; set; } /// - /// LINT.IfChange(require_ssl_deprecate) Whether SSL/TLS connections over IP are enforced or not. If set to - /// false, allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate - /// will not be verified. If set to true, only allow connections encrypted with SSL/TLS and with valid client - /// certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client - /// certificates, use the `ssl_mode` flag instead of the legacy `require_ssl` flag. - /// LINT.ThenChange(//depot/google3/java/com/google/storage/speckle/boss/admin/actions/InstanceUpdateAction.java:update_api_temp_fix) + /// Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and + /// SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then + /// only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce + /// SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag + /// instead of the legacy `require_ssl` flag. /// [Newtonsoft.Json.JsonPropertyAttribute("requireSsl")] public virtual System.Nullable RequireSsl { get; set; } /// - /// Specify how SSL/TLS will be enforced in database connections. This flag is only supported for PostgreSQL. - /// Use the legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, it is - /// recommended to use the `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict - /// between those flags in PostgreSQL, only the following value pairs are valid: - /// ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED, require_ssl=false; ssl_mode=ENCRYPTED_ONLY, require_ssl=false; - /// ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED, require_ssl=true; Note that the value of `ssl_mode` gets + /// Specify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the + /// legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use the + /// `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict between those flags in + /// PostgreSQL, only the following value pairs are valid: * `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` Note that the value of `ssl_mode` gets /// priority over the value of the legacy `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, /// require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means "only accepts SSL connection", while the - /// `require_ssl=false` means "both non-SSL and SSL connections are allowed". The database will respect - /// `ssl_mode` in this case and only accept SSL connections. + /// `require_ssl=false` means "both non-SSL and SSL connections are allowed". The database respects `ssl_mode` + /// in this case and only accepts SSL connections. /// [Newtonsoft.Json.JsonPropertyAttribute("sslMode")] public virtual string SslMode { get; set; } @@ -6988,10 +6990,6 @@ public class PasswordValidationPolicy : Google.Apis.Requests.IDirectResponseSche [Newtonsoft.Json.JsonPropertyAttribute("complexity")] public virtual string Complexity { get; set; } - /// Disallow credentials that have been previously compromised by a public data breach. - [Newtonsoft.Json.JsonPropertyAttribute("disallowCompromisedCredentials")] - public virtual System.Nullable DisallowCompromisedCredentials { get; set; } - /// Disallow username as a part of the password. [Newtonsoft.Json.JsonPropertyAttribute("disallowUsernameSubstring")] public virtual System.Nullable DisallowUsernameSubstring { 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 9cb45819acc..ef96a86fe6d 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.62.1.3205 + 1.62.1.3211 Google LLC Copyright 2023 Google LLC Google 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 3e1eca16795..7faf17f4414 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 @@ -5964,7 +5964,9 @@ public class BakImportOptionsData private object _stopAt; /// - /// Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for SQL Server only + /// Optional. The timestamp when the import should stop. This timestamp is in the [RFC + /// 3339](https://tools.ietf.org/html/rfc3339) format (for example, `2023-10-01T16:19:00.094`). This field + /// is equivalent to the STOPAT keyword and applies to Cloud SQL for SQL Server only. /// [Newtonsoft.Json.JsonPropertyAttribute("stopAt")] public virtual string StopAtRaw @@ -5999,7 +6001,8 @@ public virtual System.DateTimeOffset? StopAtDateTimeOffset } /// - /// Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL for SQL Server only + /// Optional. The marked transaction where the import should stop. This field is equivalent to the + /// STOPATMARK keyword and applies to Cloud SQL for SQL Server only. /// [Newtonsoft.Json.JsonPropertyAttribute("stopAtMark")] public virtual string StopAtMark { get; set; } @@ -6311,27 +6314,26 @@ public class IpConfiguration : Google.Apis.Requests.IDirectResponseSchema public virtual PscConfig PscConfig { get; set; } /// - /// LINT.IfChange(require_ssl_deprecate) Whether SSL/TLS connections over IP are enforced or not. If set to - /// false, allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate - /// will not be verified. If set to true, only allow connections encrypted with SSL/TLS and with valid client - /// certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client - /// certificates, use the `ssl_mode` flag instead of the legacy `require_ssl` flag. - /// LINT.ThenChange(//depot/google3/java/com/google/storage/speckle/boss/admin/actions/InstanceUpdateAction.java:update_api_temp_fix) + /// Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and + /// SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then + /// only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce + /// SSL/TLS without enforcing the requirement for valid client certificates, then use the `ssl_mode` flag + /// instead of the legacy `require_ssl` flag. /// [Newtonsoft.Json.JsonPropertyAttribute("requireSsl")] public virtual System.Nullable RequireSsl { get; set; } /// - /// Specify how SSL/TLS will be enforced in database connections. This flag is only supported for PostgreSQL. - /// Use the legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, it is - /// recommended to use the `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict - /// between those flags in PostgreSQL, only the following value pairs are valid: - /// ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED, require_ssl=false; ssl_mode=ENCRYPTED_ONLY, require_ssl=false; - /// ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED, require_ssl=true; Note that the value of `ssl_mode` gets + /// Specify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the + /// legacy `require_ssl` flag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use the + /// `ssl_mode` flag instead of the legacy `require_ssl` flag. To avoid the conflict between those flags in + /// PostgreSQL, only the following value pairs are valid: * `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` Note that the value of `ssl_mode` gets /// priority over the value of the legacy `require_ssl`. For example, for the pair `ssl_mode=ENCRYPTED_ONLY, /// require_ssl=false`, the `ssl_mode=ENCRYPTED_ONLY` means "only accepts SSL connection", while the - /// `require_ssl=false` means "both non-SSL and SSL connections are allowed". The database will respect - /// `ssl_mode` in this case and only accept SSL connections. + /// `require_ssl=false` means "both non-SSL and SSL connections are allowed". The database respects `ssl_mode` + /// in this case and only accepts SSL connections. /// [Newtonsoft.Json.JsonPropertyAttribute("sslMode")] public virtual string SslMode { get; set; } @@ -6988,10 +6990,6 @@ public class PasswordValidationPolicy : Google.Apis.Requests.IDirectResponseSche [Newtonsoft.Json.JsonPropertyAttribute("complexity")] public virtual string Complexity { get; set; } - /// Disallow credentials that have been previously compromised by a public data breach. - [Newtonsoft.Json.JsonPropertyAttribute("disallowCompromisedCredentials")] - public virtual System.Nullable DisallowCompromisedCredentials { get; set; } - /// Disallow username as a part of the password. [Newtonsoft.Json.JsonPropertyAttribute("disallowUsernameSubstring")] public virtual System.Nullable DisallowUsernameSubstring { 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 a666d7db13f..ecbd3b52de8 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.62.1.3205 + 1.62.1.3211 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs index 059f210afe7..bc19a8b0628 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.cs @@ -283,6 +283,7 @@ public FoldersResource(Google.Apis.Services.IClientService service) Assets = new AssetsResource(service); BigQueryExports = new BigQueryExportsResource(service); Findings = new FindingsResource(service); + Locations = new LocationsResource(service); MuteConfigs = new MuteConfigsResource(service); NotificationConfigs = new NotificationConfigsResource(service); SecurityHealthAnalyticsSettings = new SecurityHealthAnalyticsSettingsResource(service); @@ -1116,6 +1117,242 @@ protected override void InitParameters() } } + /// Gets the Locations resource. + public virtual LocationsResource Locations { get; } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + MuteConfigs = new MuteConfigsResource(service); + } + + /// Gets the MuteConfigs resource. + public virtual MuteConfigsResource MuteConfigs { get; } + + /// The "muteConfigs" collection of methods. + public class MuteConfigsResource + { + private const string Resource = "muteConfigs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MuteConfigsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Deletes an existing mute config. + /// + /// Required. Name of the mute config to delete. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes an existing mute config. + public class DeleteRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Name of the mute config to delete. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + [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 = @"^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + } + } + + /// Gets a mute config. + /// + /// Required. Name of the mute config to retrieve. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets a mute config. + public class GetRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Name of the mute config to retrieve. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + [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 = @"^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + } + } + + /// Updates a mute config. + /// The body of the request. + /// + /// This field will be ignored if provided on config creation. Format + /// "organizations/{organization}/muteConfigs/{mute_config}" + /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" + /// + public virtual PatchRequest Patch(Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates a mute config. + public class PatchRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// This field will be ignored if provided on config creation. Format + /// "organizations/{organization}/muteConfigs/{mute_config}" + /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// The list of fields to be updated. If empty all mutable fields will be updated. + /// + [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.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig 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 => "v1/{+name}"; + + /// Initializes Patch 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 = @"^folders/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } + } + } + } + /// Gets the MuteConfigs resource. public virtual MuteConfigsResource MuteConfigs { get; } @@ -1211,8 +1448,11 @@ protected override void InitParameters() /// Deletes an existing mute config. /// /// Required. Name of the mute config to delete. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// public virtual DeleteRequest Delete(string name) { @@ -1231,8 +1471,11 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. Name of the mute config to delete. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -1264,8 +1507,11 @@ protected override void InitParameters() /// Gets a mute config. /// /// Required. Name of the mute config to retrieve. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// public virtual GetRequest Get(string name) { @@ -1284,8 +1530,11 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba /// /// Required. Name of the mute config to retrieve. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -1403,6 +1652,9 @@ protected override void InitParameters() /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" /// "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// public virtual PatchRequest Patch(Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) { @@ -1424,6 +1676,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Sec /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -2330,6 +2585,67 @@ protected override void InitParameters() }); } } + + /// Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + /// The body of the request. + /// + /// Required. The relative resource name of the organization, project, or folder. See: + /// https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: + /// "organizations/{organization_id}". + /// + public virtual SimulateRequest Simulate(Google.Apis.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent) + { + return new SimulateRequest(service, body, parent); + } + + /// Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + public class SimulateRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Simulate request. + public SimulateRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The relative resource name of the organization, project, or folder. See: + /// https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: + /// "organizations/{organization_id}". + /// + [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.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "simulate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/customModules:simulate"; + + /// Initializes Simulate 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 = @"^folders/[^/]+/securityHealthAnalyticsSettings$", + }); + } + } } /// Gets the EffectiveCustomModules resource. @@ -3322,6 +3638,7 @@ public OrganizationsResource(Google.Apis.Services.IClientService service) BigQueryExports = new BigQueryExportsResource(service); EventThreatDetectionSettings = new EventThreatDetectionSettingsResource(service); Findings = new FindingsResource(service); + Locations = new LocationsResource(service); MuteConfigs = new MuteConfigsResource(service); NotificationConfigs = new NotificationConfigsResource(service); Operations = new OperationsResource(service); @@ -4611,33 +4928,269 @@ public BulkMuteRequest(Google.Apis.Services.IClientService service, Google.Apis. [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.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest Body { get; set; } + /// Gets or sets the body of this request. + Google.Apis.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "bulkMute"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/findings:bulkMute"; + + /// Initializes BulkMute 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 = @"^organizations/[^/]+$", + }); + } + } + } + + /// Gets the Locations resource. + public virtual LocationsResource Locations { get; } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + MuteConfigs = new MuteConfigsResource(service); + } + + /// Gets the MuteConfigs resource. + public virtual MuteConfigsResource MuteConfigs { get; } + + /// The "muteConfigs" collection of methods. + public class MuteConfigsResource + { + private const string Resource = "muteConfigs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MuteConfigsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Deletes an existing mute config. + /// + /// Required. Name of the mute config to delete. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes an existing mute config. + public class DeleteRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Name of the mute config to delete. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + [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 = @"^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + } + } + + /// Gets a mute config. + /// + /// Required. Name of the mute config to retrieve. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } + + /// Gets a mute config. + public class GetRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Name of the mute config to retrieve. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + [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 = @"^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + } + } + + /// Updates a mute config. + /// The body of the request. + /// + /// This field will be ignored if provided on config creation. Format + /// "organizations/{organization}/muteConfigs/{mute_config}" + /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" + /// + public virtual PatchRequest Patch(Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) + { + return new PatchRequest(service, body, name); + } + + /// Updates a mute config. + public class PatchRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } + + /// + /// This field will be ignored if provided on config creation. Format + /// "organizations/{organization}/muteConfigs/{mute_config}" + /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } + + /// + /// The list of fields to be updated. If empty all mutable fields will be updated. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } - /// Returns the body of the request. - protected override object GetBody() => Body; + /// Gets or sets the body of this request. + Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig Body { get; set; } - /// Gets the method name. - public override string MethodName => "bulkMute"; + /// Returns the body of the request. + protected override object GetBody() => Body; - /// Gets the HTTP method. - public override string HttpMethod => "POST"; + /// Gets the method name. + public override string MethodName => "patch"; - /// Gets the REST path. - public override string RestPath => "v1/{+parent}/findings:bulkMute"; + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; - /// Initializes BulkMute parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^organizations/[^/]+$", - }); + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^organizations/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } } } } @@ -4737,8 +5290,11 @@ protected override void InitParameters() /// Deletes an existing mute config. /// /// Required. Name of the mute config to delete. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// public virtual DeleteRequest Delete(string name) { @@ -4757,8 +5313,11 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. Name of the mute config to delete. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -4790,8 +5349,11 @@ protected override void InitParameters() /// Gets a mute config. /// /// Required. Name of the mute config to retrieve. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// public virtual GetRequest Get(string name) { @@ -4810,8 +5372,11 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba /// /// Required. Name of the mute config to retrieve. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -4929,6 +5494,9 @@ protected override void InitParameters() /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" /// "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// public virtual PatchRequest Patch(Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) { @@ -4950,6 +5518,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Sec /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -6452,6 +7023,67 @@ protected override void InitParameters() }); } } + + /// Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + /// The body of the request. + /// + /// Required. The relative resource name of the organization, project, or folder. See: + /// https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: + /// "organizations/{organization_id}". + /// + public virtual SimulateRequest Simulate(Google.Apis.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent) + { + return new SimulateRequest(service, body, parent); + } + + /// Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + public class SimulateRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Simulate request. + public SimulateRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The relative resource name of the organization, project, or folder. See: + /// https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: + /// "organizations/{organization_id}". + /// + [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.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "simulate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/customModules:simulate"; + + /// Initializes Simulate 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 = @"^organizations/[^/]+/securityHealthAnalyticsSettings$", + }); + } + } } /// Gets the EffectiveCustomModules resource. @@ -8709,6 +9341,7 @@ public ProjectsResource(Google.Apis.Services.IClientService service) Assets = new AssetsResource(service); BigQueryExports = new BigQueryExportsResource(service); Findings = new FindingsResource(service); + Locations = new LocationsResource(service); MuteConfigs = new MuteConfigsResource(service); NotificationConfigs = new NotificationConfigsResource(service); SecurityHealthAnalyticsSettings = new SecurityHealthAnalyticsSettingsResource(service); @@ -9456,88 +10089,324 @@ protected override void InitParameters() Pattern = null, }); } - } - } + } + } + + /// Gets the Findings resource. + public virtual FindingsResource Findings { get; } + + /// The "findings" collection of methods. + public class FindingsResource + { + private const string Resource = "findings"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public FindingsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// + /// Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an + /// organization, folder or project. The findings matched by the filter will be muted after the LRO is done. + /// + /// The body of the request. + /// + /// Required. The parent, at which bulk action needs to be applied. Its format is + /// "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + /// + public virtual BulkMuteRequest BulkMute(Google.Apis.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest body, string parent) + { + return new BulkMuteRequest(service, body, parent); + } + + /// + /// Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an + /// organization, folder or project. The findings matched by the filter will be muted after the LRO is done. + /// + public class BulkMuteRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new BulkMute request. + public BulkMuteRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The parent, at which bulk action needs to be applied. Its format is + /// "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". + /// + [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.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "bulkMute"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/findings:bulkMute"; + + /// Initializes BulkMute 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/[^/]+$", + }); + } + } + } + + /// Gets the Locations resource. + public virtual LocationsResource Locations { get; } + + /// The "locations" collection of methods. + public class LocationsResource + { + private const string Resource = "locations"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public LocationsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + MuteConfigs = new MuteConfigsResource(service); + } + + /// Gets the MuteConfigs resource. + public virtual MuteConfigsResource MuteConfigs { get; } + + /// The "muteConfigs" collection of methods. + public class MuteConfigsResource + { + private const string Resource = "muteConfigs"; + + /// The service which this resource belongs to. + private readonly Google.Apis.Services.IClientService service; + + /// Constructs a new resource. + public MuteConfigsResource(Google.Apis.Services.IClientService service) + { + this.service = service; + } + + /// Deletes an existing mute config. + /// + /// Required. Name of the mute config to delete. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + public virtual DeleteRequest Delete(string name) + { + return new DeleteRequest(service, name); + } + + /// Deletes an existing mute config. + public class DeleteRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Delete request. + public DeleteRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } + + /// + /// Required. Name of the mute config to delete. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + [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/[^/]+/muteConfigs/[^/]+$", + }); + } + } + + /// Gets a mute config. + /// + /// Required. Name of the mute config to retrieve. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + public virtual GetRequest Get(string name) + { + return new GetRequest(service, name); + } - /// Gets the Findings resource. - public virtual FindingsResource Findings { get; } + /// Gets a mute config. + public class GetRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Get request. + public GetRequest(Google.Apis.Services.IClientService service, string name) : base(service) + { + Name = name; + InitParameters(); + } - /// The "findings" collection of methods. - public class FindingsResource - { - private const string Resource = "findings"; + /// + /// Required. Name of the mute config to retrieve. Its format is + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } - /// The service which this resource belongs to. - private readonly Google.Apis.Services.IClientService service; + /// Gets the method name. + public override string MethodName => "get"; - /// Constructs a new resource. - public FindingsResource(Google.Apis.Services.IClientService service) - { - this.service = service; - } + /// Gets the HTTP method. + public override string HttpMethod => "GET"; - /// - /// Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an - /// organization, folder or project. The findings matched by the filter will be muted after the LRO is done. - /// - /// The body of the request. - /// - /// Required. The parent, at which bulk action needs to be applied. Its format is - /// "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". - /// - public virtual BulkMuteRequest BulkMute(Google.Apis.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest body, string parent) - { - return new BulkMuteRequest(service, body, parent); - } + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; - /// - /// Kicks off an LRO to bulk mute findings for a parent based on a filter. The parent can be either an - /// organization, folder or project. The findings matched by the filter will be muted after the LRO is done. - /// - public class BulkMuteRequest : SecurityCommandCenterBaseServiceRequest - { - /// Constructs a new BulkMute request. - public BulkMuteRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest body, string parent) : base(service) + /// 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/[^/]+/muteConfigs/[^/]+$", + }); + } + } + + /// Updates a mute config. + /// The body of the request. + /// + /// This field will be ignored if provided on config creation. Format + /// "organizations/{organization}/muteConfigs/{mute_config}" + /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" + /// + public virtual PatchRequest Patch(Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) { - Parent = parent; - Body = body; - InitParameters(); + return new PatchRequest(service, body, name); } - /// - /// Required. The parent, at which bulk action needs to be applied. Its format is - /// "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". - /// - [Google.Apis.Util.RequestParameterAttribute("parent", Google.Apis.Util.RequestParameterType.Path)] - public virtual string Parent { get; private set; } + /// Updates a mute config. + public class PatchRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Patch request. + public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) : base(service) + { + Name = name; + Body = body; + InitParameters(); + } - /// Gets or sets the body of this request. - Google.Apis.SecurityCommandCenter.v1.Data.BulkMuteFindingsRequest Body { get; set; } + /// + /// This field will be ignored if provided on config creation. Format + /// "organizations/{organization}/muteConfigs/{mute_config}" + /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" + /// + [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] + public virtual string Name { get; private set; } - /// Returns the body of the request. - protected override object GetBody() => Body; + /// + /// The list of fields to be updated. If empty all mutable fields will be updated. + /// + [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] + public virtual object UpdateMask { get; set; } - /// Gets the method name. - public override string MethodName => "bulkMute"; + /// Gets or sets the body of this request. + Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig Body { get; set; } - /// Gets the HTTP method. - public override string HttpMethod => "POST"; + /// Returns the body of the request. + protected override object GetBody() => Body; - /// Gets the REST path. - public override string RestPath => "v1/{+parent}/findings:bulkMute"; + /// Gets the method name. + public override string MethodName => "patch"; - /// Initializes BulkMute parameter list. - protected override void InitParameters() - { - base.InitParameters(); - RequestParameters.Add("parent", new Google.Apis.Discovery.Parameter + /// Gets the HTTP method. + public override string HttpMethod => "PATCH"; + + /// Gets the REST path. + public override string RestPath => "v1/{+name}"; + + /// Initializes Patch parameter list. + protected override void InitParameters() { - Name = "parent", - IsRequired = true, - ParameterType = "path", - DefaultValue = null, - Pattern = @"^projects/[^/]+$", - }); + base.InitParameters(); + RequestParameters.Add("name", new Google.Apis.Discovery.Parameter + { + Name = "name", + IsRequired = true, + ParameterType = "path", + DefaultValue = null, + Pattern = @"^projects/[^/]+/locations/[^/]+/muteConfigs/[^/]+$", + }); + RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter + { + Name = "updateMask", + IsRequired = false, + ParameterType = "query", + DefaultValue = null, + Pattern = null, + }); + } } } } @@ -9637,8 +10506,11 @@ protected override void InitParameters() /// Deletes an existing mute config. /// /// Required. Name of the mute config to delete. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// public virtual DeleteRequest Delete(string name) { @@ -9657,8 +10529,11 @@ public DeleteRequest(Google.Apis.Services.IClientService service, string name) : /// /// Required. Name of the mute config to delete. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -9690,8 +10565,11 @@ protected override void InitParameters() /// Gets a mute config. /// /// Required. Name of the mute config to retrieve. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// public virtual GetRequest Get(string name) { @@ -9710,8 +10588,11 @@ public GetRequest(Google.Apis.Services.IClientService service, string name) : ba /// /// Required. Name of the mute config to retrieve. Its format is - /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, or - /// projects/{project}/muteConfigs/{config_id} + /// organizations/{organization}/muteConfigs/{config_id}, folders/{folder}/muteConfigs/{config_id}, + /// projects/{project}/muteConfigs/{config_id}, + /// organizations/{organization}/locations/global/muteConfigs/{config_id}, + /// folders/{folder}/locations/global/muteConfigs/{config_id}, or + /// projects/{project}/locations/global/muteConfigs/{config_id}. /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -9829,6 +10710,9 @@ protected override void InitParameters() /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" /// "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// public virtual PatchRequest Patch(Google.Apis.SecurityCommandCenter.v1.Data.GoogleCloudSecuritycenterV1MuteConfig body, string name) { @@ -9850,6 +10734,9 @@ public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Sec /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" /// "folders/{folder}/muteConfigs/{mute_config}" "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// [Google.Apis.Util.RequestParameterAttribute("name", Google.Apis.Util.RequestParameterType.Path)] public virtual string Name { get; private set; } @@ -10756,6 +11643,67 @@ protected override void InitParameters() }); } } + + /// Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + /// The body of the request. + /// + /// Required. The relative resource name of the organization, project, or folder. See: + /// https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: + /// "organizations/{organization_id}". + /// + public virtual SimulateRequest Simulate(Google.Apis.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent) + { + return new SimulateRequest(service, body, parent); + } + + /// Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + public class SimulateRequest : SecurityCommandCenterBaseServiceRequest + { + /// Constructs a new Simulate request. + public SimulateRequest(Google.Apis.Services.IClientService service, Google.Apis.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest body, string parent) : base(service) + { + Parent = parent; + Body = body; + InitParameters(); + } + + /// + /// Required. The relative resource name of the organization, project, or folder. See: + /// https://cloud.google.com/apis/design/resource_names#relative_resource_name An example is: + /// "organizations/{organization_id}". + /// + [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.SecurityCommandCenter.v1.Data.SimulateSecurityHealthAnalyticsCustomModuleRequest Body { get; set; } + + /// Returns the body of the request. + protected override object GetBody() => Body; + + /// Gets the method name. + public override string MethodName => "simulate"; + + /// Gets the HTTP method. + public override string HttpMethod => "POST"; + + /// Gets the REST path. + public override string RestPath => "v1/{+parent}/customModules:simulate"; + + /// Initializes Simulate 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/[^/]+/securityHealthAnalyticsSettings$", + }); + } + } } /// Gets the EffectiveCustomModules resource. @@ -13279,6 +14227,10 @@ public virtual System.DateTimeOffset? MuteUpdateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("nextSteps")] public virtual string NextSteps { get; set; } + /// Contains information about the org policies associated with the finding. + [Newtonsoft.Json.JsonPropertyAttribute("orgPolicies")] + public virtual System.Collections.Generic.IList OrgPolicies { get; set; } + /// /// The relative resource name of the source the finding belongs to. See: /// https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after @@ -13824,6 +14776,9 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" /// "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -15619,6 +16574,19 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Contains information about the org policies associated with the finding. + public class OrgPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}" + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// User specified settings that are attached to the Security Command Center organization. public class OrganizationSettings : Google.Apis.Requests.IDirectResponseSchema { @@ -16192,6 +17160,80 @@ public class SetMuteRequest : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// + /// Request message to simulate a CustomConfig against a given test resource. Maximum size of the request is 4 MB by + /// default. + /// + public class SimulateSecurityHealthAnalyticsCustomModuleRequest : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The user specified custom configuration to test. + [Newtonsoft.Json.JsonPropertyAttribute("customConfig")] + public virtual GoogleCloudSecuritycenterV1CustomConfig CustomConfig { get; set; } + + /// Required. Resource data to simulate custom module against. + [Newtonsoft.Json.JsonPropertyAttribute("resource")] + public virtual SimulatedResource Resource { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource. + /// + public class SimulateSecurityHealthAnalyticsCustomModuleResponse : Google.Apis.Requests.IDirectResponseSchema + { + /// Result for test case in the corresponding request. + [Newtonsoft.Json.JsonPropertyAttribute("result")] + public virtual SimulatedResult Result { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// + /// Manually constructed resource. If the custom module only evaluates against the resource data, the + /// iam_policy_data field can be omitted, and vice versa. + /// + public class SimulatedResource : Google.Apis.Requests.IDirectResponseSchema + { + /// Optional. A representation of the IAM policy. + [Newtonsoft.Json.JsonPropertyAttribute("iamPolicyData")] + public virtual Policy IamPolicyData { get; set; } + + /// + /// Optional. A representation of the GCP resource. Should match the GCP resource JSON format. + /// + [Newtonsoft.Json.JsonPropertyAttribute("resourceData")] + public virtual System.Collections.Generic.IDictionary ResourceData { get; set; } + + /// Required. The type of the resource, e.g. `compute.googleapis.com/Disk`. + [Newtonsoft.Json.JsonPropertyAttribute("resourceType")] + public virtual string ResourceType { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + + /// Possible test result. + public class SimulatedResult : Google.Apis.Requests.IDirectResponseSchema + { + /// Error encountered during the test. + [Newtonsoft.Json.JsonPropertyAttribute("error")] + public virtual Status Error { get; set; } + + /// Finding that would be published for the test case, if a violation is detected. + [Newtonsoft.Json.JsonPropertyAttribute("finding")] + public virtual Finding Finding { get; set; } + + /// Indicates that the test case does not trigger any violation. + [Newtonsoft.Json.JsonPropertyAttribute("noViolation")] + public virtual Empty NoViolation { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Attack path simulation public class Simulation : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj index fdbe5efd102..f1b4a3a7d59 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1/Google.Apis.SecurityCommandCenter.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecurityCommandCenter.v1 Client Library - 1.62.1.3199 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs index b3083dbe3f1..dcce4aae807 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.cs @@ -3343,6 +3343,10 @@ public virtual System.DateTimeOffset? MuteUpdateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("nextSteps")] public virtual string NextSteps { get; set; } + /// Contains information about the org policies associated with the finding. + [Newtonsoft.Json.JsonPropertyAttribute("orgPolicies")] + public virtual System.Collections.Generic.IList OrgPolicies { get; set; } + /// /// The relative resource name of the source the finding belongs to. See: /// https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after @@ -3888,6 +3892,9 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" /// "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -5559,6 +5566,19 @@ public class Operation : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Contains information about the org policies associated with the finding. + public class OrgPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}" + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// User specified settings that are attached to the Security Command Center organization. public class OrganizationSettings : Google.Apis.Requests.IDirectResponseSchema { diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj index b63af5d7803..9633fc8fbb0 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta1/Google.Apis.SecurityCommandCenter.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.SecurityCommandCenter.v1beta1 Client Library - 1.62.1.3199 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs index bc93d350c7f..df52750fa01 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.cs @@ -6079,6 +6079,10 @@ public virtual System.DateTimeOffset? MuteUpdateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("nextSteps")] public virtual string NextSteps { get; set; } + /// Contains information about the org policies associated with the finding. + [Newtonsoft.Json.JsonPropertyAttribute("orgPolicies")] + public virtual System.Collections.Generic.IList OrgPolicies { get; set; } + /// /// The relative resource name of the source the finding belongs to. See: /// https://cloud.google.com/apis/design/resource_names#relative_resource_name This field is immutable after @@ -6594,6 +6598,9 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset /// This field will be ignored if provided on config creation. Format /// "organizations/{organization}/muteConfigs/{mute_config}" "folders/{folder}/muteConfigs/{mute_config}" /// "projects/{project}/muteConfigs/{mute_config}" + /// "organizations/{organization}/locations/global/muteConfigs/{mute_config}" + /// "folders/{folder}/locations/global/muteConfigs/{mute_config}" + /// "projects/{project}/locations/global/muteConfigs/{mute_config}" /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } @@ -7579,6 +7586,19 @@ public class Object : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Contains information about the org policies associated with the finding. + public class OrgPolicy : Google.Apis.Requests.IDirectResponseSchema + { + /// + /// The resource name of the org policy. Example: "organizations/{organization_id}/policies/{constraint_name}" + /// + [Newtonsoft.Json.JsonPropertyAttribute("name")] + public virtual string Name { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// A Kubernetes Pod. public class Pod : Google.Apis.Requests.IDirectResponseSchema { @@ -7773,7 +7793,7 @@ public class Role : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } - /// Resource capturing the settings for Security Center. + /// Resource capturing the settings for Security Center. Next ID: 12 public class SecurityCenterSettings : Google.Apis.Requests.IDirectResponseSchema { /// diff --git a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj index dc9861fb45b..caf8e7a5e82 100644 --- a/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj +++ b/Src/Generated/Google.Apis.SecurityCommandCenter.v1beta2/Google.Apis.SecurityCommandCenter.v1beta2.csproj @@ -3,7 +3,7 @@ Google.Apis.SecurityCommandCenter.v1beta2 Client Library - 1.62.1.3199 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google 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 992298c615c..a50edae942f 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 @@ -1954,71 +1954,6 @@ protected override void InitParameters() } } - /// - /// Consumers use this method to find out the state of VPC Service Controls. The controls could be - /// enabled or disabled for a connection. - /// - /// - /// Required. Name of the VPC Service Controls config to retrieve in the format: - /// `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering - /// service that is managing connectivity for the service producer's organization. For Google - /// services that support this functionality, this value is `servicenetworking.googleapis.com`. - /// {project} is a project number e.g. `12345` that contains the service consumer's VPC network. - /// {network} is the name of the service consumer's VPC network. - /// - public virtual GetVpcScControlsRequest GetVpcScControls(string name) - { - return new GetVpcScControlsRequest(service, name); - } - - /// - /// Consumers use this method to find out the state of VPC Service Controls. The controls could be - /// enabled or disabled for a connection. - /// - public class GetVpcScControlsRequest : ServiceNetworkingBaseServiceRequest - { - /// Constructs a new GetVpcScControls request. - public GetVpcScControlsRequest(Google.Apis.Services.IClientService service, string name) : base(service) - { - Name = name; - InitParameters(); - } - - /// - /// Required. Name of the VPC Service Controls config to retrieve in the format: - /// `services/{service}/projects/{project}/global/networks/{network}`. {service} is the peering - /// service that is managing connectivity for the service producer's organization. For Google - /// services that support this functionality, this value is `servicenetworking.googleapis.com`. - /// {project} is a project number e.g. `12345` that contains the service consumer's VPC network. - /// {network} is the name of the service consumer's VPC network. - /// - [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 => "getVpcScControls"; - - /// Gets the HTTP method. - public override string HttpMethod => "GET"; - - /// Gets the REST path. - public override string RestPath => "v1/{+name}/vpcScControls"; - - /// Initializes GetVpcScControls 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 = @"^services/[^/]+/projects/[^/]+/global/networks/[^/]+$", - }); - } - } - /// /// Service producers use this method to update the configuration of their connection including the /// import/export of custom routes and subnetwork routes with public IP. @@ -6170,19 +6105,4 @@ public class ValidateConsumerConfigResponse : Google.Apis.Requests.IDirectRespon /// The ETag of the item. public virtual string ETag { get; set; } } - - /// Response for the get VPC Service Controls request. - public class VpcServiceControls : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the - /// consumer called the EnableVpcServiceControls method, then this is true. If the consumer called - /// DisableVpcServiceControls, then this is false. The default is false. - /// - [Newtonsoft.Json.JsonPropertyAttribute("enabled")] - public virtual System.Nullable Enabled { get; set; } - - /// The ETag of the item. - public virtual string ETag { 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 4ebd8f02e79..564b2a17acc 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.62.1.3209 + 1.62.1.3198 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs index 5296e840788..5bac4ae9560 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.cs @@ -3838,19 +3838,4 @@ public class UsageRule : Google.Apis.Requests.IDirectResponseSchema /// The ETag of the item. public virtual string ETag { get; set; } } - - /// Response for the get VPC Service Controls request. - public class VpcServiceControls : Google.Apis.Requests.IDirectResponseSchema - { - /// - /// Output only. Indicates whether the VPC Service Controls are enabled or disabled for the connection. If the - /// consumer called the EnableVpcServiceControls method, then this is true. If the consumer called - /// DisableVpcServiceControls, then this is false. The default is false. - /// - [Newtonsoft.Json.JsonPropertyAttribute("enabled")] - public virtual System.Nullable Enabled { get; set; } - - /// The ETag of the item. - public virtual string ETag { get; set; } - } } diff --git a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj index 93ddfc947c6..90d6ab621e0 100644 --- a/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj +++ b/Src/Generated/Google.Apis.ServiceNetworking.v1beta/Google.Apis.ServiceNetworking.v1beta.csproj @@ -3,7 +3,7 @@ Google.Apis.ServiceNetworking.v1beta Client Library - 1.62.1.3209 + 1.62.1.3198 Google LLC Copyright 2023 Google LLC Google diff --git a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs index fe366aa8790..4f7f4fe080d 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs +++ b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.cs @@ -845,7 +845,7 @@ public class CustomVoiceParams : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("model")] public virtual string Model { get; set; } - /// Optional. The usage of the synthesized audio to be reported. + /// Optional. Deprecated. The usage of the synthesized audio to be reported. [Newtonsoft.Json.JsonPropertyAttribute("reportedUsage")] public virtual string ReportedUsage { get; set; } diff --git a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj index 2b2ceadebbf..7ea980b8152 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj +++ b/Src/Generated/Google.Apis.Texttospeech.v1/Google.Apis.Texttospeech.v1.csproj @@ -3,7 +3,7 @@ Google.Apis.Texttospeech.v1 Client Library - 1.62.0.3136 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google @@ -58,8 +58,8 @@ - - + + diff --git a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs index bfbe54d6350..f853b1d3fb6 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs +++ b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.cs @@ -699,7 +699,7 @@ public class CustomVoiceParams : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("model")] public virtual string Model { get; set; } - /// Optional. The usage of the synthesized audio to be reported. + /// Optional. Deprecated. The usage of the synthesized audio to be reported. [Newtonsoft.Json.JsonPropertyAttribute("reportedUsage")] public virtual string ReportedUsage { get; set; } diff --git a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj index be671d8fcb7..6f824cdc0e7 100644 --- a/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj +++ b/Src/Generated/Google.Apis.Texttospeech.v1beta1/Google.Apis.Texttospeech.v1beta1.csproj @@ -3,7 +3,7 @@ Google.Apis.Texttospeech.v1beta1 Client Library - 1.62.0.3136 + 1.62.1.3217 Google LLC Copyright 2023 Google LLC Google @@ -57,8 +57,8 @@ - - + + 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 196197cd21c..495e305693a 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 @@ -4886,6 +4886,10 @@ public class BootDiskDefaults : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. The encryption to apply to the boot disk. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The image to use when creating the disk. [Newtonsoft.Json.JsonPropertyAttribute("image")] public virtual DiskImageDefaults Image { get; set; } @@ -5256,6 +5260,10 @@ public class ComputeEngineTargetDefaults : Google.Apis.Requests.IDirectResponseS [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. Immutable. The encryption to apply to the VM disks. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The hostname to assign to the VM. [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } @@ -5343,6 +5351,10 @@ public class ComputeEngineTargetDetails : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. The encryption to apply to the VM disks. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The hostname to assign to the VM. [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } @@ -6040,6 +6052,10 @@ public class DisksMigrationVmTargetDefaults : Google.Apis.Requests.IDirectRespon [Newtonsoft.Json.JsonPropertyAttribute("computeScheduling")] public virtual ComputeScheduling ComputeScheduling { get; set; } + /// Optional. The encryption to apply to the VM. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// Optional. The hostname to assign to the VM. [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } @@ -6109,6 +6125,17 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Encryption message describes the details of the applied encryption. + public class Encryption : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The name of the encryption key that is stored in Google Cloud KMS. + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response message for fetchInventory. public class FetchInventoryResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -7193,6 +7220,10 @@ public class PersistentDiskDefaults : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. The encryption to apply to the disk. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// Required. The ordinal number of the source VM disk. [Newtonsoft.Json.JsonPropertyAttribute("sourceDiskNumber")] public virtual System.Nullable SourceDiskNumber { get; set; } @@ -7525,6 +7556,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// Optional. Immutable. The encryption details of the source data stored by the service. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The labels of the source. [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { 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 7a60a9fa082..5ce469ac8d5 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.62.1.3206 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google 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 0f1305cc11d..2a2992e8023 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 @@ -4886,6 +4886,10 @@ public class BootDiskDefaults : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. The encryption to apply to the boot disk. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The image to use when creating the disk. [Newtonsoft.Json.JsonPropertyAttribute("image")] public virtual DiskImageDefaults Image { get; set; } @@ -5269,6 +5273,10 @@ public class ComputeEngineTargetDefaults : Google.Apis.Requests.IDirectResponseS [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. Immutable. The encryption to apply to the VM disks. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The hostname to assign to the VM. [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } @@ -5356,6 +5364,10 @@ public class ComputeEngineTargetDetails : Google.Apis.Requests.IDirectResponseSc [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. The encryption to apply to the VM disks. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// The hostname to assign to the VM. [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } @@ -6073,6 +6085,10 @@ public class DisksMigrationVmTargetDefaults : Google.Apis.Requests.IDirectRespon [Newtonsoft.Json.JsonPropertyAttribute("computeScheduling")] public virtual ComputeScheduling ComputeScheduling { get; set; } + /// Optional. The encryption to apply to the VM. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// Optional. The hostname to assign to the VM. [Newtonsoft.Json.JsonPropertyAttribute("hostname")] public virtual string Hostname { get; set; } @@ -6142,6 +6158,17 @@ public class Empty : Google.Apis.Requests.IDirectResponseSchema public virtual string ETag { get; set; } } + /// Encryption message describes the details of the applied encryption. + public class Encryption : Google.Apis.Requests.IDirectResponseSchema + { + /// Required. The name of the encryption key that is stored in Google Cloud KMS. + [Newtonsoft.Json.JsonPropertyAttribute("kmsKey")] + public virtual string KmsKey { get; set; } + + /// The ETag of the item. + public virtual string ETag { get; set; } + } + /// Response message for fetchInventory. public class FetchInventoryResponse : Google.Apis.Requests.IDirectResponseSchema { @@ -7239,6 +7266,10 @@ public class PersistentDiskDefaults : Google.Apis.Requests.IDirectResponseSchema [Newtonsoft.Json.JsonPropertyAttribute("diskType")] public virtual string DiskType { get; set; } + /// Optional. The encryption to apply to the disk. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// Required. The ordinal number of the source VM disk. [Newtonsoft.Json.JsonPropertyAttribute("sourceDiskNumber")] public virtual System.Nullable SourceDiskNumber { get; set; } @@ -7575,6 +7606,10 @@ public virtual System.DateTimeOffset? CreateTimeDateTimeOffset [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } + /// Optional. Immutable. The encryption details of the source data stored by the service. + [Newtonsoft.Json.JsonPropertyAttribute("encryption")] + public virtual Encryption Encryption { get; set; } + /// Output only. Provides details on the state of the Source in case of an error. [Newtonsoft.Json.JsonPropertyAttribute("error")] public virtual Status Error { 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 c785dfee861..f0501271524 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.62.1.3206 + 1.62.1.3213 Google LLC Copyright 2023 Google LLC Google