Skip to content

Commit

Permalink
Update discovery documents and generated code
Browse files Browse the repository at this point in the history
automatically_generated_update
  • Loading branch information
amanda-tarafa committed Feb 26, 2024
1 parent f092c65 commit 2d8ab42
Show file tree
Hide file tree
Showing 95 changed files with 18,512 additions and 734 deletions.
420 changes: 340 additions & 80 deletions DiscoveryJson/aiplatform_v1.json

Large diffs are not rendered by default.

450 changes: 404 additions & 46 deletions DiscoveryJson/aiplatform_v1beta1.json

Large diffs are not rendered by default.

352 changes: 344 additions & 8 deletions DiscoveryJson/alloydb_v1.json

Large diffs are not rendered by default.

357 changes: 349 additions & 8 deletions DiscoveryJson/alloydb_v1alpha.json

Large diffs are not rendered by default.

423 changes: 415 additions & 8 deletions DiscoveryJson/alloydb_v1beta.json

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions DiscoveryJson/analyticshub_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@
}
}
},
"revision": "20240122",
"revision": "20240219",
"rootUrl": "https://analyticshub.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1167,7 +1167,18 @@
"DcrExchangeConfig": {
"description": "Data Clean Room (DCR), used for privacy-safe and secured data sharing.",
"id": "DcrExchangeConfig",
"properties": {},
"properties": {
"singleLinkedDatasetPerCleanroom": {
"description": "Output only. If True, when subscribing to this DCR, it will create only one linked dataset containing all resources shared within the cleanroom. If False, when subscribing to this DCR, it will create 1 linked dataset per listing. This is not configurable, and by default, all new DCRs will have the restriction set to True.",
"readOnly": true,
"type": "boolean"
},
"singleSelectedResourceSharingRestriction": {
"description": "Output only. If True, this DCR restricts the contributors to sharing only a single resource in a Listing. And no two resources should have the same IDs. So if a contributor adds a view with a conflicting name, the CreateListing API will reject the request. if False, the data contributor can publish an entire dataset (as before). This is not configurable, and by default, all new DCRs will have the restriction set to True.",
"readOnly": true,
"type": "boolean"
}
},
"type": "object"
},
"DefaultExchangeConfig": {
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/bigquery_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1844,7 +1844,7 @@
}
}
},
"revision": "20240203",
"revision": "20240214",
"rootUrl": "https://bigquery.googleapis.com/",
"schemas": {
"AggregateClassificationMetrics": {
Expand Down Expand Up @@ -3106,7 +3106,7 @@
},
"externalDatasetReference": {
"$ref": "ExternalDatasetReference",
"description": "Optional. Information about the external metadata storage where the dataset is defined. Filled out when the dataset type is EXTERNAL."
"description": "Optional. Reference to a read-only external dataset defined in data catalogs outside of BigQuery. Filled out when the dataset type is EXTERNAL."
},
"friendlyName": {
"description": "Optional. A descriptive name for the dataset.",
Expand Down
18 changes: 9 additions & 9 deletions DiscoveryJson/chat_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"baseUrl": "https://chat.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Hangouts Chat",
"description": "Enables apps to fetch information and perform actions in Google Chat. Authentication is a prerequisite for using the Google Chat REST API.",
"description": "The Google Chat API lets you build Chat apps to integrate your services with Google Chat and manage Chat resources such as spaces, members, and messages.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/hangouts/chat",
"fullyEncodeReservedExpansion": true,
Expand Down Expand Up @@ -990,7 +990,7 @@
}
}
},
"revision": "20240130",
"revision": "20240220",
"rootUrl": "https://chat.googleapis.com/",
"schemas": {
"ActionParameter": {
Expand Down Expand Up @@ -1393,7 +1393,7 @@
"additionalProperties": {
"$ref": "Inputs"
},
"description": "A map containing the current values of the widgets in a card. The map keys are the string IDs assigned to each widget, and the values represent inputs to the widget. Depending on the input data type, a different object represents each input: For single-value widgets, `StringInput`. For multi-value widgets, an array of `StringInput` objects. For a date-time picker, a `DateTimeInput`. For a date-only picker, a `DateInput`. For a time-only picker, a `TimeInput`. Corresponds with the data entered by a user on a card in a [dialog](https://developers.google.com/chat/how-tos/dialogs).",
"description": "A map containing the values that a user inputs in a widget from a card or dialog. The map keys are the string IDs assigned to each widget, and the values represent inputs to the widget. For details, see [Process information inputted by users](https://developers.google.com/chat/ui/read-form-data).",
"type": "object"
},
"hostApp": {
Expand Down Expand Up @@ -2890,24 +2890,24 @@
"type": "object"
},
"Inputs": {
"description": "Types of data that users can enter on cards or dialogs. To learn how to process information from users, see [Read form data input by users on cards](https://developers.google.com/chat/ui/read-form-data).",
"description": "Types of data that users can [input on cards or dialogs](https://developers.google.com/chat/ui/read-form-data). The input type depends on the type of values that the widget accepts.",
"id": "Inputs",
"properties": {
"dateInput": {
"$ref": "DateInput",
"description": "Date input values."
"description": "Date input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that only accepts date values."
},
"dateTimeInput": {
"$ref": "DateTimeInput",
"description": "Date and time input values."
"description": "Date and time input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that accepts both a date and time."
},
"stringInputs": {
"$ref": "StringInputs",
"description": "Input parameter for regular widgets. For single-valued widgets, it is a single value list. For multi-valued widgets, such as checkbox, all the values are presented."
"description": "A list of strings that represent the values that the user inputs in a widget. If the widget only accepts one value, such as a [`TextInput`](https://developers.google.com/chat/api/reference/rest/v1/cards#TextInput) widget, the list contains one string object. If the widget accepts multiple values, such as a [`SelectionInput`](https://developers.google.com/chat/api/reference/rest/v1/cards#selectioninput) widget of checkboxes, the list contains a string object for each value that the user inputs or selects."
},
"timeInput": {
"$ref": "TimeInput",
"description": "Time input values."
"description": "Time input values from a [`DateTimePicker`](https://developers.google.com/chat/api/reference/rest/v1/cards#DateTimePicker) widget that only accepts time values."
}
},
"type": "object"
Expand Down Expand Up @@ -3645,7 +3645,7 @@
"id": "StringInputs",
"properties": {
"value": {
"description": "An array of strings entered by the user.",
"description": "An list of strings entered by the user.",
"items": {
"type": "string"
},
Expand Down
12 changes: 11 additions & 1 deletion DiscoveryJson/cloudkms_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/kms/",
"endpoints": [
{
"description": "Regional Endpoint",
"endpointUrl": "https://cloudkms.europe-west3.rep.googleapis.com/",
"location": "europe-west3"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://cloudkms.europe-west9.rep.googleapis.com/",
"location": "europe-west9"
},
{
"description": "Regional Endpoint",
"endpointUrl": "https://cloudkms.me-central2.rep.googleapis.com/",
Expand Down Expand Up @@ -1828,7 +1838,7 @@
}
}
},
"revision": "20240131",
"revision": "20240219",
"rootUrl": "https://cloudkms.googleapis.com/",
"schemas": {
"AsymmetricDecryptRequest": {
Expand Down
25 changes: 23 additions & 2 deletions DiscoveryJson/connectors_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2354,7 +2354,7 @@
}
}
},
"revision": "20240207",
"revision": "20240221",
"rootUrl": "https://connectors.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -3337,6 +3337,13 @@
"description": "CustomConnector represents the custom connector defined by the customer as part of byoc.",
"id": "CustomConnector",
"properties": {
"activeConnectorVersions": {
"description": "Optional. Active connector versions.",
"items": {
"type": "string"
},
"type": "array"
},
"createTime": {
"description": "Output only. Created time.",
"format": "google-datetime",
Expand Down Expand Up @@ -3438,7 +3445,7 @@
"type": "string"
},
"specLocation": {
"description": "Optional. Location of the custom connector spec.",
"description": "Optional. Location of the custom connector spec. The location can be either a public url like `https://public-url.com/spec` Or a Google Cloud Storage location like `gs:///`",
"type": "string"
},
"state": {
Expand Down Expand Up @@ -3979,6 +3986,13 @@
"registrationDestinationConfig": {
"$ref": "DestinationConfig",
"description": "Registration endpoint for auto registration."
},
"triggerConfigVariables": {
"description": "Optional. Additional eventing related field values",
"items": {
"$ref": "ConfigVariable"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -4049,6 +4063,13 @@
"registrationDestinationConfig": {
"$ref": "DestinationConfigTemplate",
"description": "Registration host destination config template."
},
"triggerConfigVariables": {
"description": "Trigger Config fields that needs to be rendered",
"items": {
"$ref": "ConfigVariableTemplate"
},
"type": "array"
}
},
"type": "object"
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/contactcenterinsights_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@
}
}
},
"revision": "20240212",
"revision": "20240219",
"rootUrl": "https://contactcenterinsights.googleapis.com/",
"schemas": {
"GoogleCloudContactcenterinsightsV1Analysis": {
Expand Down Expand Up @@ -3810,7 +3810,7 @@
"additionalProperties": {
"type": "string"
},
"description": "A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * \"all-triggers\": Notify each time any of the supported triggers occurs. * \"create-analysis\": Notify each time an analysis is created. * \"create-conversation\": Notify each time a conversation is created. * \"export-insights-data\": Notify each time an export is complete. * \"update-conversation\": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}",
"description": "A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * \"all-triggers\": Notify each time any of the supported triggers occurs. * \"create-analysis\": Notify each time an analysis is created. * \"create-conversation\": Notify each time a conversation is created. * \"export-insights-data\": Notify each time an export is complete. * \"update-conversation\": Notify each time a conversation is updated via UpdateConversation. * \"upload-conversation\": Notify when an UploadConversation LRO completes. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}",
"type": "object"
},
"redactionConfig": {
Expand Down
10 changes: 1 addition & 9 deletions DiscoveryJson/container_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@
}
}
},
"revision": "20240206",
"revision": "20240130",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -5165,10 +5165,6 @@
"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'",
"type": "string"
},
"enableConfidentialStorage": {
"description": "Optional. Reserved for future use.",
"type": "boolean"
},
"ephemeralStorageLocalSsdConfig": {
"$ref": "EphemeralStorageLocalSsdConfig",
"description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk."
Expand Down Expand Up @@ -7214,10 +7210,6 @@
"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"queuedProvisioning": {
"$ref": "QueuedProvisioning",
"description": "Specifies the configuration of queued provisioning."
},
"resourceLabels": {
"$ref": "ResourceLabels",
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
Expand Down
8 changes: 6 additions & 2 deletions DiscoveryJson/container_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2565,7 +2565,7 @@
}
}
},
"revision": "20240116",
"revision": "20240206",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -5546,7 +5546,7 @@
"type": "string"
},
"enableConfidentialStorage": {
"description": "Optional. Enable confidential storage on Hyperdisk. boot_disk_kms_key is required when enable_confidential_storage is true. This is only available for private preview.",
"description": "Optional. Reserved for future use.",
"type": "boolean"
},
"ephemeralStorageConfig": {
Expand Down Expand Up @@ -7714,6 +7714,10 @@
"description": "Required. Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"queuedProvisioning": {
"$ref": "QueuedProvisioning",
"description": "Specifies the configuration of queued provisioning."
},
"resourceLabels": {
"$ref": "ResourceLabels",
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
Expand Down
64 changes: 62 additions & 2 deletions DiscoveryJson/containeranalysis_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -751,11 +751,43 @@
]
}
}
},
"resources": {
"methods": {
"exportSBOM": {
"description": "Generates an SBOM for the given resource.",
"flatPath": "v1/projects/{projectsId}/resources/{resourcesId}:exportSBOM",
"httpMethod": "POST",
"id": "containeranalysis.projects.resources.exportSBOM",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name of the resource in the form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`.",
"location": "path",
"pattern": "^projects/[^/]+/resources/.*$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:exportSBOM",
"request": {
"$ref": "ExportSBOMRequest"
},
"response": {
"$ref": "ExportSBOMResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
},
"revision": "20240105",
"revision": "20240220",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
Expand Down Expand Up @@ -996,7 +1028,7 @@
"type": "array"
},
"role": {
"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
"type": "string"
}
},
Expand Down Expand Up @@ -1659,6 +1691,12 @@
},
"type": "object"
},
"CloudStorageLocation": {
"description": "Empty placeholder to denote that this is a Google Cloud Storage export request.",
"id": "CloudStorageLocation",
"properties": {},
"type": "object"
},
"Command": {
"description": "Command describes a step performed as part of the build pipeline.",
"id": "Command",
Expand Down Expand Up @@ -3421,6 +3459,28 @@
},
"type": "object"
},
"ExportSBOMRequest": {
"description": "The request to generate and export SBOM. Target must be specified for the request.",
"id": "ExportSBOMRequest",
"properties": {
"cloudStorageLocation": {
"$ref": "CloudStorageLocation",
"description": "Empty placeholder to denote that this is a Google Cloud Storage export request."
}
},
"type": "object"
},
"ExportSBOMResponse": {
"description": "The response from a call to ExportSBOM.",
"id": "ExportSBOMResponse",
"properties": {
"discoveryOccurrence": {
"description": "The name of the discovery occurrence in the form \"projects/{project_id}/occurrences/{OCCURRENCE_ID} It can be used to track the progress of the SBOM export.",
"type": "string"
}
},
"type": "object"
},
"Expr": {
"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "Expr",
Expand Down
4 changes: 2 additions & 2 deletions DiscoveryJson/containeranalysis_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@
}
}
},
"revision": "20240105",
"revision": "20240220",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AnalysisCompleted": {
Expand Down Expand Up @@ -1405,7 +1405,7 @@
"type": "array"
},
"role": {
"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
"description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).",
"type": "string"
}
},
Expand Down

0 comments on commit 2d8ab42

Please sign in to comment.