@maxim_mazurok/gapi.client.composer-v1 0.0.20240123 → 0.0.20240204
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 +433 -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: 20240204
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -245,6 +245,18 @@ declare namespace gapi.client {
|
|
|
245
245
|
/** A list of operations that matches the specified filter in the request. */
|
|
246
246
|
operations?: Operation[];
|
|
247
247
|
}
|
|
248
|
+
interface ListUserWorkloadsConfigMapsResponse {
|
|
249
|
+
/** The page token used to query for the next page if one exists. */
|
|
250
|
+
nextPageToken?: string;
|
|
251
|
+
/** The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest. */
|
|
252
|
+
userWorkloadsConfigMaps?: UserWorkloadsConfigMap[];
|
|
253
|
+
}
|
|
254
|
+
interface ListUserWorkloadsSecretsResponse {
|
|
255
|
+
/** The page token used to query for the next page if one exists. */
|
|
256
|
+
nextPageToken?: string;
|
|
257
|
+
/** The list of Secrets returned by a ListUserWorkloadsSecretsRequest. */
|
|
258
|
+
userWorkloadsSecrets?: UserWorkloadsSecret[];
|
|
259
|
+
}
|
|
248
260
|
interface ListWorkloadsResponse {
|
|
249
261
|
/** The page token used to query for the next page if one exists. */
|
|
250
262
|
nextPageToken?: string;
|
|
@@ -474,6 +486,18 @@ declare namespace gapi.client {
|
|
|
474
486
|
/** Optional. Memory (GB) request and limit for a single Airflow triggerer replica. */
|
|
475
487
|
memoryGb?: number;
|
|
476
488
|
}
|
|
489
|
+
interface UserWorkloadsConfigMap {
|
|
490
|
+
/** Optional. The "data" field of Kubernetes ConfigMap, organized in key-value pairs. For details see: https://kubernetes.io/docs/concepts/configuration/configmap/ */
|
|
491
|
+
data?: {[P in string]: string};
|
|
492
|
+
/** Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" */
|
|
493
|
+
name?: string;
|
|
494
|
+
}
|
|
495
|
+
interface UserWorkloadsSecret {
|
|
496
|
+
/** Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ */
|
|
497
|
+
data?: {[P in string]: string};
|
|
498
|
+
/** Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" */
|
|
499
|
+
name?: string;
|
|
500
|
+
}
|
|
477
501
|
interface WebServerConfig {
|
|
478
502
|
/** Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. */
|
|
479
503
|
machineType?: string;
|
|
@@ -514,6 +538,412 @@ declare namespace gapi.client {
|
|
|
514
538
|
/** Optional. Resources used by Airflow workers. */
|
|
515
539
|
worker?: WorkerResource;
|
|
516
540
|
}
|
|
541
|
+
interface UserWorkloadsConfigMapsResource {
|
|
542
|
+
/** Creates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
543
|
+
create(request: {
|
|
544
|
+
/** V1 error format. */
|
|
545
|
+
'$.xgafv'?: string;
|
|
546
|
+
/** OAuth access token. */
|
|
547
|
+
access_token?: string;
|
|
548
|
+
/** Data format for response. */
|
|
549
|
+
alt?: string;
|
|
550
|
+
/** JSONP */
|
|
551
|
+
callback?: string;
|
|
552
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
553
|
+
fields?: string;
|
|
554
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
555
|
+
key?: string;
|
|
556
|
+
/** OAuth 2.0 token for the current user. */
|
|
557
|
+
oauth_token?: string;
|
|
558
|
+
/** Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
559
|
+
parent: string;
|
|
560
|
+
/** Returns response with indentations and line breaks. */
|
|
561
|
+
prettyPrint?: boolean;
|
|
562
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
563
|
+
quotaUser?: string;
|
|
564
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
565
|
+
upload_protocol?: string;
|
|
566
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
567
|
+
uploadType?: string;
|
|
568
|
+
/** Request body */
|
|
569
|
+
resource: UserWorkloadsConfigMap;
|
|
570
|
+
}): Request<UserWorkloadsConfigMap>;
|
|
571
|
+
create(
|
|
572
|
+
request: {
|
|
573
|
+
/** V1 error format. */
|
|
574
|
+
'$.xgafv'?: string;
|
|
575
|
+
/** OAuth access token. */
|
|
576
|
+
access_token?: string;
|
|
577
|
+
/** Data format for response. */
|
|
578
|
+
alt?: string;
|
|
579
|
+
/** JSONP */
|
|
580
|
+
callback?: string;
|
|
581
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
582
|
+
fields?: string;
|
|
583
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
584
|
+
key?: string;
|
|
585
|
+
/** OAuth 2.0 token for the current user. */
|
|
586
|
+
oauth_token?: string;
|
|
587
|
+
/** Required. The environment name to create a ConfigMap for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
588
|
+
parent: string;
|
|
589
|
+
/** Returns response with indentations and line breaks. */
|
|
590
|
+
prettyPrint?: boolean;
|
|
591
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
592
|
+
quotaUser?: string;
|
|
593
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
594
|
+
upload_protocol?: string;
|
|
595
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
596
|
+
uploadType?: string;
|
|
597
|
+
},
|
|
598
|
+
body: UserWorkloadsConfigMap
|
|
599
|
+
): Request<UserWorkloadsConfigMap>;
|
|
600
|
+
/** Deletes a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
601
|
+
delete(request?: {
|
|
602
|
+
/** V1 error format. */
|
|
603
|
+
'$.xgafv'?: string;
|
|
604
|
+
/** OAuth access token. */
|
|
605
|
+
access_token?: string;
|
|
606
|
+
/** Data format for response. */
|
|
607
|
+
alt?: string;
|
|
608
|
+
/** JSONP */
|
|
609
|
+
callback?: string;
|
|
610
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
611
|
+
fields?: string;
|
|
612
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
613
|
+
key?: string;
|
|
614
|
+
/** Required. The ConfigMap to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" */
|
|
615
|
+
name: string;
|
|
616
|
+
/** OAuth 2.0 token for the current user. */
|
|
617
|
+
oauth_token?: string;
|
|
618
|
+
/** Returns response with indentations and line breaks. */
|
|
619
|
+
prettyPrint?: boolean;
|
|
620
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
621
|
+
quotaUser?: string;
|
|
622
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
623
|
+
upload_protocol?: string;
|
|
624
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
625
|
+
uploadType?: string;
|
|
626
|
+
}): Request<{}>;
|
|
627
|
+
/** Gets an existing user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
628
|
+
get(request?: {
|
|
629
|
+
/** V1 error format. */
|
|
630
|
+
'$.xgafv'?: string;
|
|
631
|
+
/** OAuth access token. */
|
|
632
|
+
access_token?: string;
|
|
633
|
+
/** Data format for response. */
|
|
634
|
+
alt?: string;
|
|
635
|
+
/** JSONP */
|
|
636
|
+
callback?: string;
|
|
637
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
638
|
+
fields?: string;
|
|
639
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
640
|
+
key?: string;
|
|
641
|
+
/** Required. The resource name of the ConfigMap to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" */
|
|
642
|
+
name: string;
|
|
643
|
+
/** OAuth 2.0 token for the current user. */
|
|
644
|
+
oauth_token?: string;
|
|
645
|
+
/** Returns response with indentations and line breaks. */
|
|
646
|
+
prettyPrint?: boolean;
|
|
647
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
648
|
+
quotaUser?: string;
|
|
649
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
650
|
+
upload_protocol?: string;
|
|
651
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
652
|
+
uploadType?: string;
|
|
653
|
+
}): Request<UserWorkloadsConfigMap>;
|
|
654
|
+
/** Lists user workloads ConfigMaps. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
655
|
+
list(request?: {
|
|
656
|
+
/** V1 error format. */
|
|
657
|
+
'$.xgafv'?: string;
|
|
658
|
+
/** OAuth access token. */
|
|
659
|
+
access_token?: string;
|
|
660
|
+
/** Data format for response. */
|
|
661
|
+
alt?: string;
|
|
662
|
+
/** JSONP */
|
|
663
|
+
callback?: string;
|
|
664
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
665
|
+
fields?: string;
|
|
666
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
667
|
+
key?: string;
|
|
668
|
+
/** OAuth 2.0 token for the current user. */
|
|
669
|
+
oauth_token?: string;
|
|
670
|
+
/** Optional. The maximum number of ConfigMaps to return. */
|
|
671
|
+
pageSize?: number;
|
|
672
|
+
/** Optional. The next_page_token value returned from a previous List request, if any. */
|
|
673
|
+
pageToken?: string;
|
|
674
|
+
/** Required. List ConfigMaps in the given environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
675
|
+
parent: string;
|
|
676
|
+
/** Returns response with indentations and line breaks. */
|
|
677
|
+
prettyPrint?: boolean;
|
|
678
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
679
|
+
quotaUser?: string;
|
|
680
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
681
|
+
upload_protocol?: string;
|
|
682
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
683
|
+
uploadType?: string;
|
|
684
|
+
}): Request<ListUserWorkloadsConfigMapsResponse>;
|
|
685
|
+
/** Updates a user workloads ConfigMap. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
686
|
+
update(request: {
|
|
687
|
+
/** V1 error format. */
|
|
688
|
+
'$.xgafv'?: string;
|
|
689
|
+
/** OAuth access token. */
|
|
690
|
+
access_token?: string;
|
|
691
|
+
/** Data format for response. */
|
|
692
|
+
alt?: string;
|
|
693
|
+
/** JSONP */
|
|
694
|
+
callback?: string;
|
|
695
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
696
|
+
fields?: string;
|
|
697
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
698
|
+
key?: string;
|
|
699
|
+
/** Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" */
|
|
700
|
+
name: string;
|
|
701
|
+
/** OAuth 2.0 token for the current user. */
|
|
702
|
+
oauth_token?: string;
|
|
703
|
+
/** Returns response with indentations and line breaks. */
|
|
704
|
+
prettyPrint?: boolean;
|
|
705
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
706
|
+
quotaUser?: string;
|
|
707
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
708
|
+
upload_protocol?: string;
|
|
709
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
710
|
+
uploadType?: string;
|
|
711
|
+
/** Request body */
|
|
712
|
+
resource: UserWorkloadsConfigMap;
|
|
713
|
+
}): Request<UserWorkloadsConfigMap>;
|
|
714
|
+
update(
|
|
715
|
+
request: {
|
|
716
|
+
/** V1 error format. */
|
|
717
|
+
'$.xgafv'?: string;
|
|
718
|
+
/** OAuth access token. */
|
|
719
|
+
access_token?: string;
|
|
720
|
+
/** Data format for response. */
|
|
721
|
+
alt?: string;
|
|
722
|
+
/** JSONP */
|
|
723
|
+
callback?: string;
|
|
724
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
725
|
+
fields?: string;
|
|
726
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
727
|
+
key?: string;
|
|
728
|
+
/** Identifier. The resource name of the ConfigMap, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" */
|
|
729
|
+
name: string;
|
|
730
|
+
/** OAuth 2.0 token for the current user. */
|
|
731
|
+
oauth_token?: string;
|
|
732
|
+
/** Returns response with indentations and line breaks. */
|
|
733
|
+
prettyPrint?: boolean;
|
|
734
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
735
|
+
quotaUser?: string;
|
|
736
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
737
|
+
upload_protocol?: string;
|
|
738
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
739
|
+
uploadType?: string;
|
|
740
|
+
},
|
|
741
|
+
body: UserWorkloadsConfigMap
|
|
742
|
+
): Request<UserWorkloadsConfigMap>;
|
|
743
|
+
}
|
|
744
|
+
interface UserWorkloadsSecretsResource {
|
|
745
|
+
/** Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
746
|
+
create(request: {
|
|
747
|
+
/** V1 error format. */
|
|
748
|
+
'$.xgafv'?: string;
|
|
749
|
+
/** OAuth access token. */
|
|
750
|
+
access_token?: string;
|
|
751
|
+
/** Data format for response. */
|
|
752
|
+
alt?: string;
|
|
753
|
+
/** JSONP */
|
|
754
|
+
callback?: string;
|
|
755
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
756
|
+
fields?: string;
|
|
757
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
758
|
+
key?: string;
|
|
759
|
+
/** OAuth 2.0 token for the current user. */
|
|
760
|
+
oauth_token?: string;
|
|
761
|
+
/** Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
762
|
+
parent: string;
|
|
763
|
+
/** Returns response with indentations and line breaks. */
|
|
764
|
+
prettyPrint?: boolean;
|
|
765
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
766
|
+
quotaUser?: string;
|
|
767
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
768
|
+
upload_protocol?: string;
|
|
769
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
770
|
+
uploadType?: string;
|
|
771
|
+
/** Request body */
|
|
772
|
+
resource: UserWorkloadsSecret;
|
|
773
|
+
}): Request<UserWorkloadsSecret>;
|
|
774
|
+
create(
|
|
775
|
+
request: {
|
|
776
|
+
/** V1 error format. */
|
|
777
|
+
'$.xgafv'?: string;
|
|
778
|
+
/** OAuth access token. */
|
|
779
|
+
access_token?: string;
|
|
780
|
+
/** Data format for response. */
|
|
781
|
+
alt?: string;
|
|
782
|
+
/** JSONP */
|
|
783
|
+
callback?: string;
|
|
784
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
785
|
+
fields?: string;
|
|
786
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
787
|
+
key?: string;
|
|
788
|
+
/** OAuth 2.0 token for the current user. */
|
|
789
|
+
oauth_token?: string;
|
|
790
|
+
/** Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
791
|
+
parent: string;
|
|
792
|
+
/** Returns response with indentations and line breaks. */
|
|
793
|
+
prettyPrint?: boolean;
|
|
794
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
795
|
+
quotaUser?: string;
|
|
796
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
797
|
+
upload_protocol?: string;
|
|
798
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
799
|
+
uploadType?: string;
|
|
800
|
+
},
|
|
801
|
+
body: UserWorkloadsSecret
|
|
802
|
+
): Request<UserWorkloadsSecret>;
|
|
803
|
+
/** Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
804
|
+
delete(request?: {
|
|
805
|
+
/** V1 error format. */
|
|
806
|
+
'$.xgafv'?: string;
|
|
807
|
+
/** OAuth access token. */
|
|
808
|
+
access_token?: string;
|
|
809
|
+
/** Data format for response. */
|
|
810
|
+
alt?: string;
|
|
811
|
+
/** JSONP */
|
|
812
|
+
callback?: string;
|
|
813
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
814
|
+
fields?: string;
|
|
815
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
816
|
+
key?: string;
|
|
817
|
+
/** Required. The Secret to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" */
|
|
818
|
+
name: string;
|
|
819
|
+
/** OAuth 2.0 token for the current user. */
|
|
820
|
+
oauth_token?: string;
|
|
821
|
+
/** Returns response with indentations and line breaks. */
|
|
822
|
+
prettyPrint?: boolean;
|
|
823
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
824
|
+
quotaUser?: string;
|
|
825
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
826
|
+
upload_protocol?: string;
|
|
827
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
828
|
+
uploadType?: string;
|
|
829
|
+
}): Request<{}>;
|
|
830
|
+
/** 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-*.*.* and newer. */
|
|
831
|
+
get(request?: {
|
|
832
|
+
/** V1 error format. */
|
|
833
|
+
'$.xgafv'?: string;
|
|
834
|
+
/** OAuth access token. */
|
|
835
|
+
access_token?: string;
|
|
836
|
+
/** Data format for response. */
|
|
837
|
+
alt?: string;
|
|
838
|
+
/** JSONP */
|
|
839
|
+
callback?: string;
|
|
840
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
841
|
+
fields?: string;
|
|
842
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
843
|
+
key?: string;
|
|
844
|
+
/** Required. The resource name of the Secret to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" */
|
|
845
|
+
name: string;
|
|
846
|
+
/** OAuth 2.0 token for the current user. */
|
|
847
|
+
oauth_token?: string;
|
|
848
|
+
/** Returns response with indentations and line breaks. */
|
|
849
|
+
prettyPrint?: boolean;
|
|
850
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
851
|
+
quotaUser?: string;
|
|
852
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
853
|
+
upload_protocol?: string;
|
|
854
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
855
|
+
uploadType?: string;
|
|
856
|
+
}): Request<UserWorkloadsSecret>;
|
|
857
|
+
/** Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
858
|
+
list(request?: {
|
|
859
|
+
/** V1 error format. */
|
|
860
|
+
'$.xgafv'?: string;
|
|
861
|
+
/** OAuth access token. */
|
|
862
|
+
access_token?: string;
|
|
863
|
+
/** Data format for response. */
|
|
864
|
+
alt?: string;
|
|
865
|
+
/** JSONP */
|
|
866
|
+
callback?: string;
|
|
867
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
868
|
+
fields?: string;
|
|
869
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
870
|
+
key?: string;
|
|
871
|
+
/** OAuth 2.0 token for the current user. */
|
|
872
|
+
oauth_token?: string;
|
|
873
|
+
/** Optional. The maximum number of Secrets to return. */
|
|
874
|
+
pageSize?: number;
|
|
875
|
+
/** Optional. The next_page_token value returned from a previous List request, if any. */
|
|
876
|
+
pageToken?: string;
|
|
877
|
+
/** Required. List Secrets in the given environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
878
|
+
parent: string;
|
|
879
|
+
/** Returns response with indentations and line breaks. */
|
|
880
|
+
prettyPrint?: boolean;
|
|
881
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
882
|
+
quotaUser?: string;
|
|
883
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
884
|
+
upload_protocol?: string;
|
|
885
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
886
|
+
uploadType?: string;
|
|
887
|
+
}): Request<ListUserWorkloadsSecretsResponse>;
|
|
888
|
+
/** Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. */
|
|
889
|
+
update(request: {
|
|
890
|
+
/** V1 error format. */
|
|
891
|
+
'$.xgafv'?: string;
|
|
892
|
+
/** OAuth access token. */
|
|
893
|
+
access_token?: string;
|
|
894
|
+
/** Data format for response. */
|
|
895
|
+
alt?: string;
|
|
896
|
+
/** JSONP */
|
|
897
|
+
callback?: string;
|
|
898
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
899
|
+
fields?: string;
|
|
900
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
901
|
+
key?: string;
|
|
902
|
+
/** Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" */
|
|
903
|
+
name: string;
|
|
904
|
+
/** OAuth 2.0 token for the current user. */
|
|
905
|
+
oauth_token?: string;
|
|
906
|
+
/** Returns response with indentations and line breaks. */
|
|
907
|
+
prettyPrint?: boolean;
|
|
908
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
909
|
+
quotaUser?: string;
|
|
910
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
911
|
+
upload_protocol?: string;
|
|
912
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
913
|
+
uploadType?: string;
|
|
914
|
+
/** Request body */
|
|
915
|
+
resource: UserWorkloadsSecret;
|
|
916
|
+
}): Request<UserWorkloadsSecret>;
|
|
917
|
+
update(
|
|
918
|
+
request: {
|
|
919
|
+
/** V1 error format. */
|
|
920
|
+
'$.xgafv'?: string;
|
|
921
|
+
/** OAuth access token. */
|
|
922
|
+
access_token?: string;
|
|
923
|
+
/** Data format for response. */
|
|
924
|
+
alt?: string;
|
|
925
|
+
/** JSONP */
|
|
926
|
+
callback?: string;
|
|
927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
928
|
+
fields?: string;
|
|
929
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
930
|
+
key?: string;
|
|
931
|
+
/** Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" */
|
|
932
|
+
name: string;
|
|
933
|
+
/** OAuth 2.0 token for the current user. */
|
|
934
|
+
oauth_token?: string;
|
|
935
|
+
/** Returns response with indentations and line breaks. */
|
|
936
|
+
prettyPrint?: boolean;
|
|
937
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
938
|
+
quotaUser?: string;
|
|
939
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
940
|
+
upload_protocol?: string;
|
|
941
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
942
|
+
uploadType?: string;
|
|
943
|
+
},
|
|
944
|
+
body: UserWorkloadsSecret
|
|
945
|
+
): Request<UserWorkloadsSecret>;
|
|
946
|
+
}
|
|
517
947
|
interface WorkloadsResource {
|
|
518
948
|
/** 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-3.*.*-airflow-*.*.* and newer. */
|
|
519
949
|
list(request?: {
|
|
@@ -1130,6 +1560,8 @@ declare namespace gapi.client {
|
|
|
1130
1560
|
},
|
|
1131
1561
|
body: StopAirflowCommandRequest
|
|
1132
1562
|
): Request<StopAirflowCommandResponse>;
|
|
1563
|
+
userWorkloadsConfigMaps: UserWorkloadsConfigMapsResource;
|
|
1564
|
+
userWorkloadsSecrets: UserWorkloadsSecretsResource;
|
|
1133
1565
|
workloads: WorkloadsResource;
|
|
1134
1566
|
}
|
|
1135
1567
|
interface ImageVersionsResource {
|