Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2699)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Jul 26, 2024
1 parent ddc4e0b commit d07fd26
Show file tree
Hide file tree
Showing 26 changed files with 1,375 additions and 92 deletions.
4 changes: 2 additions & 2 deletions analyticshub/v1/analyticshub-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
]
},
"subscribe": {
"description": "Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.",
"description": "Creates a Subscription to a Data Clean Room. This is a long-running operation as it will create one or more linked datasets.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}:subscribe",
"httpMethod": "POST",
"id": "analyticshub.projects.locations.dataExchanges.subscribe",
Expand Down Expand Up @@ -1022,7 +1022,7 @@
}
}
},
"revision": "20240624",
"revision": "20240715",
"rootUrl": "https://analyticshub.googleapis.com/",
"schemas": {
"AnalyticsHubSubscriptionInfo": {
Expand Down
4 changes: 2 additions & 2 deletions analyticshub/v1/analyticshub-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cloudbuild/v2/cloudbuild-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@
}
}
},
"revision": "20240704",
"revision": "20240720",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -2513,8 +2513,7 @@
"type": "string"
},
"secretVersion": {
"description": "Output only. Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*",
"readOnly": true,
"description": "Optional. Resource name of the SecretVersion. In format: projects/*/secrets/*/versions/*",
"type": "string"
}
},
Expand All @@ -2525,6 +2524,7 @@
"id": "Security",
"properties": {
"privilegeMode": {
"deprecated": true,
"description": "Optional. Privilege mode.",
"enum": [
"PRIVILEGE_MODE_UNSPECIFIED",
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild/v2/cloudbuild-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

286 changes: 285 additions & 1 deletion contentwarehouse/v1/contentwarehouse-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@
}
}
},
"revision": "20240506",
"revision": "20240723",
"rootUrl": "https://contentwarehouse.googleapis.com/",
"schemas": {
"CloudAiPlatformTenantresourceCloudSqlInstanceConfig": {
Expand Down Expand Up @@ -3994,11 +3994,19 @@
"description": "Document represents the canonical document resource in Document AI. It is an interchange format that provides insights into documents and allows for collaboration between users and Document AI to iterate and optimize for quality.",
"id": "GoogleCloudDocumentaiV1Document",
"properties": {
"chunkedDocument": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocument",
"description": "Document chunked based on chunking config."
},
"content": {
"description": "Optional. Inline document content, represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.",
"format": "byte",
"type": "string"
},
"documentLayout": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayout",
"description": "Parsed layout of the document."
},
"entities": {
"description": "A list of entities detected on Document.text. For document shards, entities in this list may cross shard boundaries.",
"items": {
Expand Down Expand Up @@ -4065,6 +4073,282 @@
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentChunkedDocument": {
"description": "Represents the chunks that the document is divided into.",
"id": "GoogleCloudDocumentaiV1DocumentChunkedDocument",
"properties": {
"chunks": {
"description": "List of chunks.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk": {
"description": "Represents a chunk.",
"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunk",
"properties": {
"chunkId": {
"description": "ID of the chunk.",
"type": "string"
},
"content": {
"description": "Text content of the chunk.",
"type": "string"
},
"pageFooters": {
"description": "Page footers associated with the chunk.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter"
},
"type": "array"
},
"pageHeaders": {
"description": "Page headers associated with the chunk.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader"
},
"type": "array"
},
"pageSpan": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan",
"description": "Page span of the chunk."
},
"sourceBlockIds": {
"description": "Unused.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter": {
"description": "Represents the page footer associated with the chunk.",
"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageFooter",
"properties": {
"pageSpan": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan",
"description": "Page span of the footer."
},
"text": {
"description": "Footer in text format.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader": {
"description": "Represents the page header associated with the chunk.",
"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageHeader",
"properties": {
"pageSpan": {
"$ref": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan",
"description": "Page span of the header."
},
"text": {
"description": "Header in text format.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan": {
"description": "Represents where the chunk starts and ends in the document.",
"id": "GoogleCloudDocumentaiV1DocumentChunkedDocumentChunkChunkPageSpan",
"properties": {
"pageEnd": {
"description": "Page where chunk ends in the document.",
"format": "int32",
"type": "integer"
},
"pageStart": {
"description": "Page where chunk starts in the document.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayout": {
"description": "Represents the parsed layout of a document as a collection of blocks that the document is divided into.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayout",
"properties": {
"blocks": {
"description": "List of blocks in the document.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock": {
"description": "Represents a block. A block could be one of the various types (text, table, list) supported.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock",
"properties": {
"blockId": {
"description": "ID of the block.",
"type": "string"
},
"listBlock": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock",
"description": "Block consisting of list content/structure."
},
"pageSpan": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan",
"description": "Page span of the block."
},
"tableBlock": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock",
"description": "Block consisting of table content/structure."
},
"textBlock": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock",
"description": "Block consisting of text content."
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock": {
"description": "Represents a list type block.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock",
"properties": {
"listEntries": {
"description": "List entries that constitute a list block.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry"
},
"type": "array"
},
"type": {
"description": "Type of the list_entries (if exist). Available options are `ordered` and `unordered`.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry": {
"description": "Represents an entry in the list.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry",
"properties": {
"blocks": {
"description": "A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan": {
"description": "Represents where the block starts and ends in the document.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutPageSpan",
"properties": {
"pageEnd": {
"description": "Page where block ends in the document.",
"format": "int32",
"type": "integer"
},
"pageStart": {
"description": "Page where block starts in the document.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock": {
"description": "Represents a table type block.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableBlock",
"properties": {
"bodyRows": {
"description": "Body rows containing main table content.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow"
},
"type": "array"
},
"caption": {
"description": "Table caption/title.",
"type": "string"
},
"headerRows": {
"description": "Header rows at the top of the table.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell": {
"description": "Represents a cell in a table row.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell",
"properties": {
"blocks": {
"description": "A table cell is a list of blocks. Repeated blocks support further hierarchies and nested blocks.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock"
},
"type": "array"
},
"colSpan": {
"description": "How many columns this cell spans.",
"format": "int32",
"type": "integer"
},
"rowSpan": {
"description": "How many rows this cell spans.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow": {
"description": "Represents a row in a table.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableRow",
"properties": {
"cells": {
"description": "A table row is a list of table cells.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock": {
"description": "Represents a text type block.",
"id": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTextBlock",
"properties": {
"blocks": {
"description": "A text block could further have child blocks. Repeated blocks support further hierarchies and nested blocks.",
"items": {
"$ref": "GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock"
},
"type": "array"
},
"text": {
"description": "Text content stored in the block.",
"type": "string"
},
"type": {
"description": "Type of the text in the block. Available options are: `paragraph`, `subtitle`, `heading-1`, `heading-2`, `heading-3`, `heading-4`, `heading-5`, `header`, `footer`.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDocumentaiV1DocumentEntity": {
"description": "An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.",
"id": "GoogleCloudDocumentaiV1DocumentEntity",
Expand Down
Loading

0 comments on commit d07fd26

Please sign in to comment.