Skip to content

Commit

Permalink
Merge branch 'master' into autosynth-synthtool
Browse files Browse the repository at this point in the history
  • Loading branch information
tswast committed Feb 18, 2021
2 parents 8c4ed2e + 4c9947d commit 55e75ae
Show file tree
Hide file tree
Showing 9 changed files with 129 additions and 151 deletions.
34 changes: 7 additions & 27 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,38 +1,18 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Generated by synthtool. DO NOT EDIT!
[run]
branch = True
omit =
google/cloud/__init__.py

[report]
fail_under = 100
show_missing = True
omit =
google/cloud/bigquery/__init__.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
# Ignore abstract methods
raise NotImplementedError
omit =
*/gapic/*.py
*/proto/*.py
*/core/*.py
*/site-packages/*.py
google/cloud/__init__.py
# Ignore pkg_resources exceptions.
# This is added at the module level as a safeguard for if someone
# generates the code and tries to run it without pip installing. This
# makes it virtually impossible to test properly.
except pkg_resources.DistributionNotFound
6 changes: 0 additions & 6 deletions docs/bigquery_v2/services.rst

This file was deleted.

1 change: 1 addition & 0 deletions docs/bigquery_v2/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Types for Google Cloud Bigquery v2 API

.. automodule:: google.cloud.bigquery_v2.types
:members:
:undoc-members:
:show-inheritance:
1 change: 0 additions & 1 deletion google/cloud/bigquery_v2/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
ListModelsResponse,
)


__all__ = (
"EncryptionConfiguration",
"ModelReference",
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/bigquery_v2/types/encryption_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class EncryptionConfiguration(proto.Message):
r"""
Attributes:
kms_key_name (~.wrappers.StringValue):
kms_key_name (google.protobuf.wrappers_pb2.StringValue):
Optional. Describes the Cloud KMS encryption
key that will be used to protect destination
BigQuery table. The BigQuery Service Account
Expand Down
216 changes: 108 additions & 108 deletions google/cloud/bigquery_v2/types/model.py

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions google/cloud/bigquery_v2/types/standard_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ class StandardSqlDataType(proto.Message):
array_element_type="DATE"}} ]}}
Attributes:
type_kind (~.standard_sql.StandardSqlDataType.TypeKind):
type_kind (google.cloud.bigquery_v2.types.StandardSqlDataType.TypeKind):
Required. The top level type of this field.
Can be any standard SQL data type (e.g.,
"INT64", "DATE", "ARRAY").
array_element_type (~.standard_sql.StandardSqlDataType):
array_element_type (google.cloud.bigquery_v2.types.StandardSqlDataType):
The type of the array's elements, if type_kind = "ARRAY".
struct_type (~.standard_sql.StandardSqlStructType):
struct_type (google.cloud.bigquery_v2.types.StandardSqlStructType):
The fields of this struct, in order, if type_kind =
"STRUCT".
"""
Expand Down Expand Up @@ -80,7 +80,7 @@ class StandardSqlField(proto.Message):
name (str):
Optional. The name of this field. Can be
absent for struct fields.
type (~.standard_sql.StandardSqlDataType):
type (google.cloud.bigquery_v2.types.StandardSqlDataType):
Optional. The type of this parameter. Absent
if not explicitly specified (e.g., CREATE
FUNCTION statement can omit the return type; in
Expand All @@ -97,7 +97,7 @@ class StandardSqlStructType(proto.Message):
r"""
Attributes:
fields (Sequence[~.standard_sql.StandardSqlField]):
fields (Sequence[google.cloud.bigquery_v2.types.StandardSqlField]):
"""

Expand Down
8 changes: 5 additions & 3 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "df4fd38d040c5c8a0869936205bca13fb64b2cff",
"internalRef": "344443035"
"sha": "e13001be33d69042a9505e698f792587a804a5cf",
"internalRef": "358152223"
}
},
{
Expand Down Expand Up @@ -42,6 +42,7 @@
}
],
"generatedFiles": [
".coveragerc",
".flake8",
".github/CONTRIBUTING.md",
".github/ISSUE_TEMPLATE/bug_report.md",
Expand Down Expand Up @@ -94,6 +95,7 @@
"MANIFEST.in",
"docs/_static/custom.css",
"docs/_templates/layout.html",
"docs/bigquery_v2/model_service.rst",
"docs/bigquery_v2/services.rst",
"docs/bigquery_v2/types.rst",
"docs/conf.py",
Expand Down Expand Up @@ -126,4 +128,4 @@
"setup.cfg",
"testing/.gitignore"
]
}
}
2 changes: 2 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
library,
excludes=[
"docs/index.rst",
"docs/bigquery_v2/*_service.rst",
"docs/bigquery_v2/services.rst",
"README.rst",
"noxfile.py",
"setup.py",
Expand Down

0 comments on commit 55e75ae

Please sign in to comment.