@googleapis/dns 2.0.0 → 6.0.0

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/v1beta2.ts CHANGED
@@ -143,7 +143,7 @@ export namespace dns_v1beta2 {
143
143
  }
144
144
 
145
145
  /**
146
- * A Change represents a set of ResourceRecordSet additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the ResourceRecordSets in a ManagedZone. The current state of the ManagedZone is the sum effect of applying all Change elements in the Changes collection in sequence.
146
+ * A Change represents a set of `ResourceRecordSet` additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the `ResourceRecordSets` in a `ManagedZone`. The current state of the `ManagedZone` is the sum effect of applying all `Change` elements in the `Changes` collection in sequence.
147
147
  */
148
148
  export interface Schema$Change {
149
149
  /**
@@ -180,13 +180,12 @@ export namespace dns_v1beta2 {
180
180
  * The requested changes.
181
181
  */
182
182
  changes?: Schema$Change[];
183
- header?: Schema$ResponseHeader;
184
183
  /**
185
184
  * Type of resource.
186
185
  */
187
186
  kind?: string | null;
188
187
  /**
189
- * 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 pagination token. This lets you retrieve 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 "snapshot" of collections larger than the maximum page size.
188
+ * 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.
190
189
  */
191
190
  nextPageToken?: string | null;
192
191
  }
@@ -254,13 +253,12 @@ export namespace dns_v1beta2 {
254
253
  * The requested resources.
255
254
  */
256
255
  dnsKeys?: Schema$DnsKey[];
257
- header?: Schema$ResponseHeader;
258
256
  /**
259
257
  * Type of resource.
260
258
  */
261
259
  kind?: string | null;
262
260
  /**
263
- * 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 pagination token. In this way you can retrieve 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. There is no way to retrieve a "snapshot" of collections larger than the maximum page size.
261
+ * 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.
264
262
  */
265
263
  nextPageToken?: string | null;
266
264
  }
@@ -531,13 +529,12 @@ export namespace dns_v1beta2 {
531
529
  kind?: string | null;
532
530
  }
533
531
  export interface Schema$ManagedZoneOperationsListResponse {
534
- header?: Schema$ResponseHeader;
535
532
  /**
536
533
  * Type of resource.
537
534
  */
538
535
  kind?: string | null;
539
536
  /**
540
- * 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 retrieve 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.
537
+ * 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.
541
538
  */
542
539
  nextPageToken?: string | null;
543
540
  /**
@@ -559,7 +556,7 @@ export namespace dns_v1beta2 {
559
556
  deactivateTime?: string | null;
560
557
  kind?: string | null;
561
558
  /**
562
- * 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\}
559
+ * 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\}`
563
560
  */
564
561
  networkUrl?: string | null;
565
562
  }
@@ -584,7 +581,7 @@ export namespace dns_v1beta2 {
584
581
  export interface Schema$ManagedZonePrivateVisibilityConfigNetwork {
585
582
  kind?: string | null;
586
583
  /**
587
- * 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\}
584
+ * 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\}`
588
585
  */
589
586
  networkUrl?: string | null;
590
587
  }
@@ -608,12 +605,11 @@ export namespace dns_v1beta2 {
608
605
  deletionTime?: string | null;
609
606
  kind?: string | null;
610
607
  /**
611
- * 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\}
608
+ * 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\}`
612
609
  */
613
610
  namespaceUrl?: string | null;
614
611
  }
615
612
  export interface Schema$ManagedZonesListResponse {
616
- header?: Schema$ResponseHeader;
617
613
  /**
618
614
  * Type of resource.
619
615
  */
@@ -623,7 +619,7 @@ export namespace dns_v1beta2 {
623
619
  */
624
620
  managedZones?: Schema$ManagedZone[];
625
621
  /**
626
- * 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.
622
+ * 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.
627
623
  */
628
624
  nextPageToken?: string | null;
629
625
  }
@@ -682,13 +678,12 @@ export namespace dns_v1beta2 {
682
678
  oldValue?: Schema$ManagedZone;
683
679
  }
684
680
  export interface Schema$PoliciesListResponse {
685
- header?: Schema$ResponseHeader;
686
681
  /**
687
682
  * Type of resource.
688
683
  */
689
684
  kind?: string | null;
690
685
  /**
691
- * 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.
686
+ * 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.
692
687
  */
693
688
  nextPageToken?: string | null;
694
689
  /**
@@ -697,11 +692,9 @@ export namespace dns_v1beta2 {
697
692
  policies?: Schema$Policy[];
698
693
  }
699
694
  export interface Schema$PoliciesPatchResponse {
700
- header?: Schema$ResponseHeader;
701
695
  policy?: Schema$Policy;
702
696
  }
703
697
  export interface Schema$PoliciesUpdateResponse {
704
- header?: Schema$ResponseHeader;
705
698
  policy?: Schema$Policy;
706
699
  }
707
700
  /**
@@ -768,7 +761,7 @@ export namespace dns_v1beta2 {
768
761
  networkUrl?: string | null;
769
762
  }
770
763
  /**
771
- * A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console. Next tag: 7.
764
+ * A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console.
772
765
  */
773
766
  export interface Schema$Project {
774
767
  /**
@@ -805,6 +798,7 @@ export namespace dns_v1beta2 {
805
798
  * Maximum allowed number of GKE clusters per response policy.
806
799
  */
807
800
  gkeClustersPerResponsePolicy?: number | null;
801
+ internetHealthChecksPerManagedZone?: number | null;
808
802
  /**
809
803
  * Maximum allowed number of items per routing policy.
810
804
  */
@@ -897,7 +891,7 @@ export namespace dns_v1beta2 {
897
891
  */
898
892
  name?: string | null;
899
893
  /**
900
- * 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).
894
+ * 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).
901
895
  */
902
896
  routingPolicy?: Schema$RRSetRoutingPolicy;
903
897
  /**
@@ -909,7 +903,7 @@ export namespace dns_v1beta2 {
909
903
  */
910
904
  signatureRrdatas?: string[] | null;
911
905
  /**
912
- * Number of seconds that this ResourceRecordSet can be cached by resolvers.
906
+ * Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
913
907
  */
914
908
  ttl?: number | null;
915
909
  /**
@@ -918,13 +912,12 @@ export namespace dns_v1beta2 {
918
912
  type?: string | null;
919
913
  }
920
914
  export interface Schema$ResourceRecordSetsListResponse {
921
- header?: Schema$ResponseHeader;
922
915
  /**
923
916
  * Type of resource.
924
917
  */
925
918
  kind?: string | null;
926
919
  /**
927
- * 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 pagination token. This lets you retrieve the complete contents of even larger collections, one page at a time. However, if the collection changes between paginated list requests, the set of elements returned is an inconsistent view of the collection. You cannot retrieve a consistent snapshot of a collection larger than the maximum page size.
920
+ * 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.
928
921
  */
929
922
  nextPageToken?: string | null;
930
923
  /**
@@ -932,19 +925,9 @@ export namespace dns_v1beta2 {
932
925
  */
933
926
  rrsets?: Schema$ResourceRecordSet[];
934
927
  }
935
- /**
936
- * Elements common to every response.
937
- */
938
- export interface Schema$ResponseHeader {
939
- /**
940
- * 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).
941
- */
942
- operationId?: string | null;
943
- }
944
928
  export interface Schema$ResponsePoliciesListResponse {
945
- header?: Schema$ResponseHeader;
946
929
  /**
947
- * 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.
930
+ * 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.
948
931
  */
949
932
  nextPageToken?: string | null;
950
933
  /**
@@ -953,11 +936,9 @@ export namespace dns_v1beta2 {
953
936
  responsePolicies?: Schema$ResponsePolicy[];
954
937
  }
955
938
  export interface Schema$ResponsePoliciesPatchResponse {
956
- header?: Schema$ResponseHeader;
957
939
  responsePolicy?: Schema$ResponsePolicy;
958
940
  }
959
941
  export interface Schema$ResponsePoliciesUpdateResponse {
960
- header?: Schema$ResponseHeader;
961
942
  responsePolicy?: Schema$ResponsePolicy;
962
943
  }
963
944
  /**
@@ -1000,7 +981,7 @@ export namespace dns_v1beta2 {
1000
981
  export interface Schema$ResponsePolicyNetwork {
1001
982
  kind?: string | null;
1002
983
  /**
1003
- * 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\}
984
+ * 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\}`
1004
985
  */
1005
986
  networkUrl?: string | null;
1006
987
  }
@@ -1033,9 +1014,8 @@ export namespace dns_v1beta2 {
1033
1014
  localDatas?: Schema$ResourceRecordSet[];
1034
1015
  }
1035
1016
  export interface Schema$ResponsePolicyRulesListResponse {
1036
- header?: Schema$ResponseHeader;
1037
1017
  /**
1038
- * 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.
1018
+ * 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.
1039
1019
  */
1040
1020
  nextPageToken?: string | null;
1041
1021
  /**
@@ -1044,11 +1024,9 @@ export namespace dns_v1beta2 {
1044
1024
  responsePolicyRules?: Schema$ResponsePolicyRule[];
1045
1025
  }
1046
1026
  export interface Schema$ResponsePolicyRulesPatchResponse {
1047
- header?: Schema$ResponseHeader;
1048
1027
  responsePolicyRule?: Schema$ResponsePolicyRule;
1049
1028
  }
1050
1029
  export interface Schema$ResponsePolicyRulesUpdateResponse {
1051
- header?: Schema$ResponseHeader;
1052
1030
  responsePolicyRule?: Schema$ResponsePolicyRule;
1053
1031
  }
1054
1032
  /**
@@ -1057,13 +1035,17 @@ export namespace dns_v1beta2 {
1057
1035
  export interface Schema$RRSetRoutingPolicy {
1058
1036
  geo?: Schema$RRSetRoutingPolicyGeoPolicy;
1059
1037
  geoPolicy?: Schema$RRSetRoutingPolicyGeoPolicy;
1038
+ /**
1039
+ * The selfLink attribute of the HealthCheck resource to use for this RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
1040
+ */
1041
+ healthCheck?: string | null;
1060
1042
  kind?: string | null;
1061
1043
  primaryBackup?: Schema$RRSetRoutingPolicyPrimaryBackupPolicy;
1062
1044
  wrr?: Schema$RRSetRoutingPolicyWrrPolicy;
1063
1045
  wrrPolicy?: Schema$RRSetRoutingPolicyWrrPolicy;
1064
1046
  }
1065
1047
  /**
1066
- * Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.
1048
+ * Configures a `RRSetRoutingPolicy` that routes based on the geo location of the querying user.
1067
1049
  */
1068
1050
  export interface Schema$RRSetRoutingPolicyGeoPolicy {
1069
1051
  /**
@@ -1081,7 +1063,7 @@ export namespace dns_v1beta2 {
1081
1063
  */
1082
1064
  export interface Schema$RRSetRoutingPolicyGeoPolicyGeoPolicyItem {
1083
1065
  /**
1084
- * 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.
1066
+ * 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.
1085
1067
  */
1086
1068
  healthCheckedTargets?: Schema$RRSetRoutingPolicyHealthCheckTargets;
1087
1069
  kind?: string | null;
@@ -1091,14 +1073,18 @@ export namespace dns_v1beta2 {
1091
1073
  location?: string | null;
1092
1074
  rrdatas?: string[] | null;
1093
1075
  /**
1094
- * 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.
1076
+ * 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.
1095
1077
  */
1096
1078
  signatureRrdatas?: string[] | null;
1097
1079
  }
1098
1080
  /**
1099
- * HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response. Only one of internal_load_balancer and external_endpoints should be set.
1081
+ * HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries. Only the healthy endpoints will be included in the response.
1100
1082
  */
1101
1083
  export interface Schema$RRSetRoutingPolicyHealthCheckTargets {
1084
+ /**
1085
+ * The Internet IP addresses to be health checked. The format matches the format of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1)
1086
+ */
1087
+ externalEndpoints?: string[] | null;
1102
1088
  /**
1103
1089
  * Configuration for internal load balancers to be health checked.
1104
1090
  */
@@ -1122,7 +1108,7 @@ export namespace dns_v1beta2 {
1122
1108
  */
1123
1109
  loadBalancerType?: string | null;
1124
1110
  /**
1125
- * 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\} .
1111
+ * 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\}`.
1126
1112
  */
1127
1113
  networkUrl?: string | null;
1128
1114
  /**
@@ -1143,16 +1129,16 @@ export namespace dns_v1beta2 {
1143
1129
  */
1144
1130
  export interface Schema$RRSetRoutingPolicyPrimaryBackupPolicy {
1145
1131
  /**
1146
- * 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.
1132
+ * 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.
1147
1133
  */
1148
1134
  backupGeoTargets?: Schema$RRSetRoutingPolicyGeoPolicy;
1149
1135
  kind?: string | null;
1150
1136
  /**
1151
- * 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.
1137
+ * 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`.
1152
1138
  */
1153
1139
  primaryTargets?: Schema$RRSetRoutingPolicyHealthCheckTargets;
1154
1140
  /**
1155
- * When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets.
1141
+ * When serving state is `PRIMARY`, this field provides the option of sending a small percentage of the traffic to the backup targets.
1156
1142
  */
1157
1143
  trickleTraffic?: number | null;
1158
1144
  }
@@ -1168,17 +1154,17 @@ export namespace dns_v1beta2 {
1168
1154
  */
1169
1155
  export interface Schema$RRSetRoutingPolicyWrrPolicyWrrPolicyItem {
1170
1156
  /**
1171
- * 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.
1157
+ * 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.
1172
1158
  */
1173
1159
  healthCheckedTargets?: Schema$RRSetRoutingPolicyHealthCheckTargets;
1174
1160
  kind?: string | null;
1175
1161
  rrdatas?: string[] | null;
1176
1162
  /**
1177
- * 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.
1163
+ * 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.
1178
1164
  */
1179
1165
  signatureRrdatas?: string[] | null;
1180
1166
  /**
1181
- * 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.
1167
+ * 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.
1182
1168
  */
1183
1169
  weight?: number | null;
1184
1170
  }