@maxim_mazurok/gapi.client.privateca-v1 0.1.20260304 → 0.2.20260304

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 +206 -136
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -48,7 +48,16 @@ declare namespace gapi.client {
48
48
  /** Object ID for an attribute type of an attribute and value pair. */
49
49
  objectId?: ObjectId;
50
50
  /** The attribute type of the attribute and value pair. */
51
- type?: string;
51
+ type?:
52
+ | 'ATTRIBUTE_TYPE_UNSPECIFIED'
53
+ | 'COMMON_NAME'
54
+ | 'COUNTRY_CODE'
55
+ | 'ORGANIZATION'
56
+ | 'ORGANIZATIONAL_UNIT'
57
+ | 'LOCALITY'
58
+ | 'PROVINCE'
59
+ | 'STREET_ADDRESS'
60
+ | 'POSTAL_CODE';
52
61
  /** The value for the attribute type. */
53
62
  value?: string;
54
63
  }
@@ -62,7 +71,11 @@ declare namespace gapi.client {
62
71
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
63
72
  exemptedMembers?: string[];
64
73
  /** The log type that this config enables. */
65
- logType?: string;
74
+ logType?:
75
+ | 'LOG_TYPE_UNSPECIFIED'
76
+ | 'ADMIN_READ'
77
+ | 'DATA_WRITE'
78
+ | 'DATA_READ';
66
79
  }
