|
253 | 253 | "https://www.googleapis.com/auth/cloud-platform"
|
254 | 254 | ]
|
255 | 255 | },
|
| 256 | + "loadSnapshot": { |
| 257 | + "description": "Loads a snapshot of a Cloud Composer environment. As a result of this operation, a snapshot of environment's specified in LoadSnapshotRequest is loaded into the environment.", |
| 258 | + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:loadSnapshot", |
| 259 | + "httpMethod": "POST", |
| 260 | + "id": "composer.projects.locations.environments.loadSnapshot", |
| 261 | + "parameterOrder": [ |
| 262 | + "environment" |
| 263 | + ], |
| 264 | + "parameters": { |
| 265 | + "environment": { |
| 266 | + "description": "The resource name of the target environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", |
| 267 | + "location": "path", |
| 268 | + "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", |
| 269 | + "required": true, |
| 270 | + "type": "string" |
| 271 | + } |
| 272 | + }, |
| 273 | + "path": "v1beta1/{+environment}:loadSnapshot", |
| 274 | + "request": { |
| 275 | + "$ref": "LoadSnapshotRequest" |
| 276 | + }, |
| 277 | + "response": { |
| 278 | + "$ref": "Operation" |
| 279 | + }, |
| 280 | + "scopes": [ |
| 281 | + "https://www.googleapis.com/auth/cloud-platform" |
| 282 | + ] |
| 283 | + }, |
256 | 284 | "patch": {
|
257 | 285 | "description": "Update an environment.",
|
258 | 286 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}",
|
|
314 | 342 | "scopes": [
|
315 | 343 | "https://www.googleapis.com/auth/cloud-platform"
|
316 | 344 | ]
|
| 345 | + }, |
| 346 | + "saveSnapshot": { |
| 347 | + "description": "Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest.", |
| 348 | + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/environments/{environmentsId}:saveSnapshot", |
| 349 | + "httpMethod": "POST", |
| 350 | + "id": "composer.projects.locations.environments.saveSnapshot", |
| 351 | + "parameterOrder": [ |
| 352 | + "environment" |
| 353 | + ], |
| 354 | + "parameters": { |
| 355 | + "environment": { |
| 356 | + "description": "The resource name of the source environment in the form: \"projects/{projectId}/locations/{locationId}/environments/{environmentId}\"", |
| 357 | + "location": "path", |
| 358 | + "pattern": "^projects/[^/]+/locations/[^/]+/environments/[^/]+$", |
| 359 | + "required": true, |
| 360 | + "type": "string" |
| 361 | + } |
| 362 | + }, |
| 363 | + "path": "v1beta1/{+environment}:saveSnapshot", |
| 364 | + "request": { |
| 365 | + "$ref": "SaveSnapshotRequest" |
| 366 | + }, |
| 367 | + "response": { |
| 368 | + "$ref": "Operation" |
| 369 | + }, |
| 370 | + "scopes": [ |
| 371 | + "https://www.googleapis.com/auth/cloud-platform" |
| 372 | + ] |
317 | 373 | }
|
318 | 374 | }
|
319 | 375 | },
|
|
462 | 518 | }
|
463 | 519 | }
|
464 | 520 | },
|
465 |
| - "revision": "20220317", |
| 521 | + "revision": "20220326", |
466 | 522 | "rootUrl": "https://composer.googleapis.com/",
|
467 | 523 | "schemas": {
|
468 | 524 | "AllowedIpRange": {
|
|
485 | 541 | "id": "CheckUpgradeRequest",
|
486 | 542 | "properties": {
|
487 | 543 | "imageVersion": {
|
488 |
| - "description": "The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+\\.[0-9]+(\\.[0-9]+)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major and minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", |
| 544 | + "description": "The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", |
489 | 545 | "type": "string"
|
490 | 546 | }
|
491 | 547 | },
|
|
583 | 639 | "type": "object"
|
584 | 640 | },
|
585 | 641 | "Empty": {
|
586 |
| - "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| 642 | + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", |
587 | 643 | "id": "Empty",
|
588 | 644 | "properties": {},
|
589 | 645 | "type": "object"
|
|
856 | 912 | },
|
857 | 913 | "type": "object"
|
858 | 914 | },
|
| 915 | + "LoadSnapshotRequest": { |
| 916 | + "description": "Request to load a snapshot into a Cloud Composer environment.", |
| 917 | + "id": "LoadSnapshotRequest", |
| 918 | + "properties": { |
| 919 | + "skipPypiPackagesInstallation": { |
| 920 | + "description": "Whether or not to skip installing Pypi packages when loading the environment's state.", |
| 921 | + "type": "boolean" |
| 922 | + }, |
| 923 | + "snapshotPath": { |
| 924 | + "description": "A Cloud Storage path to a snapshot to load, e.g.: \"gs://my-bucket/snapshots/project_location_environment_timestamp\".", |
| 925 | + "type": "string" |
| 926 | + } |
| 927 | + }, |
| 928 | + "type": "object" |
| 929 | + }, |
859 | 930 | "LoadSnapshotResponse": {
|
860 | 931 | "description": "Response to LoadSnapshotRequest.",
|
861 | 932 | "id": "LoadSnapshotResponse",
|
|
906 | 977 | "id": "NodeConfig",
|
907 | 978 | "properties": {
|
908 | 979 | "diskSizeGb": {
|
909 |
| - "description": "Optional. The disk size in GB used for node VMs. Minimum size is 20GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", |
| 980 | + "description": "Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.", |
910 | 981 | "format": "int32",
|
911 | 982 | "type": "integer"
|
912 | 983 | },
|
|
1131 | 1202 | "properties": {},
|
1132 | 1203 | "type": "object"
|
1133 | 1204 | },
|
| 1205 | + "SaveSnapshotRequest": { |
| 1206 | + "description": "Request to create a snapshot of a Cloud Composer environment.", |
| 1207 | + "id": "SaveSnapshotRequest", |
| 1208 | + "properties": { |
| 1209 | + "snapshotLocation": { |
| 1210 | + "description": "Location in a Cloud Storage where the snapshot is going to be stored, e.g.: \"gs://my-bucket/snapshots\".", |
| 1211 | + "type": "string" |
| 1212 | + } |
| 1213 | + }, |
| 1214 | + "type": "object" |
| 1215 | + }, |
1134 | 1216 | "SaveSnapshotResponse": {
|
1135 | 1217 | "description": "Response to SaveSnapshotRequest.",
|
1136 | 1218 | "id": "SaveSnapshotResponse",
|
|
1188 | 1270 | "type": "object"
|
1189 | 1271 | },
|
1190 | 1272 | "imageVersion": {
|
1191 |
| - "description": "The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+\\.[0-9]+(\\.[0-9]+)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major and minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", |
| 1273 | + "description": "The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\\.[0-9]+\\.[0-9]+(-preview\\.[0-9]+)?)?|latest)-airflow-([0-9]+(\\.[0-9]+(\\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full [semantic version](https://semver.org), or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning overview](/composer/docs/concepts/versioning/composer-versioning-overview).", |
1192 | 1274 | "type": "string"
|
1193 | 1275 | },
|
1194 | 1276 | "pypiPackages": {
|
|
0 commit comments