@maxim_mazurok/gapi.client.dns-v1beta2 0.0.20240521 → 0.0.20240531
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +24 -42
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dns.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240531
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -42,10 +42,9 @@ declare namespace gapi.client {
|
|
|
42
42
|
interface ChangesListResponse {
|
|
43
43
|
/** The requested changes. */
|
|
44
44
|
changes?: Change[];
|
|
45
|
-
header?: ResponseHeader;
|
|
46
45
|
/** Type of resource. */
|
|
47
46
|
kind?: string;
|
|
48
|
-
/**
|
|
47
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
49
48
|
nextPageToken?: string;
|
|
50
49
|
}
|
|
51
50
|
interface DnsKey {
|
|
@@ -80,10 +79,9 @@ declare namespace gapi.client {
|
|
|
80
79
|
interface DnsKeysListResponse {
|
|
81
80
|
/** The requested resources. */
|
|
82
81
|
dnsKeys?: DnsKey[];
|
|
83
|
-
header?: ResponseHeader;
|
|
84
82
|
/** Type of resource. */
|
|
85
83
|
kind?: string;
|
|
86
|
-
/**
|
|
84
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
87
85
|
nextPageToken?: string;
|
|
88
86
|
}
|
|
89
87
|
interface DnsKeySpec {
|
|
@@ -220,10 +218,9 @@ declare namespace gapi.client {
|
|
|
220
218
|
kind?: string;
|
|
221
219
|
}
|
|
222
220
|
interface ManagedZoneOperationsListResponse {
|
|
223
|
-
header?: ResponseHeader;
|
|
224
221
|
/** Type of resource. */
|
|
225
222
|
kind?: string;
|
|
226
|
-
/**
|
|
223
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
227
224
|
nextPageToken?: string;
|
|
228
225
|
/** The operation resources. */
|
|
229
226
|
operations?: Operation[];
|
|
@@ -237,7 +234,7 @@ declare namespace gapi.client {
|
|
|
237
234
|
/** The time at which the zone was deactivated, in RFC 3339 date-time format. An empty string indicates that the peering connection is active. The producer network can deactivate a zone. The zone is automatically deactivated if the producer network that the zone targeted is deleted. Output only. */
|
|
238
235
|
deactivateTime?: string;
|
|
239
236
|
kind?: string;
|
|
240
|
-
/** The fully qualified URL of the VPC network to forward queries to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} */
|
|
237
|
+
/** The fully qualified URL of the VPC network to forward queries to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}` */
|
|
241
238
|
networkUrl?: string;
|
|
242
239
|
}
|
|
243
240
|
interface ManagedZonePrivateVisibilityConfig {
|
|
@@ -254,7 +251,7 @@ declare namespace gapi.client {
|
|
|
254
251
|
}
|
|
255
252
|
interface ManagedZonePrivateVisibilityConfigNetwork {
|
|
256
253
|
kind?: string;
|
|
257
|
-
/** The fully qualified URL of the VPC network to bind to. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} */
|
|
254
|
+
/** The fully qualified URL of the VPC network to bind to. Format this URL like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}` */
|
|
258
255
|
networkUrl?: string;
|
|
259
256
|
}
|
|
260
257
|
interface ManagedZoneReverseLookupConfig {
|
|
@@ -269,16 +266,15 @@ declare namespace gapi.client {
|
|
|
269
266
|
/** The time that the namespace backing this zone was deleted; an empty string if it still exists. This is in RFC3339 text format. Output only. */
|
|
270
267
|
deletionTime?: string;
|
|
271
268
|
kind?: string;
|
|
272
|
-
/** The fully qualified URL of the namespace associated with the zone. Format must be https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace} */
|
|
269
|
+
/** The fully qualified URL of the namespace associated with the zone. Format must be `https://servicedirectory.googleapis.com/v1/projects/{project}/locations/{location}/namespaces/{namespace}` */
|
|
273
270
|
namespaceUrl?: string;
|
|
274
271
|
}
|
|
275
272
|
interface ManagedZonesListResponse {
|
|
276
|
-
header?: ResponseHeader;
|
|
277
273
|
/** Type of resource. */
|
|
278
274
|
kind?: string;
|
|
279
275
|
/** The managed zone resources. */
|
|
280
276
|
managedZones?: ManagedZone[];
|
|
281
|
-
/**
|
|
277
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
282
278
|
nextPageToken?: string;
|
|
283
279
|
}
|
|
284
280
|
interface Operation {
|
|
@@ -311,20 +307,17 @@ declare namespace gapi.client {
|
|
|
311
307
|
oldValue?: ManagedZone;
|
|
312
308
|
}
|
|
313
309
|
interface PoliciesListResponse {
|
|
314
|
-
header?: ResponseHeader;
|
|
315
310
|
/** Type of resource. */
|
|
316
311
|
kind?: string;
|
|
317
|
-
/**
|
|
312
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
318
313
|
nextPageToken?: string;
|
|
319
314
|
/** The policy resources. */
|
|
320
315
|
policies?: Policy[];
|
|
321
316
|
}
|
|
322
317
|
interface PoliciesPatchResponse {
|
|
323
|
-
header?: ResponseHeader;
|
|
324
318
|
policy?: Policy;
|
|
325
319
|
}
|
|
326
320
|
interface PoliciesUpdateResponse {
|
|
327
|
-
header?: ResponseHeader;
|
|
328
321
|
policy?: Policy;
|
|
329
322
|
}
|
|
330
323
|
interface Policy {
|
|
@@ -427,43 +420,35 @@ declare namespace gapi.client {
|
|
|
427
420
|
kind?: string;
|
|
428
421
|
/** For example, www.example.com. */
|
|
429
422
|
name?: string;
|
|
430
|
-
/** Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution). */
|
|
423
|
+
/** Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid `ResourceRecordSet` contains only `rrdata` (for static resolution) or a `routing_policy` (for dynamic resolution). */
|
|
431
424
|
routingPolicy?: RRSetRoutingPolicy;
|
|
432
425
|
/** As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples. */
|
|
433
426
|
rrdatas?: string[];
|
|
434
427
|
/** As defined in RFC 4034 (section 3.2). */
|
|
435
428
|
signatureRrdatas?: string[];
|
|
436
|
-
/** Number of seconds that this ResourceRecordSet can be cached by resolvers. */
|
|
429
|
+
/** Number of seconds that this `ResourceRecordSet` can be cached by resolvers. */
|
|
437
430
|
ttl?: number;
|
|
438
431
|
/** The identifier of a supported record type. See the list of Supported DNS record types. */
|
|
439
432
|
type?: string;
|
|
440
433
|
}
|
|
441
434
|
interface ResourceRecordSetsListResponse {
|
|
442
|
-
header?: ResponseHeader;
|
|
443
435
|
/** Type of resource. */
|
|
444
436
|
kind?: string;
|
|
445
|
-
/**
|
|
437
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
446
438
|
nextPageToken?: string;
|
|
447
439
|
/** The resource record set resources. */
|
|
448
440
|
rrsets?: ResourceRecordSet[];
|
|
449
441
|
}
|
|
450
|
-
interface ResponseHeader {
|
|
451
|
-
/** For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only). */
|
|
452
|
-
operationId?: string;
|
|
453
|
-
}
|
|
454
442
|
interface ResponsePoliciesListResponse {
|
|
455
|
-
|
|
456
|
-
/** The presence of this field indicates that more results exist following your last page of results in pagination order. To fetch them, make another list request by using this value as your page token. This lets you view the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
443
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
457
444
|
nextPageToken?: string;
|
|
458
445
|
/** The Response Policy resources. */
|
|
459
446
|
responsePolicies?: ResponsePolicy[];
|
|
460
447
|
}
|
|
461
448
|
interface ResponsePoliciesPatchResponse {
|
|
462
|
-
header?: ResponseHeader;
|
|
463
449
|
responsePolicy?: ResponsePolicy;
|
|
464
450
|
}
|
|
465
451
|
interface ResponsePoliciesUpdateResponse {
|
|
466
|
-
header?: ResponseHeader;
|
|
467
452
|
responsePolicy?: ResponsePolicy;
|
|
468
453
|
}
|
|
469
454
|
interface ResponsePolicy {
|
|
@@ -488,7 +473,7 @@ declare namespace gapi.client {
|
|
|
488
473
|
}
|
|
489
474
|
interface ResponsePolicyNetwork {
|
|
490
475
|
kind?: string;
|
|
491
|
-
/** The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} */
|
|
476
|
+
/** The fully qualified URL of the VPC network to bind to. This should be formatted like `https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}` */
|
|
492
477
|
networkUrl?: string;
|
|
493
478
|
}
|
|
494
479
|
interface ResponsePolicyRule {
|
|
@@ -507,18 +492,15 @@ declare namespace gapi.client {
|
|
|
507
492
|
localDatas?: ResourceRecordSet[];
|
|
508
493
|
}
|
|
509
494
|
interface ResponsePolicyRulesListResponse {
|
|
510
|
-
|
|
511
|
-
/** The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your page token. This lets you the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
495
|
+
/** This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size. */
|
|
512
496
|
nextPageToken?: string;
|
|
513
497
|
/** The Response Policy Rule resources. */
|
|
514
498
|
responsePolicyRules?: ResponsePolicyRule[];
|
|
515
499
|
}
|
|
516
500
|
interface ResponsePolicyRulesPatchResponse {
|
|
517
|
-
header?: ResponseHeader;
|
|
518
501
|
responsePolicyRule?: ResponsePolicyRule;
|
|
519
502
|
}
|
|
520
503
|
interface ResponsePolicyRulesUpdateResponse {
|
|
521
|
-
header?: ResponseHeader;
|
|
522
504
|
responsePolicyRule?: ResponsePolicyRule;
|
|
523
505
|
}
|
|
524
506
|
interface RRSetRoutingPolicy {
|
|
@@ -537,13 +519,13 @@ declare namespace gapi.client {
|
|
|
537
519
|
kind?: string;
|
|
538
520
|
}
|
|
539
521
|
interface RRSetRoutingPolicyGeoPolicyGeoPolicyItem {
|
|
540
|
-
/** For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with rrdata within this item. */
|
|
522
|
+
/** For A and AAAA types only. Endpoints to return in the query result only if they are healthy. These can be specified along with `rrdata` within this item. */
|
|
541
523
|
healthCheckedTargets?: RRSetRoutingPolicyHealthCheckTargets;
|
|
542
524
|
kind?: string;
|
|
543
525
|
/** The geo-location granularity is a GCP region. This location string should correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1", etc. */
|
|
544
526
|
location?: string;
|
|
545
527
|
rrdatas?: string[];
|
|
546
|
-
/** DNSSEC generated signatures for all the rrdata within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. */
|
|
528
|
+
/** DNSSEC generated signatures for all the `rrdata` within this item. If health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. */
|
|
547
529
|
signatureRrdatas?: string[];
|
|
548
530
|
}
|
|
549
531
|
interface RRSetRoutingPolicyHealthCheckTargets {
|
|
@@ -558,7 +540,7 @@ declare namespace gapi.client {
|
|
|
558
540
|
kind?: string;
|
|
559
541
|
/** 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. */
|
|
560
542
|
loadBalancerType?: string;
|
|
561
|
-
/** 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}
|
|
543
|
+
/** 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}`. */
|
|
562
544
|
networkUrl?: string;
|
|
563
545
|
/** The configured port of the load balancer. */
|
|
564
546
|
port?: string;
|
|
@@ -568,12 +550,12 @@ declare namespace gapi.client {
|
|
|
568
550
|
region?: string;
|
|
569
551
|
}
|
|
570
552
|
interface RRSetRoutingPolicyPrimaryBackupPolicy {
|
|
571
|
-
/** Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP
|
|
553
|
+
/** Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to `BACKUP`, this policy essentially becomes a geo routing policy. */
|
|
572
554
|
backupGeoTargets?: RRSetRoutingPolicyGeoPolicy;
|
|
573
555
|
kind?: string;
|
|
574
|
-
/** Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets
|
|
556
|
+
/** Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the `backup_geo_targets`. */
|
|
575
557
|
primaryTargets?: RRSetRoutingPolicyHealthCheckTargets;
|
|
576
|
-
/** When serving state is PRIMARY
|
|
558
|
+
/** When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets. */
|
|
577
559
|
trickleTraffic?: number;
|
|
578
560
|
}
|
|
579
561
|
interface RRSetRoutingPolicyWrrPolicy {
|
|
@@ -581,13 +563,13 @@ declare namespace gapi.client {
|
|
|
581
563
|
kind?: string;
|
|
582
564
|
}
|
|
583
565
|
interface RRSetRoutingPolicyWrrPolicyWrrPolicyItem {
|
|
584
|
-
/** Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of rrdata or health_checked_targets can be set. */
|
|
566
|
+
/** Endpoints that are health checked before making the routing decision. The unhealthy endpoints are omitted from the result. If all endpoints within a bucket are unhealthy, we choose a different bucket (sampled with respect to its weight) for responding. If DNSSEC is enabled for this zone, only one of `rrdata` or `health_checked_targets` can be set. */
|
|
585
567
|
healthCheckedTargets?: RRSetRoutingPolicyHealthCheckTargets;
|
|
586
568
|
kind?: string;
|
|
587
569
|
rrdatas?: string[];
|
|
588
|
-
/** DNSSEC generated signatures for all the rrdata within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. */
|
|
570
|
+
/** DNSSEC generated signatures for all the `rrdata` within this item. Note that if health checked targets are provided for DNSSEC enabled zones, there's a restriction of 1 IP address per item. */
|
|
589
571
|
signatureRrdatas?: string[];
|
|
590
|
-
/** 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. */
|
|
572
|
+
/** 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. */
|
|
591
573
|
weight?: number;
|
|
592
574
|
}
|
|
593
575
|
interface ChangesResource {
|