@maxim_mazurok/gapi.client.composer-v1 0.1.20260302 → 0.2.20260302

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.
Files changed (2) hide show
  1. package/index.d.ts +157 -100
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -28,7 +28,10 @@ declare namespace gapi.client {
28
28
  /** Optional. How many days data should be retained for. */
29
29
  retentionDays?: number;
30
30
  /** Optional. Retention can be either enabled or disabled. */
31
- retentionMode?: string;
31
+ retentionMode?:
32
+ | 'RETENTION_MODE_UNSPECIFIED'
33
+ | 'RETENTION_MODE_ENABLED'
34
+ | 'RETENTION_MODE_DISABLED';
32
35
  }
33
36
  interface AllowedIpRange {
34
37
  /** Optional. User-provided description. It must contain at most 300 characters. */
@@ -46,7 +49,10 @@ declare namespace gapi.client {
46
49
  /** Output only. Contains information about environment configuration that is incompatible with the new image version, except for pypi modules conflicts. */
47
50
  configConflicts?: ConfigConflict[];
48
51
  /** Output only. Whether build has succeeded or failed on modules conflicts. */
49
- containsPypiModulesConflict?: string;
52
+ containsPypiModulesConflict?:
53
+ | 'CONFLICT_RESULT_UNSPECIFIED'
54
+ | 'CONFLICT'
55
+ | 'NO_CONFLICT';
50
56
  /** Composer image for which the build was happening. */
51
57
  imageVersion?: string;
52
58
  /** Output only. Extract from a docker image build log containing information about pypi modules conflicts. */
@@ -70,13 +76,29 @@ declare namespace gapi.client {
70
76
  /** Output only. Status of a workload. */
71
77
  status?: ComposerWorkloadStatus;
72
78
  /** Type of a workload. */
73
- type?: string;
79
+ type?:
80
+ | 'COMPOSER_WORKLOAD_TYPE_UNSPECIFIED'
81
+ | 'CELERY_WORKER'
82
+ | 'KUBERNETES_WORKER'
83
+ | 'KUBERNETES_OPERATOR_POD'
84
+ | 'SCHEDULER'
85
+ | 'DAG_PROCESSOR'
86
+ | 'TRIGGERER'
87
+ | 'WEB_SERVER'
88
+ | 'REDIS';
74
89
  }
75
90
  interface ComposerWorkloadStatus {
76
91
  /** Output only. Detailed message of the status. */
77
92
  detailedStatusMessage?: string;
78
93
  /** Output only. Workload state. */
79
- state?: string;
94
+ state?:
95
+ | 'COMPOSER_WORKLOAD_STATE_UNSPECIFIED'
96
+ | 'PENDING'
97
+ | 'OK'
98
+ | 'WARNING'
99
+ | 'ERROR'
100
+ | 'SUCCEEDED'
101
+ | 'FAILED';
80
102
  /** Output only. Text to provide more descriptive status. */
81
103
  statusMessage?: string;
82
104
  }
@@ -84,7 +106,7 @@ declare namespace gapi.client {
84
106
  /** Conflict message. */
85
107
  message?: string;
86
108
  /** Conflict type. It can be blocking or non-blocking. */
87
- type?: string;
109
+ type?: 'CONFLICT_TYPE_UNSPECIFIED' | 'BLOCKING' | 'NON_BLOCKING';
88
110
  }
89
111
  interface DagProcessorResource {
90
112
  /** Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created. */
@@ -137,7 +159,13 @@ declare namespace gapi.client {
137
159
  /** Output only. Reserved for future use. */
138
160
  satisfiesPzs?: boolean;
139
161
  /** The current state of the environment. */
140
- state?: string;
162
+ state?:
163
+ | 'STATE_UNSPECIFIED'
164
+ | 'CREATING'
165
+ | 'RUNNING'
166
+ | 'UPDATING'
167
+ | 'DELETING'
168
+ | 'ERROR';
141
169
  /** Optional. Storage configuration for this environment. */
142
170
  storageConfig?: StorageConfig;
143
171
  /** Output only. The time at which this environment was last modified. */
@@ -159,7 +187,12 @@ declare namespace gapi.client {
159
187
  /** Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. */
160
188
  encryptionConfig?: EncryptionConfig;
161
189
  /** Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. */
162
- environmentSize?: string;
190
+ environmentSize?:
191
+ | 'ENVIRONMENT_SIZE_UNSPECIFIED'
192
+ | 'ENVIRONMENT_SIZE_SMALL'
193
+ | 'ENVIRONMENT_SIZE_MEDIUM'
194
+ | 'ENVIRONMENT_SIZE_LARGE'
195
+ | 'ENVIRONMENT_SIZE_EXTRA_LARGE';
163
196
  /** Output only. The Kubernetes Engine cluster used to run this environment. */
164
197
  gkeCluster?: string;
165
198
  /** Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week. */
@@ -175,7 +208,7 @@ declare namespace gapi.client {
175
208
  /** Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. */
176
209
  recoveryConfig?: RecoveryConfig;
177
210
  /** Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer. */
178
- resilienceMode?: string;
211
+ resilienceMode?: 'RESILIENCE_MODE_UNSPECIFIED' | 'HIGH_RESILIENCE';
179
212
  /** Optional. The configuration settings for software inside the environment. */
180
213
  softwareConfig?: SoftwareConfig;
181
214
  /** Optional. The configuration settings for the Airflow web server App Engine instance. */
@@ -316,7 +349,10 @@ declare namespace gapi.client {
316
349
  }
317
350
  interface NetworkingConfig {
318
351
  /** Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. */
319
- connectionType?: string;
352
+ connectionType?:
353
+ | 'CONNECTION_TYPE_UNSPECIFIED'
354
+ | 'VPC_PEERING'
355
+ | 'PRIVATE_SERVICE_CONNECT';
320
356
  }
321
357
  interface NodeConfig {
322
358
  /** Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
@@ -362,13 +398,28 @@ declare namespace gapi.client {
362
398
  /** Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing. */
363
399
  endTime?: string;
364
400
  /** Output only. The type of operation being performed. */
365
- operationType?: string;
401
+ operationType?:
402
+ | 'TYPE_UNSPECIFIED'
403
+ | 'CREATE'
404
+ | 'DELETE'
405
+ | 'UPDATE'
406
+ | 'CHECK'
407
+ | 'SAVE_SNAPSHOT'
408
+ | 'LOAD_SNAPSHOT'
409
+ | 'DATABASE_FAILOVER'
410
+ | 'MIGRATE';
366
411
  /** Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name). */
367
412
  resource?: string;
368
413
  /** Output only. The UUID of the resource being operated on. */
369
414
  resourceUuid?: string;
370
415
  /** Output only. The current operation state. */
371
- state?: string;
416
+ state?:
417
+ | 'STATE_UNSPECIFIED'
418
+ | 'PENDING'
419
+ | 'RUNNING'
420
+ | 'SUCCEEDED'
421
+ | 'SUCCESSFUL'
422
+ | 'FAILED';
372
423
  }
373
424
  interface PollAirflowCommandRequest {
374
425
  /** The unique ID of the command execution. */
@@ -414,7 +465,7 @@ declare namespace gapi.client {
414
465
  /** Optional. Configuration for the network connections configuration in the environment. */
415
466
  networkingConfig?: NetworkingConfig;
416
467
  /** Optional. Networking type for the environment, either private or public. */
417
- networkingType?: string;
468
+ networkingType?: 'NETWORKING_TYPE_UNSPECIFIED' | 'PRIVATE' | 'PUBLIC';
418
469
  /** Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment. */
419
470
  privateClusterConfig?: PrivateClusterConfig;
420
471
  /** Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and `cloud_sql_ipv4_cidr_block`. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. */
@@ -471,7 +522,10 @@ declare namespace gapi.client {
471
522
  /** Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. */
472
523
  schedulerCount?: number;
473
524
  /** Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
474
- webServerPluginsMode?: string;
525
+ webServerPluginsMode?:
526
+ | 'WEB_SERVER_PLUGINS_MODE_UNSPECIFIED'
527
+ | 'PLUGINS_DISABLED'
528
+ | 'PLUGINS_ENABLED';
475
529
  }
476
530
  interface Status {
477
531
  /** The status code, which should be an enum value of google.rpc.Code. */
@@ -503,7 +557,10 @@ declare namespace gapi.client {
503
557
  }
504
558
  interface TaskLogsRetentionConfig {
505
559
  /** Optional. The mode of storage for Airflow workers task logs. */
506
- storageMode?: string;
560
+ storageMode?:
561
+ | 'TASK_LOGS_STORAGE_MODE_UNSPECIFIED'
562
+ | 'CLOUD_LOGGING_AND_CLOUD_STORAGE'
563
+ | 'CLOUD_LOGGING_ONLY';
507
564
  }
508
565
  interface TriggererResource {
509
566
  /** Optional. The number of triggerers. */
@@ -569,11 +626,11 @@ declare namespace gapi.client {
569
626
  /** Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
570
627
  create(request: {
571
628
  /** V1 error format. */
572
- '$.xgafv'?: string;
629
+ '$.xgafv'?: '1' | '2';
573
630
  /** OAuth access token. */
574
631
  access_token?: string;
575
632
  /** Data format for response. */
576
- alt?: string;
633
+ alt?: 'json' | 'media' | 'proto';
577
634
  /** JSONP */
578
635
  callback?: string;
579
636
  /** Selector specifying which fields to include in a partial response. */
@@ -598,11 +655,11 @@ declare namespace gapi.client {
598
655
  create(
599
656
  request: {
600
657
  /** V1 error format. */
601
- '$.xgafv'?: string;
658
+ '$.xgafv'?: '1' | '2';
602
659
  /** OAuth access token. */
603
660
  access_token?: string;
604
661
  /** Data format for response. */
605
- alt?: string;
662
+ alt?: 'json' | 'media' | 'proto';
606
663
  /** JSONP */
607
664
  callback?: string;
608
665
  /** Selector specifying which fields to include in a partial response. */
@@ -627,11 +684,11 @@ declare namespace gapi.client {
627
684
  /** Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
628
685
  delete(request?: {
629
686
  /** V1 error format. */
630
- '$.xgafv'?: string;
687
+ '$.xgafv'?: '1' | '2';
631
688
  /** OAuth access token. */
632
689
  access_token?: string;
633
690
  /** Data format for response. */
634
- alt?: string;
691
+ alt?: 'json' | 'media' | 'proto';
635
692
  /** JSONP */
636
693
  callback?: string;
637
694
  /** Selector specifying which fields to include in a partial response. */
@@ -654,11 +711,11 @@ declare namespace gapi.client {
654
711
  /** Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
655
712
  get(request?: {
656
713
  /** V1 error format. */
657
- '$.xgafv'?: string;
714
+ '$.xgafv'?: '1' | '2';
658
715
  /** OAuth access token. */
659
716
  access_token?: string;
660
717
  /** Data format for response. */
661
- alt?: string;
718
+ alt?: 'json' | 'media' | 'proto';
662
719
  /** JSONP */
663
720
  callback?: string;
664
721
  /** Selector specifying which fields to include in a partial response. */
@@ -681,11 +738,11 @@ declare namespace gapi.client {
681
738
  /** Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
682
739
  list(request?: {
683
740
  /** V1 error format. */
684
- '$.xgafv'?: string;
741
+ '$.xgafv'?: '1' | '2';
685
742
  /** OAuth access token. */
686
743
  access_token?: string;
687
744
  /** Data format for response. */
688
- alt?: string;
745
+ alt?: 'json' | 'media' | 'proto';
689
746
  /** JSONP */
690
747
  callback?: string;
691
748
  /** Selector specifying which fields to include in a partial response. */
@@ -712,11 +769,11 @@ declare namespace gapi.client {
712
769
  /** Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
713
770
  update(request: {
714
771
  /** V1 error format. */
715
- '$.xgafv'?: string;
772
+ '$.xgafv'?: '1' | '2';
716
773
  /** OAuth access token. */
717
774
  access_token?: string;
718
775
  /** Data format for response. */
719
- alt?: string;
776
+ alt?: 'json' | 'media' | 'proto';
720
777
  /** JSONP */
721
778
  callback?: string;
722
779
  /** Selector specifying which fields to include in a partial response. */
@@ -741,11 +798,11 @@ declare namespace gapi.client {
741
798
  update(
742
799
  request: {
743
800
  /** V1 error format. */
744
- '$.xgafv'?: string;
801
+ '$.xgafv'?: '1' | '2';
745
802
  /** OAuth access token. */
746
803
  access_token?: string;
747
804
  /** Data format for response. */
748
- alt?: string;
805
+ alt?: 'json' | 'media' | 'proto';
749
806
  /** JSONP */
750
807
  callback?: string;
751
808
  /** Selector specifying which fields to include in a partial response. */
@@ -772,11 +829,11 @@ declare namespace gapi.client {
772
829
  /** Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
773
830
  create(request: {
774
831
  /** V1 error format. */
775
- '$.xgafv'?: string;
832
+ '$.xgafv'?: '1' | '2';
776
833
  /** OAuth access token. */
777
834
  access_token?: string;
778
835
  /** Data format for response. */
779
- alt?: string;
836
+ alt?: 'json' | 'media' | 'proto';
780
837
  /** JSONP */
781
838
  callback?: string;
782
839
  /** Selector specifying which fields to include in a partial response. */
@@ -801,11 +858,11 @@ declare namespace gapi.client {
801
858
  create(
802
859
  request: {
803
860
  /** V1 error format. */
804
- '$.xgafv'?: string;
861
+ '$.xgafv'?: '1' | '2';
805
862
  /** OAuth access token. */
806
863
  access_token?: string;
807
864
  /** Data format for response. */
808
- alt?: string;
865
+ alt?: 'json' | 'media' | 'proto';
809
866
  /** JSONP */
810
867
  callback?: string;
811
868
  /** Selector specifying which fields to include in a partial response. */
@@ -830,11 +887,11 @@ declare namespace gapi.client {
830
887
  /** Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
831
888
  delete(request?: {
832
889
  /** V1 error format. */
833
- '$.xgafv'?: string;
890
+ '$.xgafv'?: '1' | '2';
834
891
  /** OAuth access token. */
835
892
  access_token?: string;
836
893
  /** Data format for response. */
837
- alt?: string;
894
+ alt?: 'json' | 'media' | 'proto';
838
895
  /** JSONP */
839
896
  callback?: string;
840
897
  /** Selector specifying which fields to include in a partial response. */
@@ -857,11 +914,11 @@ declare namespace gapi.client {
857
914
  /** Gets an existing user workloads Secret. Values of the "data" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
858
915
  get(request?: {
859
916
  /** V1 error format. */
860
- '$.xgafv'?: string;
917
+ '$.xgafv'?: '1' | '2';
861
918
  /** OAuth access token. */
862
919
  access_token?: string;
863
920
  /** Data format for response. */
864
- alt?: string;
921
+ alt?: 'json' | 'media' | 'proto';
865
922
  /** JSONP */
866
923
  callback?: string;
867
924
  /** Selector specifying which fields to include in a partial response. */
@@ -884,11 +941,11 @@ declare namespace gapi.client {
884
941
  /** Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
885
942
  list(request?: {
886
943
  /** V1 error format. */
887
- '$.xgafv'?: string;
944
+ '$.xgafv'?: '1' | '2';
888
945
  /** OAuth access token. */
889
946
  access_token?: string;
890
947
  /** Data format for response. */
891
- alt?: string;
948
+ alt?: 'json' | 'media' | 'proto';
892
949
  /** JSONP */
893
950
  callback?: string;
894
951
  /** Selector specifying which fields to include in a partial response. */
@@ -915,11 +972,11 @@ declare namespace gapi.client {
915
972
  /** Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. */
916
973
  update(request: {
917
974
  /** V1 error format. */
918
- '$.xgafv'?: string;
975
+ '$.xgafv'?: '1' | '2';
919
976
  /** OAuth access token. */
920
977
  access_token?: string;
921
978
  /** Data format for response. */
922
- alt?: string;
979
+ alt?: 'json' | 'media' | 'proto';
923
980
  /** JSONP */
924
981
  callback?: string;
925
982
  /** Selector specifying which fields to include in a partial response. */
@@ -944,11 +1001,11 @@ declare namespace gapi.client {
944
1001
  update(
945
1002
  request: {
946
1003
  /** V1 error format. */
947
- '$.xgafv'?: string;
1004
+ '$.xgafv'?: '1' | '2';
948
1005
  /** OAuth access token. */
949
1006
  access_token?: string;
950
1007
  /** Data format for response. */
951
- alt?: string;
1008
+ alt?: 'json' | 'media' | 'proto';
952
1009
  /** JSONP */
953
1010
  callback?: string;
954
1011
  /** Selector specifying which fields to include in a partial response. */
@@ -975,11 +1032,11 @@ declare namespace gapi.client {
975
1032
  /** Lists workloads in a Cloud Composer environment. Workload is a unit that runs a single Composer component. This method is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. */
976
1033
  list(request?: {
977
1034
  /** V1 error format. */
978
- '$.xgafv'?: string;
1035
+ '$.xgafv'?: '1' | '2';
979
1036
  /** OAuth access token. */
980
1037
  access_token?: string;
981
1038
  /** Data format for response. */
982
- alt?: string;
1039
+ alt?: 'json' | 'media' | 'proto';
983
1040
  /** JSONP */
984
1041
  callback?: string;
985
1042
  /** Selector specifying which fields to include in a partial response. */
@@ -1010,11 +1067,11 @@ declare namespace gapi.client {
1010
1067
  /** Check if an upgrade operation on the environment will succeed. In case of problems detailed info can be found in the returned Operation. */
1011
1068
  checkUpgrade(request: {
1012
1069
  /** V1 error format. */
1013
- '$.xgafv'?: string;
1070
+ '$.xgafv'?: '1' | '2';
1014
1071
  /** OAuth access token. */
1015
1072
  access_token?: string;
1016
1073
  /** Data format for response. */
1017
- alt?: string;
1074
+ alt?: 'json' | 'media' | 'proto';
1018
1075
  /** JSONP */
1019
1076
  callback?: string;
1020
1077
  /** Required. The resource name of the environment to check upgrade for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1039,11 +1096,11 @@ declare namespace gapi.client {
1039
1096
  checkUpgrade(
1040
1097
  request: {
1041
1098
  /** V1 error format. */
1042
- '$.xgafv'?: string;
1099
+ '$.xgafv'?: '1' | '2';
1043
1100
  /** OAuth access token. */
1044
1101
  access_token?: string;
1045
1102
  /** Data format for response. */
1046
- alt?: string;
1103
+ alt?: 'json' | 'media' | 'proto';
1047
1104
  /** JSONP */
1048
1105
  callback?: string;
1049
1106
  /** Required. The resource name of the environment to check upgrade for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1068,11 +1125,11 @@ declare namespace gapi.client {
1068
1125
  /** Create a new environment. */
1069
1126
  create(request: {
1070
1127
  /** V1 error format. */
1071
- '$.xgafv'?: string;
1128
+ '$.xgafv'?: '1' | '2';
1072
1129
  /** OAuth access token. */
1073
1130
  access_token?: string;
1074
1131
  /** Data format for response. */
1075
- alt?: string;
1132
+ alt?: 'json' | 'media' | 'proto';
1076
1133
  /** JSONP */
1077
1134
  callback?: string;
1078
1135
  /** Selector specifying which fields to include in a partial response. */
@@ -1097,11 +1154,11 @@ declare namespace gapi.client {
1097
1154
  create(
1098
1155
  request: {
1099
1156
  /** V1 error format. */
1100
- '$.xgafv'?: string;
1157
+ '$.xgafv'?: '1' | '2';
1101
1158
  /** OAuth access token. */
1102
1159
  access_token?: string;
1103
1160
  /** Data format for response. */
1104
- alt?: string;
1161
+ alt?: 'json' | 'media' | 'proto';
1105
1162
  /** JSONP */
1106
1163
  callback?: string;
1107
1164
  /** Selector specifying which fields to include in a partial response. */
@@ -1126,11 +1183,11 @@ declare namespace gapi.client {
1126
1183
  /** Triggers database failover (only for highly resilient environments). */
1127
1184
  databaseFailover(request: {
1128
1185
  /** V1 error format. */
1129
- '$.xgafv'?: string;
1186
+ '$.xgafv'?: '1' | '2';
1130
1187
  /** OAuth access token. */
1131
1188
  access_token?: string;
1132
1189
  /** Data format for response. */
1133
- alt?: string;
1190
+ alt?: 'json' | 'media' | 'proto';
1134
1191
  /** JSONP */
1135
1192
  callback?: string;
1136
1193
  /** Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1155,11 +1212,11 @@ declare namespace gapi.client {
1155
1212
  databaseFailover(
1156
1213
  request: {
1157
1214
  /** V1 error format. */
1158
- '$.xgafv'?: string;
1215
+ '$.xgafv'?: '1' | '2';
1159
1216
  /** OAuth access token. */
1160
1217
  access_token?: string;
1161
1218
  /** Data format for response. */
1162
- alt?: string;
1219
+ alt?: 'json' | 'media' | 'proto';
1163
1220
  /** JSONP */
1164
1221
  callback?: string;
1165
1222
  /** Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1184,11 +1241,11 @@ declare namespace gapi.client {
1184
1241
  /** Delete an environment. */
1185
1242
  delete(request?: {
1186
1243
  /** V1 error format. */
1187
- '$.xgafv'?: string;
1244
+ '$.xgafv'?: '1' | '2';
1188
1245
  /** OAuth access token. */
1189
1246
  access_token?: string;
1190
1247
  /** Data format for response. */
1191
- alt?: string;
1248
+ alt?: 'json' | 'media' | 'proto';
1192
1249
  /** JSONP */
1193
1250
  callback?: string;
1194
1251
  /** Selector specifying which fields to include in a partial response. */
@@ -1211,11 +1268,11 @@ declare namespace gapi.client {
1211
1268
  /** Executes Airflow CLI command. */
1212
1269
  executeAirflowCommand(request: {
1213
1270
  /** V1 error format. */
1214
- '$.xgafv'?: string;
1271
+ '$.xgafv'?: '1' | '2';
1215
1272
  /** OAuth access token. */
1216
1273
  access_token?: string;
1217
1274
  /** Data format for response. */
1218
- alt?: string;
1275
+ alt?: 'json' | 'media' | 'proto';
1219
1276
  /** JSONP */
1220
1277
  callback?: string;
1221
1278
  /** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
@@ -1240,11 +1297,11 @@ declare namespace gapi.client {
1240
1297
  executeAirflowCommand(
1241
1298
  request: {
1242
1299
  /** V1 error format. */
1243
- '$.xgafv'?: string;
1300
+ '$.xgafv'?: '1' | '2';
1244
1301
  /** OAuth access token. */
1245
1302
  access_token?: string;
1246
1303
  /** Data format for response. */
1247
- alt?: string;
1304
+ alt?: 'json' | 'media' | 'proto';
1248
1305
  /** JSONP */
1249
1306
  callback?: string;
1250
1307
  /** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
@@ -1269,11 +1326,11 @@ declare namespace gapi.client {
1269
1326
  /** Fetches database properties. */
1270
1327
  fetchDatabaseProperties(request?: {
1271
1328
  /** V1 error format. */
1272
- '$.xgafv'?: string;
1329
+ '$.xgafv'?: '1' | '2';
1273
1330
  /** OAuth access token. */
1274
1331
  access_token?: string;
1275
1332
  /** Data format for response. */
1276
- alt?: string;
1333
+ alt?: 'json' | 'media' | 'proto';
1277
1334
  /** JSONP */
1278
1335
  callback?: string;
1279
1336
  /** Required. The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1296,11 +1353,11 @@ declare namespace gapi.client {
1296
1353
  /** Get an existing environment. */
1297
1354
  get(request?: {
1298
1355
  /** V1 error format. */
1299
- '$.xgafv'?: string;
1356
+ '$.xgafv'?: '1' | '2';
1300
1357
  /** OAuth access token. */
1301
1358
  access_token?: string;
1302
1359
  /** Data format for response. */
1303
- alt?: string;
1360
+ alt?: 'json' | 'media' | 'proto';
1304
1361
  /** JSONP */
1305
1362
  callback?: string;
1306
1363
  /** Selector specifying which fields to include in a partial response. */
@@ -1323,11 +1380,11 @@ declare namespace gapi.client {
1323
1380
  /** List environments. */
1324
1381
  list(request?: {
1325
1382
  /** V1 error format. */
1326
- '$.xgafv'?: string;
1383
+ '$.xgafv'?: '1' | '2';
1327
1384
  /** OAuth access token. */
1328
1385
  access_token?: string;
1329
1386
  /** Data format for response. */
1330
- alt?: string;
1387
+ alt?: 'json' | 'media' | 'proto';
1331
1388
  /** JSONP */
1332
1389
  callback?: string;
1333
1390
  /** Selector specifying which fields to include in a partial response. */
@@ -1354,11 +1411,11 @@ declare namespace gapi.client {
1354
1411
  /** 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. */
1355
1412
  loadSnapshot(request: {
1356
1413
  /** V1 error format. */
1357
- '$.xgafv'?: string;
1414
+ '$.xgafv'?: '1' | '2';
1358
1415
  /** OAuth access token. */
1359
1416
  access_token?: string;
1360
1417
  /** Data format for response. */
1361
- alt?: string;
1418
+ alt?: 'json' | 'media' | 'proto';
1362
1419
  /** JSONP */
1363
1420
  callback?: string;
1364
1421
  /** The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1383,11 +1440,11 @@ declare namespace gapi.client {
1383
1440
  loadSnapshot(
1384
1441
  request: {
1385
1442
  /** V1 error format. */
1386
- '$.xgafv'?: string;
1443
+ '$.xgafv'?: '1' | '2';
1387
1444
  /** OAuth access token. */
1388
1445
  access_token?: string;
1389
1446
  /** Data format for response. */
1390
- alt?: string;
1447
+ alt?: 'json' | 'media' | 'proto';
1391
1448
  /** JSONP */
1392
1449
  callback?: string;
1393
1450
  /** The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1412,11 +1469,11 @@ declare namespace gapi.client {
1412
1469
  /** Update an environment. */
1413
1470
  patch(request: {
1414
1471
  /** V1 error format. */
1415
- '$.xgafv'?: string;
1472
+ '$.xgafv'?: '1' | '2';
1416
1473
  /** OAuth access token. */
1417
1474
  access_token?: string;
1418
1475
  /** Data format for response. */
1419
- alt?: string;
1476
+ alt?: 'json' | 'media' | 'proto';
1420
1477
  /** JSONP */
1421
1478
  callback?: string;
1422
1479
  /** Selector specifying which fields to include in a partial response. */
@@ -1443,11 +1500,11 @@ declare namespace gapi.client {
1443
1500
  patch(
1444
1501
  request: {
1445
1502
  /** V1 error format. */
1446
- '$.xgafv'?: string;
1503
+ '$.xgafv'?: '1' | '2';
1447
1504
  /** OAuth access token. */
1448
1505
  access_token?: string;
1449
1506
  /** Data format for response. */
1450
- alt?: string;
1507
+ alt?: 'json' | 'media' | 'proto';
1451
1508
  /** JSONP */
1452
1509
  callback?: string;
1453
1510
  /** Selector specifying which fields to include in a partial response. */
@@ -1474,11 +1531,11 @@ declare namespace gapi.client {
1474
1531
  /** Polls Airflow CLI command execution and fetches logs. */
1475
1532
  pollAirflowCommand(request: {
1476
1533
  /** V1 error format. */
1477
- '$.xgafv'?: string;
1534
+ '$.xgafv'?: '1' | '2';
1478
1535
  /** OAuth access token. */
1479
1536
  access_token?: string;
1480
1537
  /** Data format for response. */
1481
- alt?: string;
1538
+ alt?: 'json' | 'media' | 'proto';
1482
1539
  /** JSONP */
1483
1540
  callback?: string;
1484
1541
  /** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1503,11 +1560,11 @@ declare namespace gapi.client {
1503
1560
  pollAirflowCommand(
1504
1561
  request: {
1505
1562
  /** V1 error format. */
1506
- '$.xgafv'?: string;
1563
+ '$.xgafv'?: '1' | '2';
1507
1564
  /** OAuth access token. */
1508
1565
  access_token?: string;
1509
1566
  /** Data format for response. */
1510
- alt?: string;
1567
+ alt?: 'json' | 'media' | 'proto';
1511
1568
  /** JSONP */
1512
1569
  callback?: string;
1513
1570
  /** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1532,11 +1589,11 @@ declare namespace gapi.client {
1532
1589
  /** Restart Airflow web server. */
1533
1590
  restartWebServer(request: {
1534
1591
  /** V1 error format. */
1535
- '$.xgafv'?: string;
1592
+ '$.xgafv'?: '1' | '2';
1536
1593
  /** OAuth access token. */
1537
1594
  access_token?: string;
1538
1595
  /** Data format for response. */
1539
- alt?: string;
1596
+ alt?: 'json' | 'media' | 'proto';
1540
1597
  /** JSONP */
1541
1598
  callback?: string;
1542
1599
  /** Selector specifying which fields to include in a partial response. */
@@ -1561,11 +1618,11 @@ declare namespace gapi.client {
1561
1618
  restartWebServer(
1562
1619
  request: {
1563
1620
  /** V1 error format. */
1564
- '$.xgafv'?: string;
1621
+ '$.xgafv'?: '1' | '2';
1565
1622
  /** OAuth access token. */
1566
1623
  access_token?: string;
1567
1624
  /** Data format for response. */
1568
- alt?: string;
1625
+ alt?: 'json' | 'media' | 'proto';
1569
1626
  /** JSONP */
1570
1627
  callback?: string;
1571
1628
  /** Selector specifying which fields to include in a partial response. */
@@ -1590,11 +1647,11 @@ declare namespace gapi.client {
1590
1647
  /** 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. */
1591
1648
  saveSnapshot(request: {
1592
1649
  /** V1 error format. */
1593
- '$.xgafv'?: string;
1650
+ '$.xgafv'?: '1' | '2';
1594
1651
  /** OAuth access token. */
1595
1652
  access_token?: string;
1596
1653
  /** Data format for response. */
1597
- alt?: string;
1654
+ alt?: 'json' | 'media' | 'proto';
1598
1655
  /** JSONP */
1599
1656
  callback?: string;
1600
1657
  /** The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1619,11 +1676,11 @@ declare namespace gapi.client {
1619
1676
  saveSnapshot(
1620
1677
  request: {
1621
1678
  /** V1 error format. */
1622
- '$.xgafv'?: string;
1679
+ '$.xgafv'?: '1' | '2';
1623
1680
  /** OAuth access token. */
1624
1681
  access_token?: string;
1625
1682
  /** Data format for response. */
1626
- alt?: string;
1683
+ alt?: 'json' | 'media' | 'proto';
1627
1684
  /** JSONP */
1628
1685
  callback?: string;
1629
1686
  /** The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
@@ -1648,11 +1705,11 @@ declare namespace gapi.client {
1648
1705
  /** Stops Airflow CLI command execution. */
1649
1706
  stopAirflowCommand(request: {
1650
1707
  /** V1 error format. */
1651
- '$.xgafv'?: string;
1708
+ '$.xgafv'?: '1' | '2';
1652
1709
  /** OAuth access token. */
1653
1710
  access_token?: string;
1654
1711
  /** Data format for response. */
1655
- alt?: string;
1712
+ alt?: 'json' | 'media' | 'proto';
1656
1713
  /** JSONP */
1657
1714
  callback?: string;
1658
1715
  /** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
@@ -1677,11 +1734,11 @@ declare namespace gapi.client {
1677
1734
  stopAirflowCommand(
1678
1735
  request: {
1679
1736
  /** V1 error format. */
1680
- '$.xgafv'?: string;
1737
+ '$.xgafv'?: '1' | '2';
1681
1738
  /** OAuth access token. */
1682
1739
  access_token?: string;
1683
1740
  /** Data format for response. */
1684
- alt?: string;
1741
+ alt?: 'json' | 'media' | 'proto';
1685
1742
  /** JSONP */
1686
1743
  callback?: string;
1687
1744
  /** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
@@ -1711,11 +1768,11 @@ declare namespace gapi.client {
1711
1768
  /** List ImageVersions for provided location. */
1712
1769
  list(request?: {
1713
1770
  /** V1 error format. */
1714
- '$.xgafv'?: string;
1771
+ '$.xgafv'?: '1' | '2';
1715
1772
  /** OAuth access token. */
1716
1773
  access_token?: string;
1717
1774
  /** Data format for response. */
1718
- alt?: string;
1775
+ alt?: 'json' | 'media' | 'proto';
1719
1776
  /** JSONP */
1720
1777
  callback?: string;
1721
1778
  /** Selector specifying which fields to include in a partial response. */
@@ -1746,11 +1803,11 @@ declare namespace gapi.client {
1746
1803
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
1747
1804
  delete(request?: {
1748
1805
  /** V1 error format. */
1749
- '$.xgafv'?: string;
1806
+ '$.xgafv'?: '1' | '2';
1750
1807
  /** OAuth access token. */
1751
1808
  access_token?: string;
1752
1809
  /** Data format for response. */
1753
- alt?: string;
1810
+ alt?: 'json' | 'media' | 'proto';
1754
1811
  /** JSONP */
1755
1812
  callback?: string;
1756
1813
  /** Selector specifying which fields to include in a partial response. */
@@ -1773,11 +1830,11 @@ declare namespace gapi.client {
1773
1830
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1774
1831
  get(request?: {
1775
1832
  /** V1 error format. */
1776
- '$.xgafv'?: string;
1833
+ '$.xgafv'?: '1' | '2';
1777
1834
  /** OAuth access token. */
1778
1835
  access_token?: string;
1779
1836
  /** Data format for response. */
1780
- alt?: string;
1837
+ alt?: 'json' | 'media' | 'proto';
1781
1838
  /** JSONP */
1782
1839
  callback?: string;
1783
1840
  /** Selector specifying which fields to include in a partial response. */
@@ -1800,11 +1857,11 @@ declare namespace gapi.client {
1800
1857
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1801
1858
  list(request?: {
1802
1859
  /** V1 error format. */
1803
- '$.xgafv'?: string;
1860
+ '$.xgafv'?: '1' | '2';
1804
1861
  /** OAuth access token. */
1805
1862
  access_token?: string;
1806
1863
  /** Data format for response. */
1807
- alt?: string;
1864
+ alt?: 'json' | 'media' | 'proto';
1808
1865
  /** JSONP */
1809
1866
  callback?: string;
1810
1867
  /** Selector specifying which fields to include in a partial response. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.composer-v1",
3
- "version": "0.1.20260302",
3
+ "version": "0.2.20260302",
4
4
  "description": "TypeScript typings for Cloud Composer API v1",
5
5
  "repository": {
6
6
  "type": "git",