@maxim_mazurok/gapi.client.composer-v1 0.0.20231205 → 0.0.20240106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +17 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://composer.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240106
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,6 +48,10 @@ declare namespace gapi.client {
|
|
|
48
48
|
/** User-defined name that identifies the CIDR block. */
|
|
49
49
|
displayName?: string;
|
|
50
50
|
}
|
|
51
|
+
interface CloudDataLineageIntegration {
|
|
52
|
+
/** Optional. Whether or not Cloud Data Lineage integration is enabled. */
|
|
53
|
+
enabled?: boolean;
|
|
54
|
+
}
|
|
51
55
|
interface DatabaseConfig {
|
|
52
56
|
/** Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. */
|
|
53
57
|
machineType?: string;
|
|
@@ -56,6 +60,10 @@ declare namespace gapi.client {
|
|
|
56
60
|
}
|
|
57
61
|
interface DatabaseFailoverRequest {}
|
|
58
62
|
interface DatabaseFailoverResponse {}
|
|
63
|
+
interface DataRetentionConfig {
|
|
64
|
+
/** Optional. The configuration settings for task logs retention */
|
|
65
|
+
taskLogsRetentionConfig?: TaskLogsRetentionConfig;
|
|
66
|
+
}
|
|
59
67
|
interface Date {
|
|
60
68
|
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
61
69
|
day?: number;
|
|
@@ -98,6 +106,8 @@ declare namespace gapi.client {
|
|
|
98
106
|
dagGcsPrefix?: string;
|
|
99
107
|
/** Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. */
|
|
100
108
|
databaseConfig?: DatabaseConfig;
|
|
109
|
+
/** Optional. The configuration setting for Airflow database data retention mechanism. */
|
|
110
|
+
dataRetentionConfig?: DataRetentionConfig;
|
|
101
111
|
/** Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. */
|
|
102
112
|
encryptionConfig?: EncryptionConfig;
|
|
103
113
|
/** Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. */
|
|
@@ -371,6 +381,8 @@ declare namespace gapi.client {
|
|
|
371
381
|
interface SoftwareConfig {
|
|
372
382
|
/** Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden. */
|
|
373
383
|
airflowConfigOverrides?: {[P in string]: string};
|
|
384
|
+
/** Optional. The configuration for Cloud Data Lineage integration. */
|
|
385
|
+
cloudDataLineageIntegration?: CloudDataLineageIntegration;
|
|
374
386
|
/** Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names: * `AIRFLOW_HOME` * `C_FORCE_ROOT` * `CONTAINER_NAME` * `DAGS_FOLDER` * `GCP_PROJECT` * `GCS_BUCKET` * `GKE_CLUSTER_NAME` * `SQL_DATABASE` * `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER` */
|
|
375
387
|
envVariables?: {[P in string]: string};
|
|
376
388
|
/** 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). */
|
|
@@ -410,6 +422,10 @@ declare namespace gapi.client {
|
|
|
410
422
|
/** Optional. The name of the Cloud Storage bucket used by the environment. No `gs://` prefix. */
|
|
411
423
|
bucket?: string;
|
|
412
424
|
}
|
|
425
|
+
interface TaskLogsRetentionConfig {
|
|
426
|
+
/** Optional. The mode of storage for Airflow workers task logs. For details, see go/composer-store-task-logs-in-cloud-logging-only-design-doc */
|
|
427
|
+
storageMode?: string;
|
|
428
|
+
}
|
|
413
429
|
interface TriggererResource {
|
|
414
430
|
/** Optional. The number of triggerers. */
|
|
415
431
|
count?: number;
|