67
80
  interface Binding {
68
81
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
@@ -91,7 +104,7 @@ declare namespace gapi.client {
91
104
  /** Optional. The PublishingOptions to follow when issuing Certificates from any CertificateAuthority in this CaPool. */
92
105
  publishingOptions?: PublishingOptions;
93
106
  /** Required. Immutable. The Tier of this CaPool. */
94
- tier?: string;
107
+ tier?: 'TIER_UNSPECIFIED' | 'ENTERPRISE' | 'DEVOPS';
95
108
  }
96
109
  interface CertChain {
97
110
  /** The certificates that form the CA chain, from leaf to root order. */
@@ -123,7 +136,11 @@ declare namespace gapi.client {
123
136
  /** Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present. */
124
137
  revocationDetails?: RevocationDetails;
125
138
  /** Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used. */
126
- subjectMode?: string;
139
+ subjectMode?:
140
+ | 'SUBJECT_REQUEST_MODE_UNSPECIFIED'
141
+ | 'DEFAULT'
142
+ | 'RDN_SEQUENCE'
143
+ | 'REFLECTED_SPIFFE';
127
144
  /** Output only. The time at which this Certificate was updated. */
128
145
  updateTime?: string;
129
146
  }
@@ -157,13 +174,19 @@ declare namespace gapi.client {
157
174
  /** Output only. Reserved for future use. */
158
175
  satisfiesPzs?: boolean;
159
176
  /** Output only. The State for this CertificateAuthority. */
160
- state?: string;
177
+ state?:
178
+ | 'STATE_UNSPECIFIED'
179
+ | 'ENABLED'
180
+ | 'DISABLED'
181
+ | 'STAGED'
182
+ | 'AWAITING_USER_ACTIVATION'
183
+ | 'DELETED';
161
184
  /** Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate. */
162
185
  subordinateConfig?: SubordinateConfig;
163
186
  /** Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority. */
164
- tier?: string;
187
+ tier?: 'TIER_UNSPECIFIED' | 'ENTERPRISE' | 'DEVOPS';
165
188
  /** Required. Immutable. The Type of this CertificateAuthority. */
166
- type?: string;
189
+ type?: 'TYPE_UNSPECIFIED' | 'SELF_SIGNED' | 'SUBORDINATE';
167
190
  /** Output only. The time at which this CertificateAuthority was last updated. */
168
191
  updateTime?: string;
169
192
  /** Optional. User-defined URLs for CA certificate and CRLs. The service does not publish content to these URLs. It is up to the user to mirror content to these URLs. */
@@ -207,7 +230,14 @@ declare namespace gapi.client {
207
230
  /** Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions. */
208
231
  additionalExtensions?: ObjectId[];
209
232
  /** Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions. */
210
- knownExtensions?: string[];
233
+ knownExtensions?:
234
+ | 'KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED'
235
+ | 'BASE_KEY_USAGE'
236
+ | 'EXTENDED_KEY_USAGE'
237
+ | 'CA_OPTIONS'
238
+ | 'POLICY_IDS'
239
+ | 'AIA_OCSP_SERVERS'
240
+ | 'NAME_CONSTRAINTS'[];
211
241
  }
212
242
  interface CertificateFingerprint {
213
243
  /** The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate. */
@@ -239,7 +269,7 @@ declare namespace gapi.client {
239
269
  /** Output only. The CRL sequence number that appears in pem_crl. */
240
270
  sequenceNumber?: string;
241
271
  /** Output only. The State for this CertificateRevocationList. */
242
- state?: string;
272
+ state?: 'STATE_UNSPECIFIED' | 'ACTIVE' | 'SUPERSEDED';
243
273
  /** Output only. The time at which this CertificateRevocationList was updated. */
244
274
  updateTime?: string;
245
275
  }
@@ -271,7 +301,11 @@ declare namespace gapi.client {
271
301
  }
272
302
  interface EcKeyType {
273
303
  /** Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed. */
274
- signatureAlgorithm?: string;
304
+ signatureAlgorithm?:
305
+ | 'EC_SIGNATURE_ALGORITHM_UNSPECIFIED'
306
+ | 'ECDSA_P256'
307
+ | 'ECDSA_P384'
308
+ | 'EDDSA_25519';
275
309
  }
276
310
  interface Empty {}
277
311
  interface EnableCertificateAuthorityRequest {
@@ -374,7 +408,16 @@ declare namespace gapi.client {
374
408
  }
375
409
  interface KeyVersionSpec {
376
410
  /** The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`. */
377
- algorithm?: string;
411
+ algorithm?:
412
+ | 'SIGN_HASH_ALGORITHM_UNSPECIFIED'
413
+ | 'RSA_PSS_2048_SHA256'
414
+ | 'RSA_PSS_3072_SHA256'
415
+ | 'RSA_PSS_4096_SHA256'
416
+ | 'RSA_PKCS1_2048_SHA256'
417
+ | 'RSA_PKCS1_3072_SHA256'
418
+ | 'RSA_PKCS1_4096_SHA256'
419
+ | 'EC_P256_SHA256'
420
+ | 'EC_P384_SHA384';
378
421
  /** The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*‍/locations/*‍/keyRings/*‍/cryptoKeys/*‍/cryptoKeyVersions/*`. This option enables full flexibility in the key's capabilities and properties. */
379
422
  cloudKmsKeyVersion?: string;
380
423
  }
@@ -508,13 +551,13 @@ declare namespace gapi.client {
508
551
  }
509
552
  interface PublicKey {
510
553
  /** Required. The format of the public key. */
511
- format?: string;
554
+ format?: 'KEY_FORMAT_UNSPECIFIED' | 'PEM';
512
555
  /** Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field. */
513
556
  key?: string;
514
557
  }
515
558
  interface PublishingOptions {
516
559
  /** Optional. Specifies the encoding format of each CertificateAuthority resource's CA certificate and CRLs. If this is omitted, CA certificates and CRLs will be published in PEM. */
517
- encodingFormat?: string;
560
+ encodingFormat?: 'ENCODING_FORMAT_UNSPECIFIED' | 'PEM' | 'DER';
518
561
  /** Optional. When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access" X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding X.509 extension will not be written in issued certificates. */
519
562
  publishCaCert?: boolean;
520
563
  /** Optional. When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are also rebuilt shortly after a certificate is revoked. */
@@ -526,13 +569,31 @@ declare namespace gapi.client {
526
569
  }
527
570
  interface RevocationDetails {
528
571
  /** Indicates why a Certificate was revoked. */
529
- revocationState?: string;
572
+ revocationState?:
573
+ | 'REVOCATION_REASON_UNSPECIFIED'
574
+ | 'KEY_COMPROMISE'
575
+ | 'CERTIFICATE_AUTHORITY_COMPROMISE'
576
+ | 'AFFILIATION_CHANGED'
577
+ | 'SUPERSEDED'
578
+ | 'CESSATION_OF_OPERATION'
579
+ | 'CERTIFICATE_HOLD'
580
+ | 'PRIVILEGE_WITHDRAWN'
581
+ | 'ATTRIBUTE_AUTHORITY_COMPROMISE';
530
582
  /** The time at which this Certificate was revoked. */
531
583
  revocationTime?: string;
532
584
  }
533
585
  interface RevokeCertificateRequest {
534
586
  /** Required. The RevocationReason for revoking this certificate. */
535
- reason?: string;
587
+ reason?:
588
+ | 'REVOCATION_REASON_UNSPECIFIED'
589
+ | 'KEY_COMPROMISE'
590
+ | 'CERTIFICATE_AUTHORITY_COMPROMISE'
591
+ | 'AFFILIATION_CHANGED'
592
+ | 'SUPERSEDED'
593
+ | 'CESSATION_OF_OPERATION'
594
+ | 'CERTIFICATE_HOLD'
595
+ | 'PRIVILEGE_WITHDRAWN'
596
+ | 'ATTRIBUTE_AUTHORITY_COMPROMISE';
536
597
  /** Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
537
598
  requestId?: string;
538
599
  }
@@ -542,7 +603,16 @@ declare namespace gapi.client {
542
603
  /** The serial number of the Certificate. */
543
604
  hexSerialNumber?: string;
544
605
  /** The reason the Certificate was revoked. */
545
- revocationReason?: string;
606
+ revocationReason?:
607
+ | 'REVOCATION_REASON_UNSPECIFIED'
608
+ | 'KEY_COMPROMISE'
609
+ | 'CERTIFICATE_AUTHORITY_COMPROMISE'
610
+ | 'AFFILIATION_CHANGED'
611
+ | 'SUPERSEDED'
612
+ | 'CESSATION_OF_OPERATION'
613
+ | 'CERTIFICATE_HOLD'
614
+ | 'PRIVILEGE_WITHDRAWN'
615
+ | 'ATTRIBUTE_AUTHORITY_COMPROMISE';
546
616
  }
547
617
  interface RsaKeyType {
548
618
  /** Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes. */
@@ -670,11 +740,11 @@ declare namespace gapi.client {
670
740
  /** Returns a CertificateRevocationList. */
671
741
  get(request?: {
672
742
  /** V1 error format. */
673
- '$.xgafv'?: string;
743
+ '$.xgafv'?: '1' | '2';
674
744
  /** OAuth access token. */
675
745
  access_token?: string;
676
746
  /** Data format for response. */
677
- alt?: string;
747
+ alt?: 'json' | 'media' | 'proto';
678
748
  /** JSONP */
679
749
  callback?: string;
680
750
  /** Selector specifying which fields to include in a partial response. */
@@ -697,11 +767,11 @@ declare namespace gapi.client {
697
767
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
698
768
  getIamPolicy(request?: {
699
769
  /** V1 error format. */
700
- '$.xgafv'?: string;
770
+ '$.xgafv'?: '1' | '2';
701
771
  /** OAuth access token. */
702
772
  access_token?: string;
703
773
  /** Data format for response. */
704
- alt?: string;
774
+ alt?: 'json' | 'media' | 'proto';
705
775
  /** JSONP */
706
776
  callback?: string;
707
777
  /** Selector specifying which fields to include in a partial response. */
@@ -726,11 +796,11 @@ declare namespace gapi.client {
726
796
  /** Lists CertificateRevocationLists. */
727
797
  list(request?: {
728
798
  /** V1 error format. */
729
- '$.xgafv'?: string;
799
+ '$.xgafv'?: '1' | '2';
730
800
  /** OAuth access token. */
731
801
  access_token?: string;
732
802
  /** Data format for response. */
733
- alt?: string;
803
+ alt?: 'json' | 'media' | 'proto';
734
804
  /** JSONP */
735
805
  callback?: string;
736
806
  /** Selector specifying which fields to include in a partial response. */
@@ -761,11 +831,11 @@ declare namespace gapi.client {
761
831
  /** Update a CertificateRevocationList. */
762
832
  patch(request: {
763
833
  /** V1 error format. */
764
- '$.xgafv'?: string;
834
+ '$.xgafv'?: '1' | '2';
765
835
  /** OAuth access token. */
766
836
  access_token?: string;
767
837
  /** Data format for response. */
768
- alt?: string;
838
+ alt?: 'json' | 'media' | 'proto';
769
839
  /** JSONP */
770
840
  callback?: string;
771
841
  /** Selector specifying which fields to include in a partial response. */
@@ -794,11 +864,11 @@ declare namespace gapi.client {
794
864
  patch(
795
865
  request: {
796
866
  /** V1 error format. */
797
- '$.xgafv'?: string;
867
+ '$.xgafv'?: '1' | '2';
798
868
  /** OAuth access token. */
799
869
  access_token?: string;
800
870
  /** Data format for response. */
801
- alt?: string;
871
+ alt?: 'json' | 'media' | 'proto';
802
872
  /** JSONP */
803
873
  callback?: string;
804
874
  /** Selector specifying which fields to include in a partial response. */
@@ -828,11 +898,11 @@ declare namespace gapi.client {
828
898
  setIamPolicy(
829
899
  request: {
830
900
  /** V1 error format. */
831
- '$.xgafv'?: string;
901
+ '$.xgafv'?: '1' | '2';
832
902
  /** OAuth access token. */
833
903
  access_token?: string;
834
904
  /** Data format for response. */
835
- alt?: string;
905
+ alt?: 'json' | 'media' | 'proto';
836
906
  /** JSONP */
837
907
  callback?: string;
838
908
  /** Selector specifying which fields to include in a partial response. */
@@ -858,11 +928,11 @@ declare namespace gapi.client {
858
928
  testIamPermissions(
859
929
  request: {
860
930
  /** V1 error format. */
861
- '$.xgafv'?: string;
931
+ '$.xgafv'?: '1' | '2';
862
932
  /** OAuth access token. */
863
933
  access_token?: string;
864
934
  /** Data format for response. */
865
- alt?: string;
935
+ alt?: 'json' | 'media' | 'proto';
866
936
  /** JSONP */
867
937
  callback?: string;
868
938
  /** Selector specifying which fields to include in a partial response. */
@@ -889,11 +959,11 @@ declare namespace gapi.client {
889
959
  /** Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process. */
890
960
  activate(request: {
891
961
  /** V1 error format. */
892
- '$.xgafv'?: string;
962
+ '$.xgafv'?: '1' | '2';
893
963
  /** OAuth access token. */
894
964
  access_token?: string;
895
965
  /** Data format for response. */
896
- alt?: string;
966
+ alt?: 'json' | 'media' | 'proto';
897
967
  /** JSONP */
898
968
  callback?: string;
899
969
  /** Selector specifying which fields to include in a partial response. */
@@ -918,11 +988,11 @@ declare namespace gapi.client {
918
988
  activate(
919
989
  request: {
920
990
  /** V1 error format. */
921
- '$.xgafv'?: string;
991
+ '$.xgafv'?: '1' | '2';
922
992
  /** OAuth access token. */
923
993
  access_token?: string;
924
994
  /** Data format for response. */
925
- alt?: string;
995
+ alt?: 'json' | 'media' | 'proto';
926
996
  /** JSONP */
927
997
  callback?: string;
928
998
  /** Selector specifying which fields to include in a partial response. */
@@ -947,11 +1017,11 @@ declare namespace gapi.client {
947
1017
  /** Create a new CertificateAuthority in a given Project and Location. */
948
1018
  create(request: {
949
1019
  /** V1 error format. */
950
- '$.xgafv'?: string;
1020
+ '$.xgafv'?: '1' | '2';
951
1021
  /** OAuth access token. */
952
1022
  access_token?: string;
953
1023
  /** Data format for response. */
954
- alt?: string;
1024
+ alt?: 'json' | 'media' | 'proto';
955
1025
  /** JSONP */
956
1026
  callback?: string;
957
1027
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -980,11 +1050,11 @@ declare namespace gapi.client {
980
1050
  create(
981
1051
  request: {
982
1052
  /** V1 error format. */
983
- '$.xgafv'?: string;
1053
+ '$.xgafv'?: '1' | '2';
984
1054
  /** OAuth access token. */
985
1055
  access_token?: string;
986
1056
  /** Data format for response. */
987
- alt?: string;
1057
+ alt?: 'json' | 'media' | 'proto';
988
1058
  /** JSONP */
989
1059
  callback?: string;
990
1060
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -1013,11 +1083,11 @@ declare namespace gapi.client {
1013
1083
  /** Delete a CertificateAuthority. */
1014
1084
  delete(request?: {
1015
1085
  /** V1 error format. */
1016
- '$.xgafv'?: string;
1086
+ '$.xgafv'?: '1' | '2';
1017
1087
  /** OAuth access token. */
1018
1088
  access_token?: string;
1019
1089
  /** Data format for response. */
1020
- alt?: string;
1090
+ alt?: 'json' | 'media' | 'proto';
1021
1091
  /** JSONP */
1022
1092
  callback?: string;
1023
1093
  /** Selector specifying which fields to include in a partial response. */
@@ -1048,11 +1118,11 @@ declare namespace gapi.client {
1048
1118
  /** Disable a CertificateAuthority. */
1049
1119
  disable(request: {
1050
1120
  /** V1 error format. */
1051
- '$.xgafv'?: string;
1121
+ '$.xgafv'?: '1' | '2';
1052
1122
  /** OAuth access token. */
1053
1123
  access_token?: string;
1054
1124
  /** Data format for response. */
1055
- alt?: string;
1125
+ alt?: 'json' | 'media' | 'proto';
1056
1126
  /** JSONP */
1057
1127
  callback?: string;
1058
1128
  /** Selector specifying which fields to include in a partial response. */
@@ -1077,11 +1147,11 @@ declare namespace gapi.client {
1077
1147
  disable(
1078
1148
  request: {
1079
1149
  /** V1 error format. */
1080
- '$.xgafv'?: string;
1150
+ '$.xgafv'?: '1' | '2';
1081
1151
  /** OAuth access token. */
1082
1152
  access_token?: string;
1083
1153
  /** Data format for response. */
1084
- alt?: string;
1154
+ alt?: 'json' | 'media' | 'proto';
1085
1155
  /** JSONP */
1086
1156
  callback?: string;
1087
1157
  /** Selector specifying which fields to include in a partial response. */
@@ -1106,11 +1176,11 @@ declare namespace gapi.client {
1106
1176
  /** Enable a CertificateAuthority. */
1107
1177
  enable(request: {
1108
1178
  /** V1 error format. */
1109
- '$.xgafv'?: string;
1179
+ '$.xgafv'?: '1' | '2';
1110
1180
  /** OAuth access token. */
1111
1181
  access_token?: string;
1112
1182
  /** Data format for response. */
1113
- alt?: string;
1183
+ alt?: 'json' | 'media' | 'proto';
1114
1184
  /** JSONP */
1115
1185
  callback?: string;
1116
1186
  /** Selector specifying which fields to include in a partial response. */
@@ -1135,11 +1205,11 @@ declare namespace gapi.client {
1135
1205
  enable(
1136
1206
  request: {
1137
1207
  /** V1 error format. */
1138
- '$.xgafv'?: string;
1208
+ '$.xgafv'?: '1' | '2';
1139
1209
  /** OAuth access token. */
1140
1210
  access_token?: string;
1141
1211
  /** Data format for response. */
1142
- alt?: string;
1212
+ alt?: 'json' | 'media' | 'proto';
1143
1213
  /** JSONP */
1144
1214
  callback?: string;
1145
1215
  /** Selector specifying which fields to include in a partial response. */
@@ -1164,11 +1234,11 @@ declare namespace gapi.client {
1164
1234
  /** Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority. */
1165
1235
  fetch(request?: {
1166
1236
  /** V1 error format. */
1167
- '$.xgafv'?: string;
1237
+ '$.xgafv'?: '1' | '2';
1168
1238
  /** OAuth access token. */
1169
1239
  access_token?: string;
1170
1240
  /** Data format for response. */
1171
- alt?: string;
1241
+ alt?: 'json' | 'media' | 'proto';
1172
1242
  /** JSONP */
1173
1243
  callback?: string;
1174
1244
  /** Selector specifying which fields to include in a partial response. */
@@ -1191,11 +1261,11 @@ declare namespace gapi.client {
1191
1261
  /** Returns a CertificateAuthority. */
1192
1262
  get(request?: {
1193
1263
  /** V1 error format. */
1194
- '$.xgafv'?: string;
1264
+ '$.xgafv'?: '1' | '2';
1195
1265
  /** OAuth access token. */
1196
1266
  access_token?: string;
1197
1267
  /** Data format for response. */
1198
- alt?: string;
1268
+ alt?: 'json' | 'media' | 'proto';
1199
1269
  /** JSONP */
1200
1270
  callback?: string;
1201
1271
  /** Selector specifying which fields to include in a partial response. */
@@ -1218,11 +1288,11 @@ declare namespace gapi.client {
1218
1288
  /** Lists CertificateAuthorities. */
1219
1289
  list(request?: {
1220
1290
  /** V1 error format. */
1221
- '$.xgafv'?: string;
1291
+ '$.xgafv'?: '1' | '2';
1222
1292
  /** OAuth access token. */
1223
1293
  access_token?: string;
1224
1294
  /** Data format for response. */
1225
- alt?: string;
1295
+ alt?: 'json' | 'media' | 'proto';
1226
1296
  /** JSONP */
1227
1297
  callback?: string;
1228
1298
  /** Selector specifying which fields to include in a partial response. */
@@ -1253,11 +1323,11 @@ declare namespace gapi.client {
1253
1323
  /** Update a CertificateAuthority. */
1254
1324
  patch(request: {
1255
1325
  /** V1 error format. */
1256
- '$.xgafv'?: string;
1326
+ '$.xgafv'?: '1' | '2';
1257
1327
  /** OAuth access token. */
1258
1328
  access_token?: string;
1259
1329
  /** Data format for response. */
1260
- alt?: string;
1330
+ alt?: 'json' | 'media' | 'proto';
1261
1331
  /** JSONP */
1262
1332
  callback?: string;
1263
1333
  /** Selector specifying which fields to include in a partial response. */
@@ -1286,11 +1356,11 @@ declare namespace gapi.client {
1286
1356
  patch(
1287
1357
  request: {
1288
1358
  /** V1 error format. */
1289
- '$.xgafv'?: string;
1359
+ '$.xgafv'?: '1' | '2';
1290
1360
  /** OAuth access token. */
1291
1361
  access_token?: string;
1292
1362
  /** Data format for response. */
1293
- alt?: string;
1363
+ alt?: 'json' | 'media' | 'proto';
1294
1364
  /** JSONP */
1295
1365
  callback?: string;
1296
1366
  /** Selector specifying which fields to include in a partial response. */
@@ -1319,11 +1389,11 @@ declare namespace gapi.client {
1319
1389
  /** Undelete a CertificateAuthority that has been deleted. */
1320
1390
  undelete(request: {
1321
1391
  /** V1 error format. */
1322
- '$.xgafv'?: string;
1392
+ '$.xgafv'?: '1' | '2';
1323
1393
  /** OAuth access token. */
1324
1394
  access_token?: string;
1325
1395
  /** Data format for response. */
1326
- alt?: string;
1396
+ alt?: 'json' | 'media' | 'proto';
1327
1397
  /** JSONP */
1328
1398
  callback?: string;
1329
1399
  /** Selector specifying which fields to include in a partial response. */
@@ -1348,11 +1418,11 @@ declare namespace gapi.client {
1348
1418
  undelete(
1349
1419
  request: {
1350
1420
  /** V1 error format. */
1351
- '$.xgafv'?: string;
1421
+ '$.xgafv'?: '1' | '2';
1352
1422
  /** OAuth access token. */
1353
1423
  access_token?: string;
1354
1424
  /** Data format for response. */
1355
- alt?: string;
1425
+ alt?: 'json' | 'media' | 'proto';
1356
1426
  /** JSONP */
1357
1427
  callback?: string;
1358
1428
  /** Selector specifying which fields to include in a partial response. */
@@ -1380,11 +1450,11 @@ declare namespace gapi.client {
1380
1450
  /** Create a new Certificate in a given Project, Location from a particular CaPool. */
1381
1451
  create(request: {
1382
1452
  /** V1 error format. */
1383
- '$.xgafv'?: string;
1453
+ '$.xgafv'?: '1' | '2';
1384
1454
  /** OAuth access token. */
1385
1455
  access_token?: string;
1386
1456
  /** Data format for response. */
1387
- alt?: string;
1457
+ alt?: 'json' | 'media' | 'proto';
1388
1458
  /** JSONP */
1389
1459
  callback?: string;
1390
1460
  /** Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.tier, but is optional and its value is ignored otherwise. */
@@ -1417,11 +1487,11 @@ declare namespace gapi.client {
1417
1487
  create(
1418
1488
  request: {
1419
1489
  /** V1 error format. */
1420
- '$.xgafv'?: string;
1490
+ '$.xgafv'?: '1' | '2';
1421
1491
  /** OAuth access token. */
1422
1492
  access_token?: string;
1423
1493
  /** Data format for response. */
1424
- alt?: string;
1494
+ alt?: 'json' | 'media' | 'proto';
1425
1495
  /** JSONP */
1426
1496
  callback?: string;
1427
1497
  /** Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.tier, but is optional and its value is ignored otherwise. */
@@ -1454,11 +1524,11 @@ declare namespace gapi.client {
1454
1524
  /** Returns a Certificate. */
1455
1525
  get(request?: {
1456
1526
  /** V1 error format. */
1457
- '$.xgafv'?: string;
1527
+ '$.xgafv'?: '1' | '2';
1458
1528
  /** OAuth access token. */
1459
1529
  access_token?: string;
1460
1530
  /** Data format for response. */
1461
- alt?: string;
1531
+ alt?: 'json' | 'media' | 'proto';
1462
1532
  /** JSONP */
1463
1533
  callback?: string;
1464
1534
  /** Selector specifying which fields to include in a partial response. */
@@ -1481,11 +1551,11 @@ declare namespace gapi.client {
1481
1551
  /** Lists Certificates. */
1482
1552
  list(request?: {
1483
1553
  /** V1 error format. */
1484
- '$.xgafv'?: string;
1554
+ '$.xgafv'?: '1' | '2';
1485
1555
  /** OAuth access token. */
1486
1556
  access_token?: string;
1487
1557
  /** Data format for response. */
1488
- alt?: string;
1558
+ alt?: 'json' | 'media' | 'proto';
1489
1559
  /** JSONP */
1490
1560
  callback?: string;
1491
1561
  /** Selector specifying which fields to include in a partial response. */
@@ -1516,11 +1586,11 @@ declare namespace gapi.client {
1516
1586
  /** Update a Certificate. Currently, the only field you can update is the labels field. */
1517
1587
  patch(request: {
1518
1588
  /** V1 error format. */
1519
- '$.xgafv'?: string;
1589
+ '$.xgafv'?: '1' | '2';
1520
1590
  /** OAuth access token. */
1521
1591
  access_token?: string;
1522
1592
  /** Data format for response. */
1523
- alt?: string;
1593
+ alt?: 'json' | 'media' | 'proto';
1524
1594
  /** JSONP */
1525
1595
  callback?: string;
1526
1596
  /** Selector specifying which fields to include in a partial response. */
@@ -1549,11 +1619,11 @@ declare namespace gapi.client {
1549
1619
  patch(
1550
1620
  request: {
1551
1621
  /** V1 error format. */
1552
- '$.xgafv'?: string;
1622
+ '$.xgafv'?: '1' | '2';
1553
1623
  /** OAuth access token. */
1554
1624
  access_token?: string;
1555
1625
  /** Data format for response. */
1556
- alt?: string;
1626
+ alt?: 'json' | 'media' | 'proto';
1557
1627
  /** JSONP */
1558
1628
  callback?: string;
1559
1629
  /** Selector specifying which fields to include in a partial response. */
@@ -1582,11 +1652,11 @@ declare namespace gapi.client {
1582
1652
  /** Revoke a Certificate. */
1583
1653
  revoke(request: {
1584
1654
  /** V1 error format. */
1585
- '$.xgafv'?: string;
1655
+ '$.xgafv'?: '1' | '2';
1586
1656
  /** OAuth access token. */
1587
1657
  access_token?: string;
1588
1658
  /** Data format for response. */
1589
- alt?: string;
1659
+ alt?: 'json' | 'media' | 'proto';
1590
1660
  /** JSONP */
1591
1661
  callback?: string;
1592
1662
  /** Selector specifying which fields to include in a partial response. */
@@ -1611,11 +1681,11 @@ declare namespace gapi.client {
1611
1681
  revoke(
1612
1682
  request: {
1613
1683
  /** V1 error format. */
1614
- '$.xgafv'?: string;
1684
+ '$.xgafv'?: '1' | '2';
1615
1685
  /** OAuth access token. */
1616
1686
  access_token?: string;
1617
1687
  /** Data format for response. */
1618
- alt?: string;
1688
+ alt?: 'json' | 'media' | 'proto';
1619
1689
  /** JSONP */
1620
1690
  callback?: string;
1621
1691
  /** Selector specifying which fields to include in a partial response. */
@@ -1642,11 +1712,11 @@ declare namespace gapi.client {
1642
1712
  /** Create a CaPool. */
1643
1713
  create(request: {
1644
1714
  /** V1 error format. */
1645
- '$.xgafv'?: string;
1715
+ '$.xgafv'?: '1' | '2';
1646
1716
  /** OAuth access token. */
1647
1717
  access_token?: string;
1648
1718
  /** Data format for response. */
1649
- alt?: string;
1719
+ alt?: 'json' | 'media' | 'proto';
1650
1720
  /** JSONP */
1651
1721
  callback?: string;
1652
1722
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -1675,11 +1745,11 @@ declare namespace gapi.client {
1675
1745
  create(
1676
1746
  request: {
1677
1747
  /** V1 error format. */
1678
- '$.xgafv'?: string;
1748
+ '$.xgafv'?: '1' | '2';
1679
1749
  /** OAuth access token. */
1680
1750
  access_token?: string;
1681
1751
  /** Data format for response. */
1682
- alt?: string;
1752
+ alt?: 'json' | 'media' | 'proto';
1683
1753
  /** JSONP */
1684
1754
  callback?: string;
1685
1755
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -1708,11 +1778,11 @@ declare namespace gapi.client {
1708
1778
  /** Delete a CaPool. */
1709
1779
  delete(request?: {
1710
1780
  /** V1 error format. */
1711
- '$.xgafv'?: string;
1781
+ '$.xgafv'?: '1' | '2';
1712
1782
  /** OAuth access token. */
1713
1783
  access_token?: string;
1714
1784
  /** Data format for response. */
1715
- alt?: string;
1785
+ alt?: 'json' | 'media' | 'proto';
1716
1786
  /** JSONP */
1717
1787
  callback?: string;
1718
1788
  /** Selector specifying which fields to include in a partial response. */
@@ -1739,11 +1809,11 @@ declare namespace gapi.client {
1739
1809
  /** FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states. */
1740
1810
  fetchCaCerts(request: {
1741
1811
  /** V1 error format. */
1742
- '$.xgafv'?: string;
1812
+ '$.xgafv'?: '1' | '2';
1743
1813
  /** OAuth access token. */
1744
1814
  access_token?: string;
1745
1815
  /** Data format for response. */
1746
- alt?: string;
1816
+ alt?: 'json' | 'media' | 'proto';
1747
1817
  /** JSONP */
1748
1818
  callback?: string;
1749
1819
  /** Required. The resource name for the CaPool in the format `projects/*‍/locations/*‍/caPools/*`. */
@@ -1768,11 +1838,11 @@ declare namespace gapi.client {
1768
1838
  fetchCaCerts(
1769
1839
  request: {
1770
1840
  /** V1 error format. */
1771
- '$.xgafv'?: string;
1841
+ '$.xgafv'?: '1' | '2';
1772
1842
  /** OAuth access token. */
1773
1843
  access_token?: string;
1774
1844
  /** Data format for response. */
1775
- alt?: string;
1845
+ alt?: 'json' | 'media' | 'proto';
1776
1846
  /** JSONP */
1777
1847
  callback?: string;
1778
1848
  /** Required. The resource name for the CaPool in the format `projects/*‍/locations/*‍/caPools/*`. */
@@ -1797,11 +1867,11 @@ declare namespace gapi.client {
1797
1867
  /** Returns a CaPool. */
1798
1868
  get(request?: {
1799
1869
  /** V1 error format. */
1800
- '$.xgafv'?: string;
1870
+ '$.xgafv'?: '1' | '2';
1801
1871
  /** OAuth access token. */
1802
1872
  access_token?: string;
1803
1873
  /** Data format for response. */
1804
- alt?: string;
1874
+ alt?: 'json' | 'media' | 'proto';
1805
1875
  /** JSONP */
1806
1876
  callback?: string;
1807
1877
  /** Selector specifying which fields to include in a partial response. */
@@ -1824,11 +1894,11 @@ declare namespace gapi.client {
1824
1894
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1825
1895
  getIamPolicy(request?: {
1826
1896
  /** V1 error format. */
1827
- '$.xgafv'?: string;
1897
+ '$.xgafv'?: '1' | '2';
1828
1898
  /** OAuth access token. */
1829
1899
  access_token?: string;
1830
1900
  /** Data format for response. */
1831
- alt?: string;
1901
+ alt?: 'json' | 'media' | 'proto';
1832
1902
  /** JSONP */
1833
1903
  callback?: string;
1834
1904
  /** Selector specifying which fields to include in a partial response. */
@@ -1853,11 +1923,11 @@ declare namespace gapi.client {
1853
1923
  /** Lists CaPools. */
1854
1924
  list(request?: {
1855
1925
  /** V1 error format. */
1856
- '$.xgafv'?: string;
1926
+ '$.xgafv'?: '1' | '2';
1857
1927
  /** OAuth access token. */
1858
1928
  access_token?: string;
1859
1929
  /** Data format for response. */
1860
- alt?: string;
1930
+ alt?: 'json' | 'media' | 'proto';
1861
1931
  /** JSONP */
1862
1932
  callback?: string;
1863
1933
  /** Selector specifying which fields to include in a partial response. */
@@ -1888,11 +1958,11 @@ declare namespace gapi.client {
1888
1958
  /** Update a CaPool. */
1889
1959
  patch(request: {
1890
1960
  /** V1 error format. */
1891
- '$.xgafv'?: string;
1961
+ '$.xgafv'?: '1' | '2';
1892
1962
  /** OAuth access token. */
1893
1963
  access_token?: string;
1894
1964
  /** Data format for response. */
1895
- alt?: string;
1965
+ alt?: 'json' | 'media' | 'proto';
1896
1966
  /** JSONP */
1897
1967
  callback?: string;
1898
1968
  /** Selector specifying which fields to include in a partial response. */
@@ -1921,11 +1991,11 @@ declare namespace gapi.client {
1921
1991
  patch(
1922
1992
  request: {
1923
1993
  /** V1 error format. */
1924
- '$.xgafv'?: string;
1994
+ '$.xgafv'?: '1' | '2';
1925
1995
  /** OAuth access token. */
1926
1996
  access_token?: string;
1927
1997
  /** Data format for response. */
1928
- alt?: string;
1998
+ alt?: 'json' | 'media' | 'proto';
1929
1999
  /** JSONP */
1930
2000
  callback?: string;
1931
2001
  /** Selector specifying which fields to include in a partial response. */
@@ -1955,11 +2025,11 @@ declare namespace gapi.client {
1955
2025
  setIamPolicy(
1956
2026
  request: {
1957
2027
  /** V1 error format. */
1958
- '$.xgafv'?: string;
2028
+ '$.xgafv'?: '1' | '2';
1959
2029
  /** OAuth access token. */
1960
2030
  access_token?: string;
1961
2031
  /** Data format for response. */
1962
- alt?: string;
2032
+ alt?: 'json' | 'media' | 'proto';
1963
2033
  /** JSONP */
1964
2034
  callback?: string;
1965
2035
  /** Selector specifying which fields to include in a partial response. */
@@ -1985,11 +2055,11 @@ declare namespace gapi.client {
1985
2055
  testIamPermissions(
1986
2056
  request: {
1987
2057
  /** V1 error format. */
1988
- '$.xgafv'?: string;
2058
+ '$.xgafv'?: '1' | '2';
1989
2059
  /** OAuth access token. */
1990
2060
  access_token?: string;
1991
2061
  /** Data format for response. */
1992
- alt?: string;
2062
+ alt?: 'json' | 'media' | 'proto';
1993
2063
  /** JSONP */
1994
2064
  callback?: string;
1995
2065
  /** Selector specifying which fields to include in a partial response. */
@@ -2018,11 +2088,11 @@ declare namespace gapi.client {
2018
2088
  /** Create a new CertificateTemplate in a given Project and Location. */
2019
2089
  create(request: {
2020
2090
  /** V1 error format. */
2021
- '$.xgafv'?: string;
2091
+ '$.xgafv'?: '1' | '2';
2022
2092
  /** OAuth access token. */
2023
2093
  access_token?: string;
2024
2094
  /** Data format for response. */
2025
- alt?: string;
2095
+ alt?: 'json' | 'media' | 'proto';
2026
2096
  /** JSONP */
2027
2097
  callback?: string;
2028
2098
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -2051,11 +2121,11 @@ declare namespace gapi.client {
2051
2121
  create(
2052
2122
  request: {
2053
2123
  /** V1 error format. */
2054
- '$.xgafv'?: string;
2124
+ '$.xgafv'?: '1' | '2';
2055
2125
  /** OAuth access token. */
2056
2126
  access_token?: string;
2057
2127
  /** Data format for response. */
2058
- alt?: string;
2128
+ alt?: 'json' | 'media' | 'proto';
2059
2129
  /** JSONP */
2060
2130
  callback?: string;
2061
2131
  /** Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}` */
@@ -2084,11 +2154,11 @@ declare namespace gapi.client {
2084
2154
  /** DeleteCertificateTemplate deletes a CertificateTemplate. */
2085
2155
  delete(request?: {
2086
2156
  /** V1 error format. */
2087
- '$.xgafv'?: string;
2157
+ '$.xgafv'?: '1' | '2';
2088
2158
  /** OAuth access token. */
2089
2159
  access_token?: string;
2090
2160
  /** Data format for response. */
2091
- alt?: string;
2161
+ alt?: 'json' | 'media' | 'proto';
2092
2162
  /** JSONP */
2093
2163
  callback?: string;
2094
2164
  /** Selector specifying which fields to include in a partial response. */
@@ -2113,11 +2183,11 @@ declare namespace gapi.client {
2113
2183
  /** Returns a CertificateTemplate. */
2114
2184
  get(request?: {
2115
2185
  /** V1 error format. */
2116
- '$.xgafv'?: string;
2186
+ '$.xgafv'?: '1' | '2';
2117
2187
  /** OAuth access token. */
2118
2188
  access_token?: string;
2119
2189
  /** Data format for response. */
2120
- alt?: string;
2190
+ alt?: 'json' | 'media' | 'proto';
2121
2191
  /** JSONP */
2122
2192
  callback?: string;
2123
2193
  /** Selector specifying which fields to include in a partial response. */
@@ -2140,11 +2210,11 @@ declare namespace gapi.client {
2140
2210
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
2141
2211
  getIamPolicy(request?: {
2142
2212
  /** V1 error format. */
2143
- '$.xgafv'?: string;
2213
+ '$.xgafv'?: '1' | '2';
2144
2214
  /** OAuth access token. */
2145
2215
  access_token?: string;
2146
2216
  /** Data format for response. */
2147
- alt?: string;
2217
+ alt?: 'json' | 'media' | 'proto';
2148
2218
  /** JSONP */
2149
2219
  callback?: string;
2150
2220
  /** Selector specifying which fields to include in a partial response. */
@@ -2169,11 +2239,11 @@ declare namespace gapi.client {
2169
2239
  /** Lists CertificateTemplates. */
2170
2240
  list(request?: {
2171
2241
  /** V1 error format. */
2172
- '$.xgafv'?: string;
2242
+ '$.xgafv'?: '1' | '2';
2173
2243
  /** OAuth access token. */
2174
2244
  access_token?: string;
2175
2245
  /** Data format for response. */
2176
- alt?: string;
2246
+ alt?: 'json' | 'media' | 'proto';
2177
2247
  /** JSONP */
2178
2248
  callback?: string;
2179
2249
  /** Selector specifying which fields to include in a partial response. */
@@ -2204,11 +2274,11 @@ declare namespace gapi.client {
2204
2274
  /** Update a CertificateTemplate. */
2205
2275
  patch(request: {
2206
2276
  /** V1 error format. */
2207
- '$.xgafv'?: string;
2277
+ '$.xgafv'?: '1' | '2';
2208
2278
  /** OAuth access token. */
2209
2279
  access_token?: string;
2210
2280
  /** Data format for response. */
2211
- alt?: string;
2281
+ alt?: 'json' | 'media' | 'proto';
2212
2282
  /** JSONP */
2213
2283
  callback?: string;
2214
2284
  /** Selector specifying which fields to include in a partial response. */
@@ -2237,11 +2307,11 @@ declare namespace gapi.client {
2237
2307
  patch(
2238
2308
  request: {
2239
2309
  /** V1 error format. */
2240
- '$.xgafv'?: string;
2310
+ '$.xgafv'?: '1' | '2';
2241
2311
  /** OAuth access token. */
2242
2312
  access_token?: string;
2243
2313
  /** Data format for response. */
2244
- alt?: string;
2314
+ alt?: 'json' | 'media' | 'proto';
2245
2315
  /** JSONP */
2246
2316
  callback?: string;
2247
2317
  /** Selector specifying which fields to include in a partial response. */
@@ -2271,11 +2341,11 @@ declare namespace gapi.client {
2271
2341
  setIamPolicy(
2272
2342
  request: {
2273
2343
  /** V1 error format. */
2274
- '$.xgafv'?: string;
2344
+ '$.xgafv'?: '1' | '2';
2275
2345
  /** OAuth access token. */
2276
2346
  access_token?: string;
2277
2347
  /** Data format for response. */
2278
- alt?: string;
2348
+ alt?: 'json' | 'media' | 'proto';
2279
2349
  /** JSONP */
2280
2350
  callback?: string;
2281
2351
  /** Selector specifying which fields to include in a partial response. */
@@ -2301,11 +2371,11 @@ declare namespace gapi.client {
2301
2371
  testIamPermissions(
2302
2372
  request: {
2303
2373
  /** V1 error format. */
2304
- '$.xgafv'?: string;
2374
+ '$.xgafv'?: '1' | '2';
2305
2375
  /** OAuth access token. */
2306
2376
  access_token?: string;
2307
2377
  /** Data format for response. */
2308
- alt?: string;
2378
+ alt?: 'json' | 'media' | 'proto';
2309
2379
  /** JSONP */
2310
2380
  callback?: string;
2311
2381
  /** Selector specifying which fields to include in a partial response. */
@@ -2332,11 +2402,11 @@ declare namespace gapi.client {
2332
2402
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
2333
2403
  cancel(request: {
2334
2404
  /** V1 error format. */
2335
- '$.xgafv'?: string;
2405
+ '$.xgafv'?: '1' | '2';
2336
2406
  /** OAuth access token. */
2337
2407
  access_token?: string;
2338
2408
  /** Data format for response. */
2339
- alt?: string;
2409
+ alt?: 'json' | 'media' | 'proto';
2340
2410
  /** JSONP */
2341
2411
  callback?: string;
2342
2412
  /** Selector specifying which fields to include in a partial response. */
@@ -2361,11 +2431,11 @@ declare namespace gapi.client {
2361
2431
  cancel(
2362
2432
  request: {
2363
2433
  /** V1 error format. */
2364
- '$.xgafv'?: string;
2434
+ '$.xgafv'?: '1' | '2';
2365
2435
  /** OAuth access token. */
2366
2436
  access_token?: string;
2367
2437
  /** Data format for response. */
2368
- alt?: string;
2438
+ alt?: 'json' | 'media' | 'proto';
2369
2439
  /** JSONP */
2370
2440
  callback?: string;
2371
2441
  /** Selector specifying which fields to include in a partial response. */
@@ -2390,11 +2460,11 @@ declare namespace gapi.client {
2390
2460
  /** 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`. */
2391
2461
  delete(request?: {
2392
2462
  /** V1 error format. */
2393
- '$.xgafv'?: string;
2463
+ '$.xgafv'?: '1' | '2';
2394
2464
  /** OAuth access token. */
2395
2465
  access_token?: string;
2396
2466
  /** Data format for response. */
2397
- alt?: string;
2467
+ alt?: 'json' | 'media' | 'proto';
2398
2468
  /** JSONP */
2399
2469
  callback?: string;
2400
2470
  /** Selector specifying which fields to include in a partial response. */
@@ -2417,11 +2487,11 @@ declare namespace gapi.client {
2417
2487
  /** 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. */
2418
2488
  get(request?: {
2419
2489
  /** V1 error format. */
2420
- '$.xgafv'?: string;
2490
+ '$.xgafv'?: '1' | '2';
2421
2491
  /** OAuth access token. */
2422
2492
  access_token?: string;
2423
2493
  /** Data format for response. */
2424
- alt?: string;
2494
+ alt?: 'json' | 'media' | 'proto';
2425
2495
  /** JSONP */
2426
2496
  callback?: string;
2427
2497
  /** Selector specifying which fields to include in a partial response. */
@@ -2444,11 +2514,11 @@ declare namespace gapi.client {
2444
2514
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2445
2515
  list(request?: {
2446
2516
  /** V1 error format. */
2447
- '$.xgafv'?: string;
2517
+ '$.xgafv'?: '1' | '2';
2448
2518
  /** OAuth access token. */
2449
2519
  access_token?: string;
2450
2520
  /** Data format for response. */
2451
- alt?: string;
2521
+ alt?: 'json' | 'media' | 'proto';
2452
2522
  /** JSONP */
2453
2523
  callback?: string;
2454
2524
  /** Selector specifying which fields to include in a partial response. */
@@ -2481,11 +2551,11 @@ declare namespace gapi.client {
2481
2551
  /** Gets information about a location. */
2482
2552
  get(request?: {
2483
2553
  /** V1 error format. */
2484
- '$.xgafv'?: string;
2554
+ '$.xgafv'?: '1' | '2';
2485
2555
  /** OAuth access token. */
2486
2556
  access_token?: string;
2487
2557
  /** Data format for response. */
2488
- alt?: string;
2558
+ alt?: 'json' | 'media' | 'proto';
2489
2559
  /** JSONP */
2490
2560
  callback?: string;
2491
2561
  /** Selector specifying which fields to include in a partial response. */
@@ -2508,11 +2578,11 @@ declare namespace gapi.client {
2508
2578
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
2509
2579
  list(request?: {
2510
2580
  /** V1 error format. */
2511
- '$.xgafv'?: string;
2581
+ '$.xgafv'?: '1' | '2';
2512
2582
  /** OAuth access token. */
2513
2583
  access_token?: string;
2514
2584
  /** Data format for response. */
2515
- alt?: string;
2585
+ alt?: 'json' | 'media' | 'proto';
2516
2586
  /** JSONP */
2517
2587
  callback?: string;
2518
2588
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.privateca-v1",
3
- "version": "0.1.20260304",
3
+ "version": "0.2.20260304",
4
4
  "description": "TypeScript typings for Certificate Authority API v1",
5
5
  "repository": {
6
6
  "type": "git",