This repository was archived by the owner on Mar 6, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 324
Expand file tree
/
Copy pathconfig.yaml
More file actions
74 lines (68 loc) · 2.5 KB
/
config.yaml
File metadata and controls
74 lines (68 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# config.yaml
# The name of the service, used for variable names and comments.
service_name: "bigquery"
# A list of paths to the source code files to be parsed.
# Globs are supported.
source_files:
services:
- "google/cloud/bigquery_v2/services/dataset_service/client.py"
- "google/cloud/bigquery_v2/services/job_service/client.py"
- "google/cloud/bigquery_v2/services/model_service/client.py"
- "google/cloud/bigquery_v2/services/project_service/client.py"
- "google/cloud/bigquery_v2/services/routine_service/client.py"
- "google/cloud/bigquery_v2/services/row_access_policy_service/client.py"
- "google/cloud/bigquery_v2/services/table_service/client.py"
types:
- "google/cloud/bigquery_v2/types/dataset.py"
- "google/cloud/bigquery_v2/types/job.py"
- "google/cloud/bigquery_v2/types/model.py"
- "google/cloud/bigquery_v2/types/project.py"
- "google/cloud/bigquery_v2/types/routine.py"
- "google/cloud/bigquery_v2/types/row_access_policy.py"
- "google/cloud/bigquery_v2/types/table.py"
# Filtering rules for classes and methods.
filter:
classes:
# Only include classes with these suffixes.
include_suffixes:
- "ServiceClient"
- "Request"
# Exclude classes with these suffixes.
exclude_suffixes:
- "BigQueryClient"
methods:
# Include methods with these prefixes.
include_prefixes:
- "batch_delete_"
- "cancel_"
- "create_"
- "delete_"
- "get_"
- "insert_"
- "list_"
- "patch_"
- "undelete_"
- "update_"
# Exclude methods with these prefixes.
exclude_prefixes:
- "get_mtls_endpoint_and_cert_source"
overrides:
patch_table:
request_class_name: "UpdateOrPatchTableRequest"
patch_dataset:
request_class_name: "UpdateOrPatchDatasetRequest"
# A list of templates to render and their corresponding output files.
templates:
- template: "templates/client.py.j2"
output: "google/cloud/bigquery_v2/services/centralized_service/client.py"
- template: "templates/_helpers.py.j2"
output: "google/cloud/bigquery_v2/services/centralized_service/_helpers.py"
- template: "templates/__init__.py.j2"
output: "google/cloud/bigquery_v2/services/centralized_service/__init__.py"
post_processing_templates:
- template: "templates/post-processing/init.py.j2"
target_file: "google/cloud/bigquery_v2/__init__.py"
add_imports:
- "from .services.centralized_service import BigQueryClient"
add_to_all:
- "BigQueryClient"