Skip to content
Permalink
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
  • Loading branch information
gcf-owl-bot[bot] committed Nov 1, 2021
1 parent d69a675 commit a5b19782e2ac30f5de150fb873d777fa121bd0ad
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
@@ -70,46 +70,72 @@ class AuditData(proto.Message):
``Table.schemaJson``. ``Table.schema`` may continue to be present in
your logs during this transition.
This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes:
table_insert_request (google.cloud.bigquery_logging_v1.types.TableInsertRequest):
Table insert request.
This field is a member of `oneof`_ ``request``.
table_update_request (google.cloud.bigquery_logging_v1.types.TableUpdateRequest):
Table update request.
This field is a member of `oneof`_ ``request``.
dataset_list_request (google.cloud.bigquery_logging_v1.types.DatasetListRequest):
Dataset list request.
This field is a member of `oneof`_ ``request``.
dataset_insert_request (google.cloud.bigquery_logging_v1.types.DatasetInsertRequest):
Dataset insert request.
This field is a member of `oneof`_ ``request``.
dataset_update_request (google.cloud.bigquery_logging_v1.types.DatasetUpdateRequest):
Dataset update request.
This field is a member of `oneof`_ ``request``.
job_insert_request (google.cloud.bigquery_logging_v1.types.JobInsertRequest):
Job insert request.
This field is a member of `oneof`_ ``request``.
job_query_request (google.cloud.bigquery_logging_v1.types.JobQueryRequest):
Job query request.
This field is a member of `oneof`_ ``request``.
job_get_query_results_request (google.cloud.bigquery_logging_v1.types.JobGetQueryResultsRequest):
Job get query results request.
This field is a member of `oneof`_ ``request``.
table_data_list_request (google.cloud.bigquery_logging_v1.types.TableDataListRequest):
Table data-list request.
This field is a member of `oneof`_ ``request``.
set_iam_policy_request (google.iam.v1.iam_policy_pb2.SetIamPolicyRequest):
Iam policy request.
This field is a member of `oneof`_ ``request``.
table_insert_response (google.cloud.bigquery_logging_v1.types.TableInsertResponse):
Table insert response.
This field is a member of `oneof`_ ``response``.
table_update_response (google.cloud.bigquery_logging_v1.types.TableUpdateResponse):
Table update response.
This field is a member of `oneof`_ ``response``.
dataset_insert_response (google.cloud.bigquery_logging_v1.types.DatasetInsertResponse):
Dataset insert response.
This field is a member of `oneof`_ ``response``.
dataset_update_response (google.cloud.bigquery_logging_v1.types.DatasetUpdateResponse):
Dataset update response.
This field is a member of `oneof`_ ``response``.
job_insert_response (google.cloud.bigquery_logging_v1.types.JobInsertResponse):
Job insert response.
This field is a member of `oneof`_ ``response``.
job_query_response (google.cloud.bigquery_logging_v1.types.JobQueryResponse):
Job query response.
This field is a member of `oneof`_ ``response``.
job_get_query_results_response (google.cloud.bigquery_logging_v1.types.JobGetQueryResultsResponse):
Job get query results response.
This field is a member of `oneof`_ ``response``.
job_query_done_response (google.cloud.bigquery_logging_v1.types.JobQueryDoneResponse):
Deprecated: Job query-done response. Use this
information for usage analysis.
This field is a member of `oneof`_ ``response``.
policy_response (google.iam.v1.policy_pb2.Policy):
Iam Policy.
This field is a member of `oneof`_ ``response``.
job_completed_event (google.cloud.bigquery_logging_v1.types.JobCompletedEvent):
A job completion event.
table_data_read_events (Sequence[google.cloud.bigquery_logging_v1.types.TableDataReadEvent]):
@@ -637,15 +663,26 @@ class JobConfiguration(proto.Message):
`Jobs </bigquery/docs/reference/v2/jobs>`__ API resource for more
details on individual fields.
This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes:
query (google.cloud.bigquery_logging_v1.types.JobConfiguration.Query):
Query job information.
This field is a member of `oneof`_ ``configuration``.
load (google.cloud.bigquery_logging_v1.types.JobConfiguration.Load):
Load job information.
This field is a member of `oneof`_ ``configuration``.
extract (google.cloud.bigquery_logging_v1.types.JobConfiguration.Extract):
Extract job information.
This field is a member of `oneof`_ ``configuration``.
table_copy (google.cloud.bigquery_logging_v1.types.JobConfiguration.TableCopy):
TableCopy job information.
This field is a member of `oneof`_ ``configuration``.
dry_run (bool):
If true, don't actually run the job. Just
check that it would run.
@@ -45,9 +45,8 @@
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
# Until this issue is closed
# https://github.com/googleapis/google-cloud-python/issues/10566
"google-api-core[grpc] >= 1.22.2, < 3.0.0dev",
"google-api-core[grpc] >= 1.28.0, < 3.0.0dev",
"proto-plus >= 1.15.0",
"packaging >= 14.3",
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
),
python_requires=">=3.6",
@@ -5,8 +5,6 @@
#
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
# Then this file should have foo==1.14.0
google-api-core==1.22.2
google-api-core==1.28.0
proto-plus==1.15.0
packaging==14.3
grpc-google-iam-v1==0.12.3
google-auth==1.24.0 # TODO: remove once google-auth>=1.25.0 is required transitively through google-api-core

0 comments on commit a5b1978

Please sign in to comment.