Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit a5b1978

Browse files
chore: use gapic-generator-python 0.53.4 (#50)
- [ ] Regenerate this pull request now. docs: list oneofs in docstring committer: busunkim96@ PiperOrigin-RevId: 406468269 Source-Link: googleapis/googleapis@83d81b0 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2ff001fbacb9e77e71d734de5f955c05fdae8526 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmZmMDAxZmJhY2I5ZTc3ZTcxZDczNGRlNWY5NTVjMDVmZGFlODUyNiJ9
1 parent d69a675 commit a5b1978

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-5
lines changed

google/cloud/bigquery_logging_v1/types/audit_data.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,46 +70,72 @@ class AuditData(proto.Message):
7070
``Table.schemaJson``. ``Table.schema`` may continue to be present in
7171
your logs during this transition.
7272
73+
This message has `oneof`_ fields (mutually exclusive fields).
74+
For each oneof, at most one member field can be set at the same time.
75+
Setting any member of the oneof automatically clears all other
76+
members.
77+
78+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
79+
7380
Attributes:
7481
table_insert_request (google.cloud.bigquery_logging_v1.types.TableInsertRequest):
7582
Table insert request.
83+
This field is a member of `oneof`_ ``request``.
7684
table_update_request (google.cloud.bigquery_logging_v1.types.TableUpdateRequest):
7785
Table update request.
86+
This field is a member of `oneof`_ ``request``.
7887
dataset_list_request (google.cloud.bigquery_logging_v1.types.DatasetListRequest):
7988
Dataset list request.
89+
This field is a member of `oneof`_ ``request``.
8090
dataset_insert_request (google.cloud.bigquery_logging_v1.types.DatasetInsertRequest):
8191
Dataset insert request.
92+
This field is a member of `oneof`_ ``request``.
8293
dataset_update_request (google.cloud.bigquery_logging_v1.types.DatasetUpdateRequest):
8394
Dataset update request.
95+
This field is a member of `oneof`_ ``request``.
8496
job_insert_request (google.cloud.bigquery_logging_v1.types.JobInsertRequest):
8597
Job insert request.
98+
This field is a member of `oneof`_ ``request``.
8699
job_query_request (google.cloud.bigquery_logging_v1.types.JobQueryRequest):
87100
Job query request.
101+
This field is a member of `oneof`_ ``request``.
88102
job_get_query_results_request (google.cloud.bigquery_logging_v1.types.JobGetQueryResultsRequest):
89103
Job get query results request.
104+
This field is a member of `oneof`_ ``request``.
90105
table_data_list_request (google.cloud.bigquery_logging_v1.types.TableDataListRequest):
91106
Table data-list request.
107+
This field is a member of `oneof`_ ``request``.
92108
set_iam_policy_request (google.iam.v1.iam_policy_pb2.SetIamPolicyRequest):
93109
Iam policy request.
110+
This field is a member of `oneof`_ ``request``.
94111
table_insert_response (google.cloud.bigquery_logging_v1.types.TableInsertResponse):
95112
Table insert response.
113+
This field is a member of `oneof`_ ``response``.
96114
table_update_response (google.cloud.bigquery_logging_v1.types.TableUpdateResponse):
97115
Table update response.
116+
This field is a member of `oneof`_ ``response``.
98117
dataset_insert_response (google.cloud.bigquery_logging_v1.types.DatasetInsertResponse):
99118
Dataset insert response.
119+
This field is a member of `oneof`_ ``response``.
100120
dataset_update_response (google.cloud.bigquery_logging_v1.types.DatasetUpdateResponse):
101121
Dataset update response.
122+
This field is a member of `oneof`_ ``response``.
102123
job_insert_response (google.cloud.bigquery_logging_v1.types.JobInsertResponse):
103124
Job insert response.
125+
This field is a member of `oneof`_ ``response``.
104126
job_query_response (google.cloud.bigquery_logging_v1.types.JobQueryResponse):
105127
Job query response.
128+
This field is a member of `oneof`_ ``response``.
106129
job_get_query_results_response (google.cloud.bigquery_logging_v1.types.JobGetQueryResultsResponse):
107130
Job get query results response.
131+
This field is a member of `oneof`_ ``response``.
108132
job_query_done_response (google.cloud.bigquery_logging_v1.types.JobQueryDoneResponse):
109133
Deprecated: Job query-done response. Use this
110134
information for usage analysis.
135+
This field is a member of `oneof`_ ``response``.
111136
policy_response (google.iam.v1.policy_pb2.Policy):
112137
Iam Policy.
138+
This field is a member of `oneof`_ ``response``.
113139
job_completed_event (google.cloud.bigquery_logging_v1.types.JobCompletedEvent):
114140
A job completion event.
115141
table_data_read_events (Sequence[google.cloud.bigquery_logging_v1.types.TableDataReadEvent]):
@@ -637,15 +663,26 @@ class JobConfiguration(proto.Message):
637663
`Jobs </bigquery/docs/reference/v2/jobs>`__ API resource for more
638664
details on individual fields.
639665
666+
This message has `oneof`_ fields (mutually exclusive fields).
667+
For each oneof, at most one member field can be set at the same time.
668+
Setting any member of the oneof automatically clears all other
669+
members.
670+
671+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
672+
640673
Attributes:
641674
query (google.cloud.bigquery_logging_v1.types.JobConfiguration.Query):
642675
Query job information.
676+
This field is a member of `oneof`_ ``configuration``.
643677
load (google.cloud.bigquery_logging_v1.types.JobConfiguration.Load):
644678
Load job information.
679+
This field is a member of `oneof`_ ``configuration``.
645680
extract (google.cloud.bigquery_logging_v1.types.JobConfiguration.Extract):
646681
Extract job information.
682+
This field is a member of `oneof`_ ``configuration``.
647683
table_copy (google.cloud.bigquery_logging_v1.types.JobConfiguration.TableCopy):
648684
TableCopy job information.
685+
This field is a member of `oneof`_ ``configuration``.
649686
dry_run (bool):
650687
If true, don't actually run the job. Just
651688
check that it would run.

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@
4545
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
4646
# Until this issue is closed
4747
# https://github.com/googleapis/google-cloud-python/issues/10566
48-
"google-api-core[grpc] >= 1.22.2, < 3.0.0dev",
48+
"google-api-core[grpc] >= 1.28.0, < 3.0.0dev",
4949
"proto-plus >= 1.15.0",
50-
"packaging >= 14.3",
5150
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
5251
),
5352
python_requires=">=3.6",

testing/constraints-3.6.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
#
66
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
77
# Then this file should have foo==1.14.0
8-
google-api-core==1.22.2
8+
google-api-core==1.28.0
99
proto-plus==1.15.0
10-
packaging==14.3
1110
grpc-google-iam-v1==0.12.3
12-
google-auth==1.24.0 # TODO: remove once google-auth>=1.25.0 is required transitively through google-api-core

0 commit comments

Comments
 (0)