Skip to content

Commit 700a88b

Browse files
committedFeb 7, 2023
feat(dataform): update the api
#### dataform:v1beta1 The following keys were added: - schemas.Repository.properties.workspaceCompilationOverrides.$ref (Total Keys: 1) - schemas.WorkspaceCompilationOverrides (Total Keys: 5)
1 parent 1909961 commit 700a88b

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed
 

‎docs/dyn/dataform_v1beta1.projects.locations.repositories.html

+30
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ <h3>Method Details</h3>
147147
},
148148
&quot;name&quot;: &quot;A String&quot;, # Output only. The repository&#x27;s name.
149149
&quot;npmrcEnvironmentVariablesSecretVersion&quot;: &quot;A String&quot;, # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
150+
&quot;workspaceCompilationOverrides&quot;: { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
151+
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
152+
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
153+
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
154+
},
150155
}
151156

152157
repositoryId: string, Required. The ID to use for the repository, which will become the final component of the repository&#x27;s resource name.
@@ -167,6 +172,11 @@ <h3>Method Details</h3>
167172
},
168173
&quot;name&quot;: &quot;A String&quot;, # Output only. The repository&#x27;s name.
169174
&quot;npmrcEnvironmentVariablesSecretVersion&quot;: &quot;A String&quot;, # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
175+
&quot;workspaceCompilationOverrides&quot;: { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
176+
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
177+
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
178+
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
179+
},
170180
}</pre>
171181
</div>
172182

@@ -233,6 +243,11 @@ <h3>Method Details</h3>
233243
},
234244
&quot;name&quot;: &quot;A String&quot;, # Output only. The repository&#x27;s name.
235245
&quot;npmrcEnvironmentVariablesSecretVersion&quot;: &quot;A String&quot;, # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
246+
&quot;workspaceCompilationOverrides&quot;: { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
247+
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
248+
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
249+
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
250+
},
236251
}</pre>
237252
</div>
238253

@@ -266,6 +281,11 @@ <h3>Method Details</h3>
266281
},
267282
&quot;name&quot;: &quot;A String&quot;, # Output only. The repository&#x27;s name.
268283
&quot;npmrcEnvironmentVariablesSecretVersion&quot;: &quot;A String&quot;, # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
284+
&quot;workspaceCompilationOverrides&quot;: { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
285+
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
286+
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
287+
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
288+
},
269289
},
270290
],
271291
&quot;unreachable&quot;: [ # Locations which could not be reached.
@@ -306,6 +326,11 @@ <h3>Method Details</h3>
306326
},
307327
&quot;name&quot;: &quot;A String&quot;, # Output only. The repository&#x27;s name.
308328
&quot;npmrcEnvironmentVariablesSecretVersion&quot;: &quot;A String&quot;, # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
329+
&quot;workspaceCompilationOverrides&quot;: { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
330+
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
331+
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
332+
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
333+
},
309334
}
310335

311336
updateMask: string, Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.
@@ -326,6 +351,11 @@ <h3>Method Details</h3>
326351
},
327352
&quot;name&quot;: &quot;A String&quot;, # Output only. The repository&#x27;s name.
328353
&quot;npmrcEnvironmentVariablesSecretVersion&quot;: &quot;A String&quot;, # Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.
354+
&quot;workspaceCompilationOverrides&quot;: { # Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results. # Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information.
355+
&quot;defaultDatabase&quot;: &quot;A String&quot;, # Optional. The default database (Google Cloud project ID).
356+
&quot;schemaSuffix&quot;: &quot;A String&quot;, # Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.
357+
&quot;tablePrefix&quot;: &quot;A String&quot;, # Optional. The prefix that should be prepended to all table names.
358+
},
329359
}</pre>
330360
</div>
331361

‎googleapiclient/discovery_cache/documents/dataform.v1beta1.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@
16221622
}
16231623
}
16241624
},
1625-
"revision": "20230121",
1625+
"revision": "20230128",
16261626
"rootUrl": "https://dataform.googleapis.com/",
16271627
"schemas": {
16281628
"Assertion": {
@@ -2754,6 +2754,10 @@
27542754
"npmrcEnvironmentVariablesSecretVersion": {
27552755
"description": "Optional. The name of the Secret Manager secret version to be used to interpolate variables into the .npmrc file for package installation operations. Must be in the format `projects/*/secrets/*/versions/*`. The file itself must be in a JSON format.",
27562756
"type": "string"
2757+
},
2758+
"workspaceCompilationOverrides": {
2759+
"$ref": "WorkspaceCompilationOverrides",
2760+
"description": "Optional. If set, fields of `workspace_compilation_overrides` override the default compilation settings that are specified in dataform.json when creating workspace-scoped compilation results. See documentation for `WorkspaceCompilationOverrides` for more information."
27572761
}
27582762
},
27592763
"type": "object"
@@ -3044,6 +3048,25 @@
30443048
},
30453049
"type": "object"
30463050
},
3051+
"WorkspaceCompilationOverrides": {
3052+
"description": "Configures workspace compilation overrides for a repository. Primarily used by the UI (`console.cloud.google.com`). `schema_suffix` and `table_prefix` can have a special expression - `${workspaceName}`, which refers to the workspace name from which the compilation results will be created. API callers are expected to resolve the expression in these overrides and provide them explicitly in `code_compilation_config` (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) when creating workspace-scoped compilation results.",
3053+
"id": "WorkspaceCompilationOverrides",
3054+
"properties": {
3055+
"defaultDatabase": {
3056+
"description": "Optional. The default database (Google Cloud project ID).",
3057+
"type": "string"
3058+
},
3059+
"schemaSuffix": {
3060+
"description": "Optional. The suffix that should be appended to all schema (BigQuery dataset ID) names.",
3061+
"type": "string"
3062+
},
3063+
"tablePrefix": {
3064+
"description": "Optional. The prefix that should be prepended to all table names.",
3065+
"type": "string"
3066+
}
3067+
},
3068+
"type": "object"
3069+
},
30473070
"WriteFileRequest": {
30483071
"description": "`WriteFile` request message.",
30493072
"id": "WriteFileRequest",

0 commit comments

Comments
 (0)
Failed to load comments.