Skip to content

Commit a7de734

Browse files
docs: Add documentation for enums (#221)
* docs: Add documentation for enums fix: Add context manager return types chore: Update gapic-generator-python to v1.8.1 PiperOrigin-RevId: 503210727 Source-Link: googleapis/googleapis@a391fd1 Source-Link: googleapis/googleapis-gen@0080f83 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 6cec7f8 commit a7de734

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

packages/google-area120-tables/google/area120/tables_v1alpha1/services/tables_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ def sample_batch_delete_rows():
16171617
metadata=metadata,
16181618
)
16191619

1620-
def __enter__(self):
1620+
def __enter__(self) -> "TablesServiceClient":
16211621
return self
16221622

16231623
def __exit__(self, type, value, traceback):

packages/google-area120-tables/google/area120/tables_v1alpha1/types/tables.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,15 @@
5252

5353

5454
class View(proto.Enum):
55-
r"""Column identifier used for the values in the row."""
55+
r"""Column identifier used for the values in the row.
56+
57+
Values:
58+
VIEW_UNSPECIFIED (0):
59+
Defaults to user entered text.
60+
COLUMN_ID_VIEW (1):
61+
Uses internally generated column id to
62+
identify values.
63+
"""
5664
VIEW_UNSPECIFIED = 0
5765
COLUMN_ID_VIEW = 1
5866

packages/google-area120-tables/samples/generated_samples/snippet_metadata_google.area120.tables.v1alpha1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-area120-tables",
11-
"version": "0.11.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)