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