Skip to content

Commit dacf6c0

Browse files
feat: Automated regeneration of dns v1 client (#19959)
Auto-created at 2024-07-25 20:29:21 +0000 using the toys pull request generator.
1 parent 1ab4db0 commit dacf6c0

5 files changed

Lines changed: 32 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197695,6 +197695,7 @@
197695197695
"/dns:v1/Quota/gkeClustersPerManagedZone": gke_clusters_per_managed_zone
197696197696
"/dns:v1/Quota/gkeClustersPerPolicy": gke_clusters_per_policy
197697197697
"/dns:v1/Quota/gkeClustersPerResponsePolicy": gke_clusters_per_response_policy
197698+
"/dns:v1/Quota/internetHealthChecksPerManagedZone": internet_health_checks_per_managed_zone
197698197699
"/dns:v1/Quota/itemsPerRoutingPolicy": items_per_routing_policy
197699197700
"/dns:v1/Quota/kind": kind
197700197701
"/dns:v1/Quota/managedZones": managed_zones

generated/google-apis-dns_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dns_v1
22

3+
### v0.44.0 (2024-07-25)
4+
5+
* Regenerated from discovery document revision 20240719
6+
37
### v0.43.0 (2024-06-09)
48

59
* Regenerated from discovery document revision 20240531

generated/google-apis-dns_v1/lib/google/apis/dns_v1/classes.rb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,6 +1792,11 @@ class Quota
17921792
# @return [Fixnum]
17931793
attr_accessor :gke_clusters_per_response_policy
17941794

1795+
#
1796+
# Corresponds to the JSON property `internetHealthChecksPerManagedZone`
1797+
# @return [Fixnum]
1798+
attr_accessor :internet_health_checks_per_managed_zone
1799+
17951800
# Maximum allowed number of items per routing policy.
17961801
# Corresponds to the JSON property `itemsPerRoutingPolicy`
17971802
# @return [Fixnum]
@@ -1910,6 +1915,7 @@ def update!(**args)
19101915
@gke_clusters_per_managed_zone = args[:gke_clusters_per_managed_zone] if args.key?(:gke_clusters_per_managed_zone)
19111916
@gke_clusters_per_policy = args[:gke_clusters_per_policy] if args.key?(:gke_clusters_per_policy)
19121917
@gke_clusters_per_response_policy = args[:gke_clusters_per_response_policy] if args.key?(:gke_clusters_per_response_policy)
1918+
@internet_health_checks_per_managed_zone = args[:internet_health_checks_per_managed_zone] if args.key?(:internet_health_checks_per_managed_zone)
19131919
@items_per_routing_policy = args[:items_per_routing_policy] if args.key?(:items_per_routing_policy)
19141920
@kind = args[:kind] if args.key?(:kind)
19151921
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
@@ -1946,6 +1952,13 @@ class RrSetRoutingPolicy
19461952
# @return [Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy]
19471953
attr_accessor :geo
19481954

1955+
# The selfLink attribute of the HealthCheck resource to use for this
1956+
# RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/
1957+
# healthChecks
1958+
# Corresponds to the JSON property `healthCheck`
1959+
# @return [String]
1960+
attr_accessor :health_check
1961+
19491962
#
19501963
# Corresponds to the JSON property `kind`
19511964
# @return [String]
@@ -1970,6 +1983,7 @@ def initialize(**args)
19701983
# Update properties of this object
19711984
def update!(**args)
19721985
@geo = args[:geo] if args.key?(:geo)
1986+
@health_check = args[:health_check] if args.key?(:health_check)
19731987
@kind = args[:kind] if args.key?(:kind)
19741988
@primary_backup = args[:primary_backup] if args.key?(:primary_backup)
19751989
@wrr = args[:wrr] if args.key?(:wrr)
@@ -2070,6 +2084,13 @@ def update!(**args)
20702084
class RrSetRoutingPolicyHealthCheckTargets
20712085
include Google::Apis::Core::Hashable
20722086

2087+
# The Internet IP addresses to be health checked. The format matches the format
2088+
# of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (
2089+
# section 3.6.1)
2090+
# Corresponds to the JSON property `externalEndpoints`
2091+
# @return [Array<String>]
2092+
attr_accessor :external_endpoints
2093+
20732094
# Configuration for internal load balancers to be health checked.
20742095
# Corresponds to the JSON property `internalLoadBalancers`
20752096
# @return [Array<Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget>]
@@ -2081,6 +2102,7 @@ def initialize(**args)
20812102

20822103
# Update properties of this object
20832104
def update!(**args)
2105+
@external_endpoints = args[:external_endpoints] if args.key?(:external_endpoints)
20842106
@internal_load_balancers = args[:internal_load_balancers] if args.key?(:internal_load_balancers)
20852107
end
20862108
end

generated/google-apis-dns_v1/lib/google/apis/dns_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DnsV1
1818
# Version of the google-apis-dns_v1 gem
19-
GEM_VERSION = "0.43.0"
19+
GEM_VERSION = "0.44.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240531"
25+
REVISION = "20240719"
2626
end
2727
end
2828
end

generated/google-apis-dns_v1/lib/google/apis/dns_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
851851
property :gke_clusters_per_managed_zone, as: 'gkeClustersPerManagedZone'
852852
property :gke_clusters_per_policy, as: 'gkeClustersPerPolicy'
853853
property :gke_clusters_per_response_policy, as: 'gkeClustersPerResponsePolicy'
854+
property :internet_health_checks_per_managed_zone, as: 'internetHealthChecksPerManagedZone'
854855
property :items_per_routing_policy, as: 'itemsPerRoutingPolicy'
855856
property :kind, as: 'kind'
856857
property :managed_zones, as: 'managedZones'
@@ -881,6 +882,7 @@ class RrSetRoutingPolicy
881882
class Representation < Google::Apis::Core::JsonRepresentation
882883
property :geo, as: 'geo', class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicy::Representation
883884

885+
property :health_check, as: 'healthCheck'
884886
property :kind, as: 'kind'
885887
property :primary_backup, as: 'primaryBackup', class: Google::Apis::DnsV1::RrSetRoutingPolicyPrimaryBackupPolicy, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyPrimaryBackupPolicy::Representation
886888

@@ -914,6 +916,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
914916
class RrSetRoutingPolicyHealthCheckTargets
915917
# @private
916918
class Representation < Google::Apis::Core::JsonRepresentation
919+
collection :external_endpoints, as: 'externalEndpoints'
917920
collection :internal_load_balancers, as: 'internalLoadBalancers', class: Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget, decorator: Google::Apis::DnsV1::RrSetRoutingPolicyLoadBalancerTarget::Representation
918921

919922
end

0 commit comments

Comments
 (0)