Skip to content

Commit

Permalink
feat(dataform): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Sep 4, 2024
1 parent 7815a30 commit 2f0ca2e
Show file tree
Hide file tree
Showing 2 changed files with 340 additions and 1 deletion.
110 changes: 109 additions & 1 deletion discovery/dataform-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,31 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getConfig": {
"description": "Get default config for a given project and location.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/config",
"httpMethod": "GET",
"id": "dataform.projects.locations.getConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The config name.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/config$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Config"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists information about the supported locations for this service.",
"flatPath": "v1beta1/projects/{projectsId}/locations",
Expand Down Expand Up @@ -173,6 +198,40 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateConfig": {
"description": "Update default config for a given project and location.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/config",
"httpMethod": "PATCH",
"id": "dataform.projects.locations.updateConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Identifier. The config name.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/config$",
"required": true,
"type": "string"
},
"updateMask": {
"description": "Optional. Specifies the fields to be updated in the config.",
"format": "google-fieldmask",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"request": {
"$ref": "Config"
},
"response": {
"$ref": "Config"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
Expand Down Expand Up @@ -2236,7 +2295,7 @@
}
}
},
"revision": "20240629",
"revision": "20240824",
"rootUrl": "https://dataform.googleapis.com/",
"schemas": {
"Assertion": {
Expand Down Expand Up @@ -2596,6 +2655,10 @@
"$ref": "Target",
"description": "The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result."
},
"dataPreparation": {
"$ref": "DataPreparation",
"description": "The data preparation executed by this action."
},
"declaration": {
"$ref": "Declaration",
"description": "The declaration declared by this action."
Expand Down Expand Up @@ -2646,6 +2709,21 @@
},
"type": "object"
},
"Config": {
"description": "Config for all repositories in a given project and location.",
"id": "Config",
"properties": {
"defaultKmsKeyName": {
"description": "Optional. The default KMS key that is used if no encryption key is provided when a repository is created.",
"type": "string"
},
"name": {
"description": "Identifier. The config name.",
"type": "string"
}
},
"type": "object"
},
"DataEncryptionState": {
"description": "Describes encryption state of a resource.",
"id": "DataEncryptionState",
Expand All @@ -2657,6 +2735,36 @@
},
"type": "object"
},
"DataPreparation": {
"description": "Defines a compiled Data Preparation entity",
"id": "DataPreparation",
"properties": {
"contents": {
"description": "The data preparation definition, stored as a binary encoded proto.",
"format": "byte",
"type": "string"
},
"dependencyTargets": {
"description": "A list of actions that this action depends on.",
"items": {
"$ref": "Target"
},
"type": "array"
},
"disabled": {
"description": "Whether this action is disabled (i.e. should not be run).",
"type": "boolean"
},
"tags": {
"description": "Arbitrary, user-defined tags on this action.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Declaration": {
"description": "Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.",
"id": "Declaration",
Expand Down
Loading

0 comments on commit 2f0ca2e

Please sign in to comment.