diff --git a/google/cloud/bigquery_logging_v1/types/audit_data.py b/google/cloud/bigquery_logging_v1/types/audit_data.py index a6efed7..b558182 100644 --- a/google/cloud/bigquery_logging_v1/types/audit_data.py +++ b/google/cloud/bigquery_logging_v1/types/audit_data.py @@ -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 `__ 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. diff --git a/setup.py b/setup.py index 8e0d986..85aa6af 100644 --- a/setup.py +++ b/setup.py @@ -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", diff --git a/testing/constraints-3.6.txt b/testing/constraints-3.6.txt index 2187f5e..d65af40 100644 --- a/testing/constraints-3.6.txt +++ b/testing/constraints-3.6.txt @@ -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