Skip to content

Commit 86ecb77

Browse files
yoshi-automationsofisl
authored andcommitted
feat(dns): update the API
#### dns:v1beta2 The following keys were added: - schemas.Policy.properties.dns64Config.$ref - schemas.Policy.properties.dns64Config.description - schemas.PolicyDns64Config.description - schemas.PolicyDns64Config.id - schemas.PolicyDns64Config.properties.kind.default - schemas.PolicyDns64Config.properties.kind.type - schemas.PolicyDns64Config.properties.scope.$ref - schemas.PolicyDns64Config.properties.scope.description - schemas.PolicyDns64Config.type - schemas.PolicyDns64ConfigScope.id - schemas.PolicyDns64ConfigScope.properties.allQueries.description - schemas.PolicyDns64ConfigScope.properties.allQueries.type - schemas.PolicyDns64ConfigScope.properties.kind.default - schemas.PolicyDns64ConfigScope.properties.kind.type - schemas.PolicyDns64ConfigScope.type #### dns:v1 The following keys were added: - schemas.Policy.properties.dns64Config.$ref - schemas.Policy.properties.dns64Config.description - schemas.PolicyDns64Config.description - schemas.PolicyDns64Config.id - schemas.PolicyDns64Config.properties.kind.default - schemas.PolicyDns64Config.properties.kind.type - schemas.PolicyDns64Config.properties.scope.$ref - schemas.PolicyDns64Config.properties.scope.description - schemas.PolicyDns64Config.type - schemas.PolicyDns64ConfigScope.id - schemas.PolicyDns64ConfigScope.properties.allQueries.description - schemas.PolicyDns64ConfigScope.properties.allQueries.type - schemas.PolicyDns64ConfigScope.properties.kind.default - schemas.PolicyDns64ConfigScope.properties.kind.type - schemas.PolicyDns64ConfigScope.type
1 parent b4234fe commit 86ecb77

File tree

4 files changed

+110
-2
lines changed

4 files changed

+110
-2
lines changed

‎discovery/dns-v1.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@
18241824
}
18251825
}
18261826
},
1827-
"revision": "20240719",
1827+
"revision": "20250102",
18281828
"rootUrl": "https://dns.googleapis.com/",
18291829
"schemas": {
18301830
"Change": {
@@ -2753,6 +2753,10 @@
27532753
"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.",
27542754
"type": "string"
27552755
},
2756+
"dns64Config": {
2757+
"$ref": "PolicyDns64Config",
2758+
"description": "Configurations related to DNS64 for this Policy."
2759+
},
27562760
"enableInboundForwarding": {
27572761
"description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.",
27582762
"type": "boolean"
@@ -2831,6 +2835,35 @@
28312835
},
28322836
"type": "object"
28332837
},
2838+
"PolicyDns64Config": {
2839+
"description": "DNS64 policies",
2840+
"id": "PolicyDns64Config",
2841+
"properties": {
2842+
"kind": {
2843+
"default": "dns#policyDns64Config",
2844+
"type": "string"
2845+
},
2846+
"scope": {
2847+
"$ref": "PolicyDns64ConfigScope",
2848+
"description": "The scope to which DNS64 config will be applied to."
2849+
}
2850+
},
2851+
"type": "object"
2852+
},
2853+
"PolicyDns64ConfigScope": {
2854+
"id": "PolicyDns64ConfigScope",
2855+
"properties": {
2856+
"allQueries": {
2857+
"description": "Controls whether DNS64 is enabled globally at the network level.",
2858+
"type": "boolean"
2859+
},
2860+
"kind": {
2861+
"default": "dns#policyDns64ConfigScope",
2862+
"type": "string"
2863+
}
2864+
},
2865+
"type": "object"
2866+
},
28342867
"PolicyNetwork": {
28352868
"id": "PolicyNetwork",
28362869
"properties": {

‎discovery/dns-v1beta2.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,7 @@
18211821
}
18221822
}
18231823
},
1824-
"revision": "20240719",
1824+
"revision": "20250102",
18251825
"rootUrl": "https://dns.googleapis.com/",
18261826
"schemas": {
18271827
"Change": {
@@ -2750,6 +2750,10 @@
27502750
"description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.",
27512751
"type": "string"
27522752
},
2753+
"dns64Config": {
2754+
"$ref": "PolicyDns64Config",
2755+
"description": "Configurations related to DNS64 for this Policy."
2756+
},
27532757
"enableInboundForwarding": {
27542758
"description": "Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.",
27552759
"type": "boolean"
@@ -2828,6 +2832,35 @@
28282832
},
28292833
"type": "object"
28302834
},
2835+
"PolicyDns64Config": {
2836+
"description": "DNS64 policies",
2837+
"id": "PolicyDns64Config",
2838+
"properties": {
2839+
"kind": {
2840+
"default": "dns#policyDns64Config",
2841+
"type": "string"
2842+
},
2843+
"scope": {
2844+
"$ref": "PolicyDns64ConfigScope",
2845+
"description": "The scope to which DNS64 config will be applied to."
2846+
}
2847+
},
2848+
"type": "object"
2849+
},
2850+
"PolicyDns64ConfigScope": {
2851+
"id": "PolicyDns64ConfigScope",
2852+
"properties": {
2853+
"allQueries": {
2854+
"description": "Controls whether DNS64 is enabled globally at the network level.",
2855+
"type": "boolean"
2856+
},
2857+
"kind": {
2858+
"default": "dns#policyDns64ConfigScope",
2859+
"type": "string"
2860+
}
2861+
},
2862+
"type": "object"
2863+
},
28312864
"PolicyNetwork": {
28322865
"id": "PolicyNetwork",
28332866
"properties": {

‎src/apis/dns/v1.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,10 @@ export namespace dns_v1 {
709709
* A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.
710710
*/
711711
description?: string | null;
712+
/**
713+
* Configurations related to DNS64 for this Policy.
714+
*/
715+
dns64Config?: Schema$PolicyDns64Config;
712716
/**
713717
* Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.
714718
*/
@@ -753,6 +757,23 @@ export namespace dns_v1 {
753757
ipv6Address?: string | null;
754758
kind?: string | null;
755759
}
760+
/**
761+
* DNS64 policies
762+
*/
763+
export interface Schema$PolicyDns64Config {
764+
kind?: string | null;
765+
/**
766+
* The scope to which DNS64 config will be applied to.
767+
*/
768+
scope?: Schema$PolicyDns64ConfigScope;
769+
}
770+
export interface Schema$PolicyDns64ConfigScope {
771+
/**
772+
* Controls whether DNS64 is enabled globally at the network level.
773+
*/
774+
allQueries?: boolean | null;
775+
kind?: string | null;
776+
}
756777
export interface Schema$PolicyNetwork {
757778
kind?: string | null;
758779
/**

‎src/apis/dns/v1beta2.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,10 @@ export namespace dns_v1beta2 {
709709
* A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.
710710
*/
711711
description?: string | null;
712+
/**
713+
* Configurations related to DNS64 for this Policy.
714+
*/
715+
dns64Config?: Schema$PolicyDns64Config;
712716
/**
713717
* Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.
714718
*/
@@ -753,6 +757,23 @@ export namespace dns_v1beta2 {
753757
ipv6Address?: string | null;
754758
kind?: string | null;
755759
}
760+
/**
761+
* DNS64 policies
762+
*/
763+
export interface Schema$PolicyDns64Config {
764+
kind?: string | null;
765+
/**
766+
* The scope to which DNS64 config will be applied to.
767+
*/
768+
scope?: Schema$PolicyDns64ConfigScope;
769+
}
770+
export interface Schema$PolicyDns64ConfigScope {
771+
/**
772+
* Controls whether DNS64 is enabled globally at the network level.
773+
*/
774+
allQueries?: boolean | null;
775+
kind?: string | null;
776+
}
756777
export interface Schema$PolicyNetwork {
757778
kind?: string | null;
758779
/**

0 commit comments

Comments
 (0)