Skip to content

Commit 2f0ca2e

Browse files
yoshi-automationsofisl
authored andcommitted
feat(dataform): update the API
#### dataform:v1beta1 The following keys were added: - resources.projects.resources.locations.methods.getConfig.description - resources.projects.resources.locations.methods.getConfig.flatPath - resources.projects.resources.locations.methods.getConfig.httpMethod - resources.projects.resources.locations.methods.getConfig.id - resources.projects.resources.locations.methods.getConfig.parameterOrder - resources.projects.resources.locations.methods.getConfig.parameters.name.description - resources.projects.resources.locations.methods.getConfig.parameters.name.location - resources.projects.resources.locations.methods.getConfig.parameters.name.pattern - resources.projects.resources.locations.methods.getConfig.parameters.name.required - resources.projects.resources.locations.methods.getConfig.parameters.name.type - resources.projects.resources.locations.methods.getConfig.path - resources.projects.resources.locations.methods.getConfig.response.$ref - resources.projects.resources.locations.methods.getConfig.scopes - resources.projects.resources.locations.methods.updateConfig.description - resources.projects.resources.locations.methods.updateConfig.flatPath - resources.projects.resources.locations.methods.updateConfig.httpMethod - resources.projects.resources.locations.methods.updateConfig.id - resources.projects.resources.locations.methods.updateConfig.parameterOrder - resources.projects.resources.locations.methods.updateConfig.parameters.name.description - resources.projects.resources.locations.methods.updateConfig.parameters.name.location - resources.projects.resources.locations.methods.updateConfig.parameters.name.pattern - resources.projects.resources.locations.methods.updateConfig.parameters.name.required - resources.projects.resources.locations.methods.updateConfig.parameters.name.type - resources.projects.resources.locations.methods.updateConfig.parameters.updateMask.description - resources.projects.resources.locations.methods.updateConfig.parameters.updateMask.format - resources.projects.resources.locations.methods.updateConfig.parameters.updateMask.location - resources.projects.resources.locations.methods.updateConfig.parameters.updateMask.type - resources.projects.resources.locations.methods.updateConfig.path - resources.projects.resources.locations.methods.updateConfig.request.$ref - resources.projects.resources.locations.methods.updateConfig.response.$ref - resources.projects.resources.locations.methods.updateConfig.scopes - schemas.CompilationResultAction.properties.dataPreparation.$ref - schemas.CompilationResultAction.properties.dataPreparation.description - schemas.Config.description - schemas.Config.id - schemas.Config.properties.defaultKmsKeyName.description - schemas.Config.properties.defaultKmsKeyName.type - schemas.Config.properties.name.description - schemas.Config.properties.name.type - schemas.Config.type - schemas.DataPreparation.description - schemas.DataPreparation.id - schemas.DataPreparation.properties.contents.description - schemas.DataPreparation.properties.contents.format - schemas.DataPreparation.properties.contents.type - schemas.DataPreparation.properties.dependencyTargets.description - schemas.DataPreparation.properties.dependencyTargets.items.$ref - schemas.DataPreparation.properties.dependencyTargets.type - schemas.DataPreparation.properties.disabled.description - schemas.DataPreparation.properties.disabled.type - schemas.DataPreparation.properties.tags.description - schemas.DataPreparation.properties.tags.items.type - schemas.DataPreparation.properties.tags.type - schemas.DataPreparation.type
1 parent 7815a30 commit 2f0ca2e

File tree

2 files changed

+340
-1
lines changed

2 files changed

+340
-1
lines changed

discovery/dataform-v1beta1.json

