@maxim_mazurok/gapi.client.dns-v1beta2 0.1.20260310 → 0.2.20260526

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 (3) hide show
  1. package/index.d.ts +170 -132
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
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://dns.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20260310
12
+ // Revision: 20260526
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -37,7 +37,7 @@ declare namespace gapi.client {
37
37
  /** The time that this operation was started by the server (output only). This is in RFC3339 text format. */
38
38
  startTime?: string;
39
39
  /** Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. */
40
- status?: string;
40
+ status?: 'pending' | 'done';
41
41
  }
42
42
  interface ChangesListResponse {
43
43
  /** The requested changes. */
@@ -49,7 +49,12 @@ declare namespace gapi.client {
49
49
  }
50
50
  interface DnsKey {
51
51
  /** String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time. */
52
- algorithm?: string;
52
+ algorithm?:
53
+ | 'rsasha1'
54
+ | 'rsasha256'
55
+ | 'rsasha512'
56
+ | 'ecdsap256sha256'
57
+ | 'ecdsap384sha384';
53
58
  /** The time that this resource was created in the control plane. This is in RFC3339 text format. Output only. */
54
59
  creationTime?: string;
55
60
  /** A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function. */
@@ -68,13 +73,13 @@ declare namespace gapi.client {
68
73
  /** Base64 encoded public half of this key. Output only. */
69
74
  publicKey?: string;
70
75
  /** One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time. */
71
- type?: string;
76
+ type?: 'keySigning' | 'zoneSigning';
72
77
  }
73
78
  interface DnsKeyDigest {
74
79
  /** The base-16 encoded bytes of this digest. Suitable for use in a DS resource record. */
75
80
  digest?: string;
76
81
  /** Specifies the algorithm used to calculate this digest. */
77
- type?: string;
82
+ type?: 'sha1' | 'sha256' | 'sha384';
78
83
  }
79
84
  interface DnsKeysListResponse {
80
85
  /** The requested resources. */
@@ -86,11 +91,16 @@ declare namespace gapi.client {
86
91
  }
87
92
  interface DnsKeySpec {
88
93
  /** String mnemonic specifying the DNSSEC algorithm of this key. */
89
- algorithm?: string;
94
+ algorithm?:
95
+ | 'rsasha1'
96
+ | 'rsasha256'
97
+ | 'rsasha512'
98
+ | 'ecdsap256sha256'
99
+ | 'ecdsap384sha384';
90
100
  /** Length of the keys in bits. */
91
101
  keyLength?: number;
92
102
  /** Specifies whether this is a key signing key (KSK) or a zone signing key (ZSK). Key signing keys have the Secure Entry Point flag set and, when active, are only used to sign resource record sets of type DNSKEY. Zone signing keys do not have the Secure Entry Point flag set and are used to sign all other types of resource record sets. */
93
- keyType?: string;
103
+ keyType?: 'keySigning' | 'zoneSigning';
94
104
  kind?: string;
95
105
  }
96
106
  interface Expr {
@@ -113,7 +123,11 @@ declare namespace gapi.client {
113
123
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
114
124
  exemptedMembers?: string[];
115
125
  /** The log type that this config enables. */
116
- logType?: string;
126
+ logType?:
127
+ | 'LOG_TYPE_UNSPECIFIED'
128
+ | 'ADMIN_READ'
129
+ | 'DATA_WRITE'
130
+ | 'DATA_READ';
117
131
  }
118
132
  interface GoogleIamV1Binding {
119
133
  /** 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). */
@@ -155,6 +169,18 @@ declare namespace gapi.client {
155
169
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
156
170
  permissions?: string[];
157
171
  }
172
+ interface GoogleLongrunningOperation {
173
+ /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
174
+ done?: boolean;
175
+ /** The error result of the operation in case of failure or cancellation. */
176
+ error?: Status;
177
+ /** Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. */
178
+ metadata?: {[P in string]: any};
179
+ /** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
180
+ name?: string;
181
+ /** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
182
+ response?: {[P in string]: any};
183
+ }
158
184
  interface ManagedZone {
159
185
  cloudLoggingConfig?: ManagedZoneCloudLoggingConfig;
160
186
  /** The time that this resource was created on the server. This is in RFC3339 text format. Output only. */
@@ -187,7 +213,7 @@ declare namespace gapi.client {
187
213
  /** This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones. */
188
214
  serviceDirectoryConfig?: ManagedZoneServiceDirectoryConfig;
189
215
  /** The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. */
190
- visibility?: string;
216
+ visibility?: 'public' | 'private';
191
217
  }
192
218
  interface ManagedZoneCloudLoggingConfig {
193
219
  /** If set, enable query logging for this ManagedZone. False by default, making logging opt-in. */
@@ -199,9 +225,9 @@ declare namespace gapi.client {
199
225
  defaultKeySpecs?: DnsKeySpec[];
200
226
  kind?: string;
201
227
  /** Specifies the mechanism for authenticated denial-of-existence responses. Can only be changed while the state is OFF. */
202
- nonExistence?: string;
228
+ nonExistence?: 'nsec' | 'nsec3';
203
229
  /** Specifies whether DNSSEC is enabled, and what mode it is in. */
204
- state?: string;
230
+ state?: 'off' | 'on' | 'transfer';
205
231
  }
206
232
  interface ManagedZoneForwardingConfig {
207
233
  kind?: string;
@@ -212,7 +238,7 @@ declare namespace gapi.client {
212
238
  /** Fully qualified domain name for the forwarding target. */
213
239
  domainName?: string;
214
240
  /** Forwarding path for this NameServerTarget. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on IP address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. */
215
- forwardingPath?: string;
241
+ forwardingPath?: 'default' | 'private';
216
242
  /** IPv4 address of a target name server. */
217
243
  ipv4Address?: string;
218
244
  /** IPv6 address of a target name server. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022. */
@@ -288,7 +314,7 @@ declare namespace gapi.client {
288
314
  /** The time that this operation was started by the server. This is in RFC3339 text format (output only). */
289
315
  startTime?: string;
290
316
  /** Status of the operation. Can be one of the following: "PENDING" or "DONE" (output only). A status of "DONE" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. */
291
- status?: string;
317
+ status?: 'pending' | 'done';
292
318
  /** Type of the operation. Operations include insert, update, and delete (output only). */
293
319
  type?: string;
294
320
  /** User who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only) */
@@ -348,7 +374,7 @@ declare namespace gapi.client {
348
374
  }
349
375
  interface PolicyAlternativeNameServerConfigTargetNameServer {
350
376
  /** Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target. */
351
- forwardingPath?: string;
377
+ forwardingPath?: 'default' | 'private';
352
378
  /** IPv4 address to forward queries to. */
353
379
  ipv4Address?: string;
354
380
  /** IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022. */
@@ -493,7 +519,7 @@ declare namespace gapi.client {
493
519
  }
494
520
  interface ResponsePolicyRule {
495
521
  /** Answer this query with a behavior rather than DNS data. */
496
- behavior?: string;
522
+ behavior?: 'behaviorUnspecified' | 'bypassResponsePolicy';
497
523
  /** The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. */
498
524
  dnsName?: string;
499
525
  kind?: string;
@@ -555,10 +581,14 @@ declare namespace gapi.client {
555
581
  /** The frontend IP address of the load balancer to health check. */
556
582
  ipAddress?: string;
557
583
  /** The protocol of the load balancer to health check. */
558
- ipProtocol?: string;
584
+ ipProtocol?: 'undefined' | 'tcp' | 'udp';
559
585
  kind?: string;
560
586
  /** The type of load balancer specified by this target. This value must match the configuration of the load balancer located at the LoadBalancerTarget's IP address, port, and region. Use the following: - *regionalL4ilb*: for a regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a regional internal Application Load Balancer. - *globalL7ilb*: for a global internal Application Load Balancer. */
561
- loadBalancerType?: string;
587
+ loadBalancerType?:
588
+ | 'none'
589
+ | 'globalL7ilb'
590
+ | 'regionalL4ilb'
591
+ | 'regionalL7ilb';
562
592
  /** The fully qualified URL of the network that the load balancer is attached to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}`. */
563
593
  networkUrl?: string;
564
594
  /** The configured port of the load balancer. */
@@ -591,15 +621,23 @@ declare namespace gapi.client {
591
621
  /** The weight corresponding to this `WrrPolicyItem` object. When multiple `WrrPolicyItem` objects are configured, the probability of returning an `WrrPolicyItem` object's data is proportional to its weight relative to the sum of weights configured for all items. This weight must be non-negative. */
592
622
  weight?: number;
593
623
  }
624
+ interface Status {
625
+ /** The status code, which should be an enum value of google.rpc.Code. */
626
+ code?: number;
627
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
628
+ details?: {[P in string]: any}[];
629
+ /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
630
+ message?: string;
631
+ }
594
632
  interface ChangesResource {
595
633
  /** Atomically updates the ResourceRecordSet collection. */
596
634
  create(request: {
597
635
  /** V1 error format. */
598
- '$.xgafv'?: string;
636
+ '$.xgafv'?: '1' | '2';
599
637
  /** OAuth access token. */
600
638
  access_token?: string;
601
639
  /** Data format for response. */
602
- alt?: string;
640
+ alt?: 'json' | 'media' | 'proto';
603
641
  /** JSONP */
604
642
  callback?: string;
605
643
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -628,11 +666,11 @@ declare namespace gapi.client {
628
666
  create(
629
667
  request: {
630
668
  /** V1 error format. */
631
- '$.xgafv'?: string;
669
+ '$.xgafv'?: '1' | '2';
632
670
  /** OAuth access token. */
633
671
  access_token?: string;
634
672
  /** Data format for response. */
635
- alt?: string;
673
+ alt?: 'json' | 'media' | 'proto';
636
674
  /** JSONP */
637
675
  callback?: string;
638
676
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -661,11 +699,11 @@ declare namespace gapi.client {
661
699
  /** Fetches the representation of an existing Change. */
662
700
  get(request?: {
663
701
  /** V1 error format. */
664
- '$.xgafv'?: string;
702
+ '$.xgafv'?: '1' | '2';
665
703
  /** OAuth access token. */
666
704
  access_token?: string;
667
705
  /** Data format for response. */
668
- alt?: string;
706
+ alt?: 'json' | 'media' | 'proto';
669
707
  /** JSONP */
670
708
  callback?: string;
671
709
  /** The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse. */
@@ -694,11 +732,11 @@ declare namespace gapi.client {
694
732
  /** Enumerates Changes to a ResourceRecordSet collection. */
695
733
  list(request?: {
696
734
  /** V1 error format. */
697
- '$.xgafv'?: string;
735
+ '$.xgafv'?: '1' | '2';
698
736
  /** OAuth access token. */
699
737
  access_token?: string;
700
738
  /** Data format for response. */
701
- alt?: string;
739
+ alt?: 'json' | 'media' | 'proto';
702
740
  /** JSONP */
703
741
  callback?: string;
704
742
  /** Selector specifying which fields to include in a partial response. */
@@ -720,7 +758,7 @@ declare namespace gapi.client {
720
758
  /** 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. */
721
759
  quotaUser?: string;
722
760
  /** Sorting criterion. The only supported value is change sequence. */
723
- sortBy?: string;
761
+ sortBy?: 'changeSequence';
724
762
  /** Sorting order direction: 'ascending' or 'descending'. */
725
763
  sortOrder?: string;
726
764
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -733,11 +771,11 @@ declare namespace gapi.client {
733
771
  /** Fetches the representation of an existing DnsKey. */
734
772
  get(request?: {
735
773
  /** V1 error format. */
736
- '$.xgafv'?: string;
774
+ '$.xgafv'?: '1' | '2';
737
775
  /** OAuth access token. */
738
776
  access_token?: string;
739
777
  /** Data format for response. */
740
- alt?: string;
778
+ alt?: 'json' | 'media' | 'proto';
741
779
  /** JSONP */
742
780
  callback?: string;
743
781
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -768,11 +806,11 @@ declare namespace gapi.client {
768
806
  /** Enumerates DnsKeys to a ResourceRecordSet collection. */
769
807
  list(request?: {
770
808
  /** V1 error format. */
771
- '$.xgafv'?: string;
809
+ '$.xgafv'?: '1' | '2';
772
810
  /** OAuth access token. */
773
811
  access_token?: string;
774
812
  /** Data format for response. */
775
- alt?: string;
813
+ alt?: 'json' | 'media' | 'proto';
776
814
  /** JSONP */
777
815
  callback?: string;
778
816
  /** An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed. */
@@ -805,11 +843,11 @@ declare namespace gapi.client {
805
843
  /** Fetches the representation of an existing Operation. */
806
844
  get(request?: {
807
845
  /** V1 error format. */
808
- '$.xgafv'?: string;
846
+ '$.xgafv'?: '1' | '2';
809
847
  /** OAuth access token. */
810
848
  access_token?: string;
811
849
  /** Data format for response. */
812
- alt?: string;
850
+ alt?: 'json' | 'media' | 'proto';
813
851
  /** JSONP */
814
852
  callback?: string;
815
853
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -838,11 +876,11 @@ declare namespace gapi.client {
838
876
  /** Enumerates Operations for the given ManagedZone. */
839
877
  list(request?: {
840
878
  /** V1 error format. */
841
- '$.xgafv'?: string;
879
+ '$.xgafv'?: '1' | '2';
842
880
  /** OAuth access token. */
843
881
  access_token?: string;
844
882
  /** Data format for response. */
845
- alt?: string;
883
+ alt?: 'json' | 'media' | 'proto';
846
884
  /** JSONP */
847
885
  callback?: string;
848
886
  /** Selector specifying which fields to include in a partial response. */
@@ -864,7 +902,7 @@ declare namespace gapi.client {
864
902
  /** 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. */
865
903
  quotaUser?: string;
866
904
  /** Sorting criterion. The only supported values are START_TIME and ID. */
867
- sortBy?: string;
905
+ sortBy?: 'startTime' | 'id';
868
906
  /** Upload protocol for media (e.g. "raw", "multipart"). */
869
907
  upload_protocol?: string;
870
908
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -875,11 +913,11 @@ declare namespace gapi.client {
875
913
  /** Creates a new ManagedZone. */
876
914
  create(request: {
877
915
  /** V1 error format. */
878
- '$.xgafv'?: string;
916
+ '$.xgafv'?: '1' | '2';
879
917
  /** OAuth access token. */
880
918
  access_token?: string;
881
919
  /** Data format for response. */
882
- alt?: string;
920
+ alt?: 'json' | 'media' | 'proto';
883
921
  /** JSONP */
884
922
  callback?: string;
885
923
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -906,11 +944,11 @@ declare namespace gapi.client {
906
944
  create(
907
945
  request: {
908
946
  /** V1 error format. */
909
- '$.xgafv'?: string;
947
+ '$.xgafv'?: '1' | '2';
910
948
  /** OAuth access token. */
911
949
  access_token?: string;
912
950
  /** Data format for response. */
913
- alt?: string;
951
+ alt?: 'json' | 'media' | 'proto';
914
952
  /** JSONP */
915
953
  callback?: string;
916
954
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -937,11 +975,11 @@ declare namespace gapi.client {
937
975
  /** Deletes a previously created ManagedZone. */
938
976
  delete(request?: {
939
977
  /** V1 error format. */
940
- '$.xgafv'?: string;
978
+ '$.xgafv'?: '1' | '2';
941
979
  /** OAuth access token. */
942
980
  access_token?: string;
943
981
  /** Data format for response. */
944
- alt?: string;
982
+ alt?: 'json' | 'media' | 'proto';
945
983
  /** JSONP */
946
984
  callback?: string;
947
985
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -968,11 +1006,11 @@ declare namespace gapi.client {
968
1006
  /** Fetches the representation of an existing ManagedZone. */
969
1007
  get(request?: {
970
1008
  /** V1 error format. */
971
- '$.xgafv'?: string;
1009
+ '$.xgafv'?: '1' | '2';
972
1010
  /** OAuth access token. */
973
1011
  access_token?: string;
974
1012
  /** Data format for response. */
975
- alt?: string;
1013
+ alt?: 'json' | 'media' | 'proto';
976
1014
  /** JSONP */
977
1015
  callback?: string;
978
1016
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1000,11 +1038,11 @@ declare namespace gapi.client {
1000
1038
  getIamPolicy(
1001
1039
  request: {
1002
1040
  /** V1 error format. */
1003
- '$.xgafv'?: string;
1041
+ '$.xgafv'?: '1' | '2';
1004
1042
  /** OAuth access token. */
1005
1043
  access_token?: string;
1006
1044
  /** Data format for response. */
1007
- alt?: string;
1045
+ alt?: 'json' | 'media' | 'proto';
1008
1046
  /** JSONP */
1009
1047
  callback?: string;
1010
1048
  /** Selector specifying which fields to include in a partial response. */
@@ -1029,11 +1067,11 @@ declare namespace gapi.client {
1029
1067
  /** Enumerates ManagedZones that have been created but not yet deleted. */
1030
1068
  list(request?: {
1031
1069
  /** V1 error format. */
1032
- '$.xgafv'?: string;
1070
+ '$.xgafv'?: '1' | '2';
1033
1071
  /** OAuth access token. */
1034
1072
  access_token?: string;
1035
1073
  /** Data format for response. */
1036
- alt?: string;
1074
+ alt?: 'json' | 'media' | 'proto';
1037
1075
  /** JSONP */
1038
1076
  callback?: string;
1039
1077
  /** Restricts the list to return only zones with this domain name. */
@@ -1062,11 +1100,11 @@ declare namespace gapi.client {
1062
1100
  /** Applies a partial update to an existing ManagedZone. */
1063
1101
  patch(request: {
1064
1102
  /** V1 error format. */
1065
- '$.xgafv'?: string;
1103
+ '$.xgafv'?: '1' | '2';
1066
1104
  /** OAuth access token. */
1067
1105
  access_token?: string;
1068
1106
  /** Data format for response. */
1069
- alt?: string;
1107
+ alt?: 'json' | 'media' | 'proto';
1070
1108
  /** JSONP */
1071
1109
  callback?: string;
1072
1110
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1095,11 +1133,11 @@ declare namespace gapi.client {
1095
1133
  patch(
1096
1134
  request: {
1097
1135
  /** V1 error format. */
1098
- '$.xgafv'?: string;
1136
+ '$.xgafv'?: '1' | '2';
1099
1137
  /** OAuth access token. */
1100
1138
  access_token?: string;
1101
1139
  /** Data format for response. */
1102
- alt?: string;
1140
+ alt?: 'json' | 'media' | 'proto';
1103
1141
  /** JSONP */
1104
1142
  callback?: string;
1105
1143
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1129,11 +1167,11 @@ declare namespace gapi.client {
1129
1167
  setIamPolicy(
1130
1168
  request: {
1131
1169
  /** V1 error format. */
1132
- '$.xgafv'?: string;
1170
+ '$.xgafv'?: '1' | '2';
1133
1171
  /** OAuth access token. */
1134
1172
  access_token?: string;
1135
1173
  /** Data format for response. */
1136
- alt?: string;
1174
+ alt?: 'json' | 'media' | 'proto';
1137
1175
  /** JSONP */
1138
1176
  callback?: string;
1139
1177
  /** Selector specifying which fields to include in a partial response. */
@@ -1159,11 +1197,11 @@ declare namespace gapi.client {
1159
1197
  testIamPermissions(
1160
1198
  request: {
1161
1199
  /** V1 error format. */
1162
- '$.xgafv'?: string;
1200
+ '$.xgafv'?: '1' | '2';
1163
1201
  /** OAuth access token. */
1164
1202
  access_token?: string;
1165
1203
  /** Data format for response. */
1166
- alt?: string;
1204
+ alt?: 'json' | 'media' | 'proto';
1167
1205
  /** JSONP */
1168
1206
  callback?: string;
1169
1207
  /** Selector specifying which fields to include in a partial response. */
@@ -1188,11 +1226,11 @@ declare namespace gapi.client {
1188
1226
  /** Updates an existing ManagedZone. */
1189
1227
  update(request: {
1190
1228
  /** V1 error format. */
1191
- '$.xgafv'?: string;
1229
+ '$.xgafv'?: '1' | '2';
1192
1230
  /** OAuth access token. */
1193
1231
  access_token?: string;
1194
1232
  /** Data format for response. */
1195
- alt?: string;
1233
+ alt?: 'json' | 'media' | 'proto';
1196
1234
  /** JSONP */
1197
1235
  callback?: string;
1198
1236
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1221,11 +1259,11 @@ declare namespace gapi.client {
1221
1259
  update(
1222
1260
  request: {
1223
1261
  /** V1 error format. */
1224
- '$.xgafv'?: string;
1262
+ '$.xgafv'?: '1' | '2';
1225
1263
  /** OAuth access token. */
1226
1264
  access_token?: string;
1227
1265
  /** Data format for response. */
1228
- alt?: string;
1266
+ alt?: 'json' | 'media' | 'proto';
1229
1267
  /** JSONP */
1230
1268
  callback?: string;
1231
1269
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1256,11 +1294,11 @@ declare namespace gapi.client {
1256
1294
  /** Creates a new policy. */
1257
1295
  create(request: {
1258
1296
  /** V1 error format. */
1259
- '$.xgafv'?: string;
1297
+ '$.xgafv'?: '1' | '2';
1260
1298
  /** OAuth access token. */
1261
1299
  access_token?: string;
1262
1300
  /** Data format for response. */
1263
- alt?: string;
1301
+ alt?: 'json' | 'media' | 'proto';
1264
1302
  /** JSONP */
1265
1303
  callback?: string;
1266
1304
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1287,11 +1325,11 @@ declare namespace gapi.client {
1287
1325
  create(
1288
1326
  request: {
1289
1327
  /** V1 error format. */
1290
- '$.xgafv'?: string;
1328
+ '$.xgafv'?: '1' | '2';
1291
1329
  /** OAuth access token. */
1292
1330
  access_token?: string;
1293
1331
  /** Data format for response. */
1294
- alt?: string;
1332
+ alt?: 'json' | 'media' | 'proto';
1295
1333
  /** JSONP */
1296
1334
  callback?: string;
1297
1335
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1318,11 +1356,11 @@ declare namespace gapi.client {
1318
1356
  /** Deletes a previously created policy. Fails if the policy is still being referenced by a network. */
1319
1357
  delete(request?: {
1320
1358
  /** V1 error format. */
1321
- '$.xgafv'?: string;
1359
+ '$.xgafv'?: '1' | '2';
1322
1360
  /** OAuth access token. */
1323
1361
  access_token?: string;
1324
1362
  /** Data format for response. */
1325
- alt?: string;
1363
+ alt?: 'json' | 'media' | 'proto';
1326
1364
  /** JSONP */
1327
1365
  callback?: string;
1328
1366
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1349,11 +1387,11 @@ declare namespace gapi.client {
1349
1387
  /** Fetches the representation of an existing policy. */
1350
1388
  get(request?: {
1351
1389
  /** V1 error format. */
1352
- '$.xgafv'?: string;
1390
+ '$.xgafv'?: '1' | '2';
1353
1391
  /** OAuth access token. */
1354
1392
  access_token?: string;
1355
1393
  /** Data format for response. */
1356
- alt?: string;
1394
+ alt?: 'json' | 'media' | 'proto';
1357
1395
  /** JSONP */
1358
1396
  callback?: string;
1359
1397
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1380,11 +1418,11 @@ declare namespace gapi.client {
1380
1418
  /** Enumerates all policies associated with a project. */
1381
1419
  list(request?: {
1382
1420
  /** V1 error format. */
1383
- '$.xgafv'?: string;
1421
+ '$.xgafv'?: '1' | '2';
1384
1422
  /** OAuth access token. */
1385
1423
  access_token?: string;
1386
1424
  /** Data format for response. */
1387
- alt?: string;
1425
+ alt?: 'json' | 'media' | 'proto';
1388
1426
  /** JSONP */
1389
1427
  callback?: string;
1390
1428
  /** Selector specifying which fields to include in a partial response. */
@@ -1411,11 +1449,11 @@ declare namespace gapi.client {
1411
1449
  /** Applies a partial update to an existing policy. */
1412
1450
  patch(request: {
1413
1451
  /** V1 error format. */
1414
- '$.xgafv'?: string;
1452
+ '$.xgafv'?: '1' | '2';
1415
1453
  /** OAuth access token. */
1416
1454
  access_token?: string;
1417
1455
  /** Data format for response. */
1418
- alt?: string;
1456
+ alt?: 'json' | 'media' | 'proto';
1419
1457
  /** JSONP */
1420
1458
  callback?: string;
1421
1459
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1444,11 +1482,11 @@ declare namespace gapi.client {
1444
1482
  patch(
1445
1483
  request: {
1446
1484
  /** V1 error format. */
1447
- '$.xgafv'?: string;
1485
+ '$.xgafv'?: '1' | '2';
1448
1486
  /** OAuth access token. */
1449
1487
  access_token?: string;
1450
1488
  /** Data format for response. */
1451
- alt?: string;
1489
+ alt?: 'json' | 'media' | 'proto';
1452
1490
  /** JSONP */
1453
1491
  callback?: string;
1454
1492
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1477,11 +1515,11 @@ declare namespace gapi.client {
1477
1515
  /** Updates an existing policy. */
1478
1516
  update(request: {
1479
1517
  /** V1 error format. */
1480
- '$.xgafv'?: string;
1518
+ '$.xgafv'?: '1' | '2';
1481
1519
  /** OAuth access token. */
1482
1520
  access_token?: string;
1483
1521
  /** Data format for response. */
1484
- alt?: string;
1522
+ alt?: 'json' | 'media' | 'proto';
1485
1523
  /** JSONP */
1486
1524
  callback?: string;
1487
1525
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1510,11 +1548,11 @@ declare namespace gapi.client {
1510
1548
  update(
1511
1549
  request: {
1512
1550
  /** V1 error format. */
1513
- '$.xgafv'?: string;
1551
+ '$.xgafv'?: '1' | '2';
1514
1552
  /** OAuth access token. */
1515
1553
  access_token?: string;
1516
1554
  /** Data format for response. */
1517
- alt?: string;
1555
+ alt?: 'json' | 'media' | 'proto';
1518
1556
  /** JSONP */
1519
1557
  callback?: string;
1520
1558
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1545,11 +1583,11 @@ declare namespace gapi.client {
1545
1583
  /** Fetches the representation of an existing Project. */
1546
1584
  get(request?: {
1547
1585
  /** V1 error format. */
1548
- '$.xgafv'?: string;
1586
+ '$.xgafv'?: '1' | '2';
1549
1587
  /** OAuth access token. */
1550
1588
  access_token?: string;
1551
1589
  /** Data format for response. */
1552
- alt?: string;
1590
+ alt?: 'json' | 'media' | 'proto';
1553
1591
  /** JSONP */
1554
1592
  callback?: string;
1555
1593
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1576,11 +1614,11 @@ declare namespace gapi.client {
1576
1614
  /** Creates a new ResourceRecordSet. */
1577
1615
  create(request: {
1578
1616
  /** V1 error format. */
1579
- '$.xgafv'?: string;
1617
+ '$.xgafv'?: '1' | '2';
1580
1618
  /** OAuth access token. */
1581
1619
  access_token?: string;
1582
1620
  /** Data format for response. */
1583
- alt?: string;
1621
+ alt?: 'json' | 'media' | 'proto';
1584
1622
  /** JSONP */
1585
1623
  callback?: string;
1586
1624
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1609,11 +1647,11 @@ declare namespace gapi.client {
1609
1647
  create(
1610
1648
  request: {
1611
1649
  /** V1 error format. */
1612
- '$.xgafv'?: string;
1650
+ '$.xgafv'?: '1' | '2';
1613
1651
  /** OAuth access token. */
1614
1652
  access_token?: string;
1615
1653
  /** Data format for response. */
1616
- alt?: string;
1654
+ alt?: 'json' | 'media' | 'proto';
1617
1655
  /** JSONP */
1618
1656
  callback?: string;
1619
1657
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1642,11 +1680,11 @@ declare namespace gapi.client {
1642
1680
  /** Deletes a previously created ResourceRecordSet. */
1643
1681
  delete(request?: {
1644
1682
  /** V1 error format. */
1645
- '$.xgafv'?: string;
1683
+ '$.xgafv'?: '1' | '2';
1646
1684
  /** OAuth access token. */
1647
1685
  access_token?: string;
1648
1686
  /** Data format for response. */
1649
- alt?: string;
1687
+ alt?: 'json' | 'media' | 'proto';
1650
1688
  /** JSONP */
1651
1689
  callback?: string;
1652
1690
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1677,11 +1715,11 @@ declare namespace gapi.client {
1677
1715
  /** Fetches the representation of an existing ResourceRecordSet. */
1678
1716
  get(request?: {
1679
1717
  /** V1 error format. */
1680
- '$.xgafv'?: string;
1718
+ '$.xgafv'?: '1' | '2';
1681
1719
  /** OAuth access token. */
1682
1720
  access_token?: string;
1683
1721
  /** Data format for response. */
1684
- alt?: string;
1722
+ alt?: 'json' | 'media' | 'proto';
1685
1723
  /** JSONP */
1686
1724
  callback?: string;
1687
1725
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1712,16 +1750,16 @@ declare namespace gapi.client {
1712
1750
  /** Enumerates ResourceRecordSets that you have created but not yet deleted. */
1713
1751
  list(request?: {
1714
1752
  /** V1 error format. */
1715
- '$.xgafv'?: string;
1753
+ '$.xgafv'?: '1' | '2';
1716
1754
  /** OAuth access token. */
1717
1755
  access_token?: string;
1718
1756
  /** Data format for response. */
1719
- alt?: string;
1757
+ alt?: 'json' | 'media' | 'proto';
1720
1758
  /** JSONP */
1721
1759
  callback?: string;
1722
1760
  /** Selector specifying which fields to include in a partial response. */
1723
1761
  fields?: string;
1724
- /** Specify a filter expression to view records that exactly match the specified domain. Both the name and type parameters are not supported when you use filter and must be omitted. Your filter expression must conform to AIP-160 and you must specify a domain in the name field. Optionally, you can include the type field to filter records by type. You can also include the has_suffix function to view records that match by domain suffix. Examples: - name="example.com." - name="example.com." AND type="A" - name=has_suffix("example.com.") - name=has_suffix("example.com.") AND type="A" */
1762
+ /** Specify a filter expression to view records that exactly match the specified domain. Both the `name` and `type` parameters are not supported and must be omitted when you use `filter`. Your `filter` expression must conform to AIP-160 and you must specify a domain in the `name` field. Optionally, you can include the `type` field to filter records by type. You can also include the `has_suffix` function to view records that match by domain suffix. Examples: * `name`="example.com." * `name`="example.com." AND type="A" * `name`=`has_suffix`("example.com.") * `name`=`has_suffix`("example.com.") AND type="A" */
1725
1763
  filter?: string;
1726
1764
  /** 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. */
1727
1765
  key?: string;
@@ -1729,7 +1767,7 @@ declare namespace gapi.client {
1729
1767
  managedZone: string;
1730
1768
  /** Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return. */
1731
1769
  maxResults?: number;
1732
- /** Specify a fully qualified domain name to view only those records. The name parameter is not supported and must be omitted when you use filter. */
1770
+ /** Specify a fully qualified domain name to view only those records. The `name` parameter is not supported and must be omitted when you use `filter`. */
1733
1771
  name?: string;
1734
1772
  /** OAuth 2.0 token for the current user. */
1735
1773
  oauth_token?: string;
@@ -1741,7 +1779,7 @@ declare namespace gapi.client {
1741
1779
  project: string;
1742
1780
  /** 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. */
1743
1781
  quotaUser?: string;
1744
- /** Specify a record type to view only those records. You must also specify the name parameter. The type parameter is not supported and must be omitted when you use filter. */
1782
+ /** Specify a record type to view only those records. You must also specify the `name` parameter. The `type` parameter is not supported and must be omitted when you use `filter`. */
1745
1783
  type?: string;
1746
1784
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1747
1785
  upload_protocol?: string;
@@ -1751,11 +1789,11 @@ declare namespace gapi.client {
1751
1789
  /** Applies a partial update to an existing ResourceRecordSet. */
1752
1790
  patch(request: {
1753
1791
  /** V1 error format. */
1754
- '$.xgafv'?: string;
1792
+ '$.xgafv'?: '1' | '2';
1755
1793
  /** OAuth access token. */
1756
1794
  access_token?: string;
1757
1795
  /** Data format for response. */
1758
- alt?: string;
1796
+ alt?: 'json' | 'media' | 'proto';
1759
1797
  /** JSONP */
1760
1798
  callback?: string;
1761
1799
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1788,11 +1826,11 @@ declare namespace gapi.client {
1788
1826
  patch(
1789
1827
  request: {
1790
1828
  /** V1 error format. */
1791
- '$.xgafv'?: string;
1829
+ '$.xgafv'?: '1' | '2';
1792
1830
  /** OAuth access token. */
1793
1831
  access_token?: string;
1794
1832
  /** Data format for response. */
1795
- alt?: string;
1833
+ alt?: 'json' | 'media' | 'proto';
1796
1834
  /** JSONP */
1797
1835
  callback?: string;
1798
1836
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1827,11 +1865,11 @@ declare namespace gapi.client {
1827
1865
  /** Creates a new Response Policy */
1828
1866
  create(request: {
1829
1867
  /** V1 error format. */
1830
- '$.xgafv'?: string;
1868
+ '$.xgafv'?: '1' | '2';
1831
1869
  /** OAuth access token. */
1832
1870
  access_token?: string;
1833
1871
  /** Data format for response. */
1834
- alt?: string;
1872
+ alt?: 'json' | 'media' | 'proto';
1835
1873
  /** JSONP */
1836
1874
  callback?: string;
1837
1875
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1858,11 +1896,11 @@ declare namespace gapi.client {
1858
1896
  create(
1859
1897
  request: {
1860
1898
  /** V1 error format. */
1861
- '$.xgafv'?: string;
1899
+ '$.xgafv'?: '1' | '2';
1862
1900
  /** OAuth access token. */
1863
1901
  access_token?: string;
1864
1902
  /** Data format for response. */
1865
- alt?: string;
1903
+ alt?: 'json' | 'media' | 'proto';
1866
1904
  /** JSONP */
1867
1905
  callback?: string;
1868
1906
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1889,11 +1927,11 @@ declare namespace gapi.client {
1889
1927
  /** Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network. */
1890
1928
  delete(request?: {
1891
1929
  /** V1 error format. */
1892
- '$.xgafv'?: string;
1930
+ '$.xgafv'?: '1' | '2';
1893
1931
  /** OAuth access token. */
1894
1932
  access_token?: string;
1895
1933
  /** Data format for response. */
1896
- alt?: string;
1934
+ alt?: 'json' | 'media' | 'proto';
1897
1935
  /** JSONP */
1898
1936
  callback?: string;
1899
1937
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1920,11 +1958,11 @@ declare namespace gapi.client {
1920
1958
  /** Fetches the representation of an existing Response Policy. */
1921
1959
  get(request?: {
1922
1960
  /** V1 error format. */
1923
- '$.xgafv'?: string;
1961
+ '$.xgafv'?: '1' | '2';
1924
1962
  /** OAuth access token. */
1925
1963
  access_token?: string;
1926
1964
  /** Data format for response. */
1927
- alt?: string;
1965
+ alt?: 'json' | 'media' | 'proto';
1928
1966
  /** JSONP */
1929
1967
  callback?: string;
1930
1968
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -1951,11 +1989,11 @@ declare namespace gapi.client {
1951
1989
  /** Enumerates all Response Policies associated with a project. */
1952
1990
  list(request?: {
1953
1991
  /** V1 error format. */
1954
- '$.xgafv'?: string;
1992
+ '$.xgafv'?: '1' | '2';
1955
1993
  /** OAuth access token. */
1956
1994
  access_token?: string;
1957
1995
  /** Data format for response. */
1958
- alt?: string;
1996
+ alt?: 'json' | 'media' | 'proto';
1959
1997
  /** JSONP */
1960
1998
  callback?: string;
1961
1999
  /** Selector specifying which fields to include in a partial response. */
@@ -1982,11 +2020,11 @@ declare namespace gapi.client {
1982
2020
  /** Applies a partial update to an existing Response Policy. */
1983
2021
  patch(request: {
1984
2022
  /** V1 error format. */
1985
- '$.xgafv'?: string;
2023
+ '$.xgafv'?: '1' | '2';
1986
2024
  /** OAuth access token. */
1987
2025
  access_token?: string;
1988
2026
  /** Data format for response. */
1989
- alt?: string;
2027
+ alt?: 'json' | 'media' | 'proto';
1990
2028
  /** JSONP */
1991
2029
  callback?: string;
1992
2030
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2015,11 +2053,11 @@ declare namespace gapi.client {
2015
2053
  patch(
2016
2054
  request: {
2017
2055
  /** V1 error format. */
2018
- '$.xgafv'?: string;
2056
+ '$.xgafv'?: '1' | '2';
2019
2057
  /** OAuth access token. */
2020
2058
  access_token?: string;
2021
2059
  /** Data format for response. */
2022
- alt?: string;
2060
+ alt?: 'json' | 'media' | 'proto';
2023
2061
  /** JSONP */
2024
2062
  callback?: string;
2025
2063
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2048,11 +2086,11 @@ declare namespace gapi.client {
2048
2086
  /** Updates an existing Response Policy. */
2049
2087
  update(request: {
2050
2088
  /** V1 error format. */
2051
- '$.xgafv'?: string;
2089
+ '$.xgafv'?: '1' | '2';
2052
2090
  /** OAuth access token. */
2053
2091
  access_token?: string;
2054
2092
  /** Data format for response. */
2055
- alt?: string;
2093
+ alt?: 'json' | 'media' | 'proto';
2056
2094
  /** JSONP */
2057
2095
  callback?: string;
2058
2096
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2081,11 +2119,11 @@ declare namespace gapi.client {
2081
2119
  update(
2082
2120
  request: {
2083
2121
  /** V1 error format. */
2084
- '$.xgafv'?: string;
2122
+ '$.xgafv'?: '1' | '2';
2085
2123
  /** OAuth access token. */
2086
2124
  access_token?: string;
2087
2125
  /** Data format for response. */
2088
- alt?: string;
2126
+ alt?: 'json' | 'media' | 'proto';
2089
2127
  /** JSONP */
2090
2128
  callback?: string;
2091
2129
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2116,11 +2154,11 @@ declare namespace gapi.client {
2116
2154
  /** Creates a new Response Policy Rule. */
2117
2155
  create(request: {
2118
2156
  /** V1 error format. */
2119
- '$.xgafv'?: string;
2157
+ '$.xgafv'?: '1' | '2';
2120
2158
  /** OAuth access token. */
2121
2159
  access_token?: string;
2122
2160
  /** Data format for response. */
2123
- alt?: string;
2161
+ alt?: 'json' | 'media' | 'proto';
2124
2162
  /** JSONP */
2125
2163
  callback?: string;
2126
2164
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2149,11 +2187,11 @@ declare namespace gapi.client {
2149
2187
  create(
2150
2188
  request: {
2151
2189
  /** V1 error format. */
2152
- '$.xgafv'?: string;
2190
+ '$.xgafv'?: '1' | '2';
2153
2191
  /** OAuth access token. */
2154
2192
  access_token?: string;
2155
2193
  /** Data format for response. */
2156
- alt?: string;
2194
+ alt?: 'json' | 'media' | 'proto';
2157
2195
  /** JSONP */
2158
2196
  callback?: string;
2159
2197
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2182,11 +2220,11 @@ declare namespace gapi.client {
2182
2220
  /** Deletes a previously created Response Policy Rule. */
2183
2221
  delete(request?: {
2184
2222
  /** V1 error format. */
2185
- '$.xgafv'?: string;
2223
+ '$.xgafv'?: '1' | '2';
2186
2224
  /** OAuth access token. */
2187
2225
  access_token?: string;
2188
2226
  /** Data format for response. */
2189
- alt?: string;
2227
+ alt?: 'json' | 'media' | 'proto';
2190
2228
  /** JSONP */
2191
2229
  callback?: string;
2192
2230
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2215,11 +2253,11 @@ declare namespace gapi.client {
2215
2253
  /** Fetches the representation of an existing Response Policy Rule. */
2216
2254
  get(request?: {
2217
2255
  /** V1 error format. */
2218
- '$.xgafv'?: string;
2256
+ '$.xgafv'?: '1' | '2';
2219
2257
  /** OAuth access token. */
2220
2258
  access_token?: string;
2221
2259
  /** Data format for response. */
2222
- alt?: string;
2260
+ alt?: 'json' | 'media' | 'proto';
2223
2261
  /** JSONP */
2224
2262
  callback?: string;
2225
2263
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2248,11 +2286,11 @@ declare namespace gapi.client {
2248
2286
  /** Enumerates all Response Policy Rules associated with a project. */
2249
2287
  list(request?: {
2250
2288
  /** V1 error format. */
2251
- '$.xgafv'?: string;
2289
+ '$.xgafv'?: '1' | '2';
2252
2290
  /** OAuth access token. */
2253
2291
  access_token?: string;
2254
2292
  /** Data format for response. */
2255
- alt?: string;
2293
+ alt?: 'json' | 'media' | 'proto';
2256
2294
  /** JSONP */
2257
2295
  callback?: string;
2258
2296
  /** Selector specifying which fields to include in a partial response. */
@@ -2281,11 +2319,11 @@ declare namespace gapi.client {
2281
2319
  /** Applies a partial update to an existing Response Policy Rule. */
2282
2320
  patch(request: {
2283
2321
  /** V1 error format. */
2284
- '$.xgafv'?: string;
2322
+ '$.xgafv'?: '1' | '2';
2285
2323
  /** OAuth access token. */
2286
2324
  access_token?: string;
2287
2325
  /** Data format for response. */
2288
- alt?: string;
2326
+ alt?: 'json' | 'media' | 'proto';
2289
2327
  /** JSONP */
2290
2328
  callback?: string;
2291
2329
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2316,11 +2354,11 @@ declare namespace gapi.client {
2316
2354
  patch(
2317
2355
  request: {
2318
2356
  /** V1 error format. */
2319
- '$.xgafv'?: string;
2357
+ '$.xgafv'?: '1' | '2';
2320
2358
  /** OAuth access token. */
2321
2359
  access_token?: string;
2322
2360
  /** Data format for response. */
2323
- alt?: string;
2361
+ alt?: 'json' | 'media' | 'proto';
2324
2362
  /** JSONP */
2325
2363
  callback?: string;
2326
2364
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2351,11 +2389,11 @@ declare namespace gapi.client {
2351
2389
  /** Updates an existing Response Policy Rule. */
2352
2390
  update(request: {
2353
2391
  /** V1 error format. */
2354
- '$.xgafv'?: string;
2392
+ '$.xgafv'?: '1' | '2';
2355
2393
  /** OAuth access token. */
2356
2394
  access_token?: string;
2357
2395
  /** Data format for response. */
2358
- alt?: string;
2396
+ alt?: 'json' | 'media' | 'proto';
2359
2397
  /** JSONP */
2360
2398
  callback?: string;
2361
2399
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
@@ -2386,11 +2424,11 @@ declare namespace gapi.client {
2386
2424
  update(
2387
2425
  request: {
2388
2426
  /** V1 error format. */
2389
- '$.xgafv'?: string;
2427
+ '$.xgafv'?: '1' | '2';
2390
2428
  /** OAuth access token. */
2391
2429
  access_token?: string;
2392
2430
  /** Data format for response. */
2393
- alt?: string;
2431
+ alt?: 'json' | 'media' | 'proto';
2394
2432
  /** JSONP */
2395
2433
  callback?: string;
2396
2434
  /** For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dns-v1beta2",
3
- "version": "0.1.20260310",
3
+ "version": "0.2.20260526",
4
4
  "description": "TypeScript typings for Cloud DNS API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -10,6 +10,18 @@ Install typings for Cloud DNS API:
10
10
  npm install @types/gapi.client.dns-v1beta2 --save-dev
11
11
  ```
12
12
 
13
+ ## TypeScript 6.0+
14
+
15
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
16
+
17
+ ```json
18
+ {
19
+ "compilerOptions": {
20
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.dns-v1beta2"]
21
+ }
22
+ }
23
+ ```
24
+
13
25
  ## Usage
14
26
 
15
27
  You need to initialize Google API client in your code: