Skip to content

Commit 34a7916

Browse files
chore: [Many APIs] Update gapic-generator-python to 1.26.2 (googleapis#14338)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 802200836 Source-Link: googleapis/googleapis@d300b15 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a1ff0ae72ddcb68a259215d8c77661e2cdbb9b02 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRlbnR3YXJlaG91c2UvLk93bEJvdC55YW1sIiwiaCI6ImExZmYwYWU3MmRkY2I2OGEyNTkyMTVkOGM3NzY2MWUyY2RiYjliMDIifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGEtZnVzaW9uLy5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGEtcW5hLy5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLWxpbmVhZ2UvLk93bEJvdC55YW1sIiwiaCI6ImExZmYwYWU3MmRkY2I2OGEyNTkyMTVkOGM3NzY2MWUyY2RiYjliMDIifQ== Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFjYXRhbG9nLy5Pd2xCb3QueWFtbCIsImgiOiJhMWZmMGFlNzJkZGNiNjhhMjU5MjE1ZDhjNzc2NjFlMmNkYmI5YjAyIn0= Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRhdGFmbG93LWNsaWVudC8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZT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-by: Anthonios Partheniou <partheniou@google.com>
1 parent b38c1d1 commit 34a7916

File tree

478 files changed

+7956
-7962
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+7956
-7962
lines changed

packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/services/document_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ async def sample_set_acl():
12131213
``>``, and ``>=`` where the left of the operator is
12141214
``DocumentSchemaId`` or property name and the right of
12151215
the operator is a number or a quoted string. You must
1216-
escape backslash (\) and quote (") characters.
1216+
escape backslash (\\) and quote (") characters.
12171217
12181218
Boolean expressions (AND/OR) are supported up to 3
12191219
levels of nesting (for example, "((A AND B AND C) OR D)

packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/services/document_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ def sample_set_acl():
16481648
``>``, and ``>=`` where the left of the operator is
16491649
``DocumentSchemaId`` or property name and the right of
16501650
the operator is a number or a quoted string. You must
1651-
escape backslash (\) and quote (") characters.
1651+
escape backslash (\\) and quote (") characters.
16521652
16531653
Boolean expressions (AND/OR) are supported up to 3
16541654
levels of nesting (for example, "((A AND B AND C) OR D)

packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/types/document_service_request.py

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -286,48 +286,47 @@ class SearchDocumentsRequest(proto.Message):
286286
287287
Supported options are:
288288
289-
- ``"relevance desc"``: By relevance descending, as
290-
determined by the API algorithms.
291-
- ``"upload_date desc"``: By upload date descending.
292-
- ``"upload_date"``: By upload date ascending.
293-
- ``"update_date desc"``: By last updated date descending.
294-
- ``"update_date"``: By last updated date ascending.
295-
- ``"retrieval_importance desc"``: By retrieval importance
296-
of properties descending. This feature is still under
297-
development, please do not use unless otherwise
298-
instructed to do so.
289+
- ``"relevance desc"``: By relevance descending, as
290+
determined by the API algorithms.
291+
- ``"upload_date desc"``: By upload date descending.
292+
- ``"upload_date"``: By upload date ascending.
293+
- ``"update_date desc"``: By last updated date descending.
294+
- ``"update_date"``: By last updated date ascending.
295+
- ``"retrieval_importance desc"``: By retrieval importance
296+
of properties descending. This feature is still under
297+
development, please do not use unless otherwise instructed
298+
to do so.
299299
histogram_queries (MutableSequence[google.cloud.contentwarehouse_v1.types.HistogramQuery]):
300300
An expression specifying a histogram request against
301301
matching documents. Expression syntax is an aggregation
302302
function call with histogram facets and other options.
303303
304304
The following aggregation functions are supported:
305305
306-
- ``count(string_histogram_facet)``: Count the number of
307-
matching entities for each distinct attribute value.
306+
- ``count(string_histogram_facet)``: Count the number of
307+
matching entities for each distinct attribute value.
308308
309309
Data types:
310310
311-
- Histogram facet (aka filterable properties): Facet names
312-
with format <schema id>.<facet>. Facets will have the
313-
format of: ``[a-zA-Z][a-zA-Z0-9_:/-.]``. If the facet is
314-
a child facet, then the parent hierarchy needs to be
315-
specified separated by dots in the prefix after the
316-
schema id. Thus, the format for a multi- level facet is:
317-
<schema id>.<parent facet name>. <child facet name>.
318-
Example:
319-
schema123.root_parent_facet.middle_facet.child_facet
320-
- DocumentSchemaId: (with no schema id prefix) to get
321-
histograms for each document type (returns the schema id
322-
path, e.g.
323-
projects/12345/locations/us-west/documentSchemas/abc123).
311+
- Histogram facet (aka filterable properties): Facet names
312+
with format <schema id>.<facet>. Facets will have the
313+
format of: ``[a-zA-Z][a-zA-Z0-9_:/-.]``. If the facet is a
314+
child facet, then the parent hierarchy needs to be
315+
specified separated by dots in the prefix after the schema
316+
id. Thus, the format for a multi- level facet is: <schema
317+
id>.<parent facet name>. <child facet name>. Example:
318+
schema123.root_parent_facet.middle_facet.child_facet
319+
- DocumentSchemaId: (with no schema id prefix) to get
320+
histograms for each document type (returns the schema id
321+
path, e.g.
322+
projects/12345/locations/us-west/documentSchemas/abc123).
324323
325324
Example expression:
326325
327-
- Document type counts: count('DocumentSchemaId')
326+
- Document type counts: count('DocumentSchemaId')
328327
329-
- For schema id, abc123, get the counts for MORTGAGE_TYPE:
330-
count('abc123.MORTGAGE_TYPE')
328+
- For schema id, abc123, get the counts for MORTGAGE_TYPE:
329+
count('abc123.MORTGAGE_TYPE')
331330
require_total_size (bool):
332331
Controls if the search document request requires the return
333332
of a total size of matched documents. See
@@ -504,7 +503,7 @@ class SetAclRequest(proto.Message):
504503
``>``, and ``>=`` where the left of the operator is
505504
``DocumentSchemaId`` or property name and the right of the
506505
operator is a number or a quoted string. You must escape
507-
backslash (\) and quote (") characters.
506+
backslash (\\) and quote (") characters.
508507
509508
Boolean expressions (AND/OR) are supported up to 3 levels of
510509
nesting (for example, "((A AND B AND C) OR D) AND E"), a

packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/types/filters.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class DocumentQuery(proto.Message):
102102
Supported operators are: ``=``, ``!=``, ``<``, ``<=``,
103103
``>``, and ``>=`` where the left of the operator is a
104104
property name and the right of the operator is a number or a
105-
quoted string. You must escape backslash (\) and quote (")
105+
quoted string. You must escape backslash (\\) and quote (")
106106
characters. Supported functions are
107107
``LOWER([property_name])`` to perform a case insensitive
108108
match and ``EMPTY([property_name])`` to filter on the
@@ -294,8 +294,8 @@ class PropertyFilter(proto.Message):
294294
Supported operators are: ``=``, ``!=``, ``<``, ``<=``,
295295
``>``, ``>=``, and ``~~`` where the left of the operator is
296296
a property name and the right of the operator is a number or
297-
a quoted string. You must escape backslash (\) and quote (")
298-
characters.
297+
a quoted string. You must escape backslash (\\) and quote
298+
(") characters.
299299
300300
``~~`` is the LIKE operator. The right of the operator must
301301
be a string. The only supported property data type for LIKE
@@ -331,8 +331,8 @@ class PropertyFilter(proto.Message):
331331
332332
CMEK compliant deployment only supports:
333333
334-
- Operators: ``=``, ``<``, ``<=``, ``>``, and ``>=``.
335-
- Boolean expressions: AND and OR.
334+
- Operators: ``=``, ``<``, ``<=``, ``>``, and ``>=``.
335+
- Boolean expressions: AND and OR.
336336
"""
337337

338338
document_schema_name: str = proto.Field(

packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/types/histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class HistogramQueryResult(proto.Message):
142142
143143
The key format is:
144144
145-
- (for string histogram) string values stored in the field.
145+
- (for string histogram) string values stored in the field.
146146
"""
147147

148148
histogram_query: str = proto.Field(

packages/google-cloud-contentwarehouse/google/cloud/contentwarehouse_v1/types/pipelines.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -253,17 +253,17 @@ class IngestPipelineConfig(proto.Message):
253253
The following roles are supported for document level acl
254254
control:
255255
256-
- roles/contentwarehouse.documentAdmin
257-
- roles/contentwarehouse.documentEditor
258-
- roles/contentwarehouse.documentViewer
256+
- roles/contentwarehouse.documentAdmin
257+
- roles/contentwarehouse.documentEditor
258+
- roles/contentwarehouse.documentViewer
259259
260260
The following members are supported for document level acl
261261
control:
262262
263-
- user:user-email@example.com
264-
- group:group-email@example.com Note that for documents
265-
searched with LLM, only single level user or group acl
266-
check is supported.
263+
- user:user-email@example.com
264+
- group:group-email@example.com Note that for documents
265+
searched with LLM, only single level user or group acl
266+
check is supported.
267267
enable_document_text_extraction (bool):
268268
The document text extraction enabled flag.
269269
If the flag is set to true, DWH will perform
@@ -282,25 +282,25 @@ class IngestPipelineConfig(proto.Message):
282282
``https://{region}-{project_id}.cloudfunctions.net/{cloud_function}``
283283
The following keys are available the request json payload.
284284
285-
- display_name
286-
- properties
287-
- plain_text
288-
- reference_id
289-
- document_schema_name
290-
- raw_document_path
291-
- raw_document_file_type
285+
- display_name
286+
- properties
287+
- plain_text
288+
- reference_id
289+
- document_schema_name
290+
- raw_document_path
291+
- raw_document_file_type
292292
293293
The following keys from the cloud function json response
294294
payload will be ingested to the Document AI Warehouse as
295295
part of Document proto content and/or related information.
296296
The original values will be overridden if any key is present
297297
in the response.
298298
299-
- display_name
300-
- properties
301-
- plain_text
302-
- document_acl_policy
303-
- folder
299+
- display_name
300+
- properties
301+
- plain_text
302+
- document_acl_policy
303+
- folder
304304
"""
305305

306306
document_acl_policy: policy_pb2.Policy = proto.Field(

packages/google-cloud-contentwarehouse/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

packages/google-cloud-data-fusion/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

packages/google-cloud-data-qna/google/cloud/dataqna_v1alpha/types/annotated_string.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ class AnnotatedString(proto.Message):
3939
4040
Table Data:
4141
42-
- "country" - dimension
43-
- "population" - metric
44-
- "Africa" - value in the "continent" column
42+
- "country" - dimension
43+
- "population" - metric
44+
- "Africa" - value in the "continent" column
4545
4646
text_formatted = ``"top countries by population in Africa"``
4747

packages/google-cloud-data-qna/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,10 @@ def docs(session):
365365
"-T", # show full traceback on exception
366366
"-N", # no colors
367367
"-b",
368-
"html",
368+
"html", # builder
369369
"-d",
370-
os.path.join("docs", "_build", "doctrees", ""),
370+
os.path.join("docs", "_build", "doctrees", ""), # cache directory
371+
# paths to build:
371372
os.path.join("docs", ""),
372373
os.path.join("docs", "_build", "html", ""),
373374
)

0 commit comments

Comments
 (0)