Lines changed: 109 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,31 @@
133133
"https://www.googleapis.com/auth/cloud-platform"
134134
]
135135
},
136+
"getConfig": {
137+
"description": "Get default config for a given project and location.",
138+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/config",
139+
"httpMethod": "GET",
140+
"id": "dataform.projects.locations.getConfig",
141+
"parameterOrder": [
142+
"name"
143+
],
144+
"parameters": {
145+
"name": {
146+
"description": "Required. The config name.",
147+
"location": "path",
148+
"pattern": "^projects/[^/]+/locations/[^/]+/config$",
149+
"required": true,
150+
"type": "string"
151+
}
152+
},
153+
"path": "v1beta1/{+name}",
154+
"response": {
155+
"$ref": "Config"
156+
},
157+
"scopes": [
158+
"https://www.googleapis.com/auth/cloud-platform"
159+
]
160+
},
136161
"list": {
137162
"description": "Lists information about the supported locations for this service.",
138163
"flatPath": "v1beta1/projects/{projectsId}/locations",
@@ -173,6 +198,40 @@
173198
"scopes": [
174199
"https://www.googleapis.com/auth/cloud-platform"
175200
]
201+
},
202+
"updateConfig": {
203+
"description": "Update default config for a given project and location.",
204+
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/config",
205+
"httpMethod": "PATCH",
206+
"id": "dataform.projects.locations.updateConfig",
207+
"parameterOrder": [
208+
"name"
209+
],
210+
"parameters": {
211+
"name": {
212+
"description": "Identifier. The config name.",
213+
"location": "path",
214+
"pattern": "^projects/[^/]+/locations/[^/]+/config$",
215+
"required": true,
216+
"type": "string"
217+
},
218+
"updateMask": {
219+
"description": "Optional. Specifies the fields to be updated in the config.",
220+
"format": "google-fieldmask",
221+
"location": "query",
222+
"type": "string"
223+
}
224+
},
225+
"path": "v1beta1/{+name}",
226+
"request": {
227+
"$ref": "Config"
228+
},
229+
"response": {
230+
"$ref": "Config"
231+
},
232+
"scopes": [
233+
"https://www.googleapis.com/auth/cloud-platform"
234+
]
176235
}
177236
},
178237
"resources": {
@@ -2236,7 +2295,7 @@
22362295
}
22372296
}
22382297
},
2239-
"revision": "20240629",
2298+
"revision": "20240824",
22402299
"rootUrl": "https://dataform.googleapis.com/",
22412300
"schemas": {
22422301
"Assertion": {
@@ -2596,6 +2655,10 @@
25962655
"$ref": "Target",
25972656
"description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result."
25982657
},
2658+
"dataPreparation": {
2659+
"$ref": "DataPreparation",
2660+
"description": "The data preparation executed by this action."
2661+
},
25992662
"declaration": {
26002663
"$ref": "Declaration",
26012664
"description": "The declaration declared by this action."
@@ -2646,6 +2709,21 @@
26462709
},
26472710
"type": "object"
26482711
},
2712+
"Config": {
2713+
"description": "Config for all repositories in a given project and location.",
2714+
"id": "Config",
2715+
"properties": {
2716+
"defaultKmsKeyName": {
2717+
"description": "Optional. The default KMS key that is used if no encryption key is provided when a repository is created.",
2718+
"type": "string"
2719+
},
2720+
"name": {
2721+
"description": "Identifier. The config name.",
2722+
"type": "string"
2723+
}
2724+
},
2725+
"type": "object"
2726+
},
26492727
"DataEncryptionState": {
26502728
"description": "Describes encryption state of a resource.",
26512729
"id": "DataEncryptionState",
@@ -2657,6 +2735,36 @@
26572735
},
26582736
"type": "object"
26592737
},
2738+
"DataPreparation": {
2739+
"description": "Defines a compiled Data Preparation entity",
2740+
"id": "DataPreparation",
2741+
"properties": {
2742+
"contents": {
2743+
"description": "The data preparation definition, stored as a binary encoded proto.",
2744+
"format": "byte",
2745+
"type": "string"
2746+
},
2747+
"dependencyTargets": {
2748+
"description": "A list of actions that this action depends on.",
2749+
"items": {
2750+
"$ref": "Target"
2751+
},
2752+
"type": "array"
2753+
},
2754+
"disabled": {
2755+
"description": "Whether this action is disabled (i.e. should not be run).",
2756+
"type": "boolean"
2757+
},
2758+
"tags": {
2759+
"description": "Arbitrary, user-defined tags on this action.",
2760+
"items": {
2761+
"type": "string"
2762+
},
2763+
"type": "array"
2764+
}
2765+
},
2766+
"type": "object"
2767+
},
26602768
"Declaration": {
26612769
"description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.",
26622770
"id": "Declaration",

0 commit comments

Comments
 (0)