google-apis-dns_v1beta2 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24545d5d3d9c9a8821d1bff9f84e7767f879412c0bee2229b3a4e30e62887840
4
- data.tar.gz: 7db80292686502b836d879bc8b14759380142823d383606d1de9a86bf2e6aee1
3
+ metadata.gz: 9a1b250bb7da54c4b242ea52c9d5890aebf4f8cf203a6547efc189572c84abb2
4
+ data.tar.gz: 6463efb2672ffa5dadd9d0c4fe8354d70e481e5d963465e901cb174068d8f21b
5
5
  SHA512:
6
- metadata.gz: 3fbb880f5c3075e698ccf65628a1973e3fdf4e7315ff4c5fd63f5810ff437d7af149ab51bf3933bbf730ffd69fb86ded7fc6e094b860d23c0ce5df0ad36fe4c5
7
- data.tar.gz: 48afd8f7c8cf9fdedbcb5e64dc82f2ea05a21999598648a4bacbb8b7576c41f1bbb40d52f881fb245a720dc4851e00aa6b4cf972b354361b279e63db1f25fb34
6
+ metadata.gz: 31f0df320202ea8e9612b19f0febbedefdcbc8dd0ae1d53e981b5872025b0e37606ed0ecbd60410c8ad548861718bde84943d404a85301029ae74c780b344f43
7
+ data.tar.gz: 367787a18098545b7c6d3c7d7b6847f62dcef9be6b1b9486d9e169dbf4c677b0adf5388c86471373147b40c18c82fa06dcc52dee7b863e0b66edb26529b79396
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dns_v1beta2
2
2
 
3
+ ### v0.26.0 (2022-08-02)
4
+
5
+ * Regenerated from discovery document revision 20220728
6
+ * Regenerated using generator version 0.9.0
7
+
3
8
  ### v0.25.0 (2022-06-30)
4
9
 
5
10
  * Regenerated from discovery document revision 20220622
@@ -1963,6 +1963,13 @@ module Google
1963
1963
  # @return [String]
1964
1964
  attr_accessor :kind
1965
1965
 
1966
+ # Configures a RRSetRoutingPolicy such that all queries are responded with the
1967
+ # primary_targets if they are healthy. And if all of them are unhealthy, then we
1968
+ # fallback to a geo localized policy.
1969
+ # Corresponds to the JSON property `primaryBackup`
1970
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyPrimaryBackupPolicy]
1971
+ attr_accessor :primary_backup
1972
+
1966
1973
  # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1967
1974
  # Corresponds to the JSON property `wrr`
1968
1975
  # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy]
@@ -1982,6 +1989,7 @@ module Google
1982
1989
  @geo = args[:geo] if args.key?(:geo)
1983
1990
  @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1984
1991
  @kind = args[:kind] if args.key?(:kind)
1992
+ @primary_backup = args[:primary_backup] if args.key?(:primary_backup)
1985
1993
  @wrr = args[:wrr] if args.key?(:wrr)
1986
1994
  @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1987
1995
  end
@@ -1992,6 +2000,17 @@ module Google
1992
2000
  class RrSetRoutingPolicyGeoPolicy
1993
2001
  include Google::Apis::Core::Hashable
1994
2002
 
2003
+ # Without fencing, if health check fails for all configured items in the current
2004
+ # geo bucket, we'll failover to the next nearest geo bucket. With fencing, if
2005
+ # health check is enabled, as long as some targets in the current geo bucket are
2006
+ # healthy, we'll return only the healthy targets. However, if they're all
2007
+ # unhealthy, we won't failover to the next nearest bucket, we'll simply return
2008
+ # all the items in the current bucket even though they're unhealthy.
2009
+ # Corresponds to the JSON property `enableFencing`
2010
+ # @return [Boolean]
2011
+ attr_accessor :enable_fencing
2012
+ alias_method :enable_fencing?, :enable_fencing
2013
+
1995
2014
  # The primary geo routing configuration. If there are multiple items with the
1996
2015
  # same location, an error is returned instead.
1997
2016
  # Corresponds to the JSON property `items`
@@ -2009,6 +2028,7 @@ module Google
2009
2028
 
2010
2029
  # Update properties of this object
2011
2030
  def update!(**args)
2031
+ @enable_fencing = args[:enable_fencing] if args.key?(:enable_fencing)
2012
2032
  @items = args[:items] if args.key?(:items)
2013
2033
  @kind = args[:kind] if args.key?(:kind)
2014
2034
  end
@@ -2018,6 +2038,13 @@ module Google
2018
2038
  class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
2019
2039
  include Google::Apis::Core::Hashable
2020
2040
 
2041
+ # HealthCheckTargets describes endpoints to health-check when responding to
2042
+ # Routing Policy queries. Only the healthy endpoints will be included in the
2043
+ # response.
2044
+ # Corresponds to the JSON property `healthCheckedTargets`
2045
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets]
2046
+ attr_accessor :health_checked_targets
2047
+
2021
2048
  #
2022
2049
  # Corresponds to the JSON property `kind`
2023
2050
  # @return [String]
@@ -2048,6 +2075,7 @@ module Google
2048
2075
 
2049
2076
  # Update properties of this object
2050
2077
  def update!(**args)
2078
+ @health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets)
2051
2079
  @kind = args[:kind] if args.key?(:kind)
2052
2080
  @location = args[:location] if args.key?(:location)
2053
2081
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
@@ -2055,6 +2083,133 @@ module Google
2055
2083
  end
2056
2084
  end
2057
2085
 
2086
+ # HealthCheckTargets describes endpoints to health-check when responding to
2087
+ # Routing Policy queries. Only the healthy endpoints will be included in the
2088
+ # response.
2089
+ class RrSetRoutingPolicyHealthCheckTargets
2090
+ include Google::Apis::Core::Hashable
2091
+
2092
+ #
2093
+ # Corresponds to the JSON property `internalLoadBalancers`
2094
+ # @return [Array<Google::Apis::DnsV1beta2::RrSetRoutingPolicyLoadBalancerTarget>]
2095
+ attr_accessor :internal_load_balancers
2096
+
2097
+ def initialize(**args)
2098
+ update!(**args)
2099
+ end
2100
+
2101
+ # Update properties of this object
2102
+ def update!(**args)
2103
+ @internal_load_balancers = args[:internal_load_balancers] if args.key?(:internal_load_balancers)
2104
+ end
2105
+ end
2106
+
2107
+ #
2108
+ class RrSetRoutingPolicyLoadBalancerTarget
2109
+ include Google::Apis::Core::Hashable
2110
+
2111
+ # The frontend IP address of the
2112
+ # Corresponds to the JSON property `ipAddress`
2113
+ # @return [String]
2114
+ attr_accessor :ip_address
2115
+
2116
+ #
2117
+ # Corresponds to the JSON property `ipProtocol`
2118
+ # @return [String]
2119
+ attr_accessor :ip_protocol
2120
+
2121
+ #
2122
+ # Corresponds to the JSON property `kind`
2123
+ # @return [String]
2124
+ attr_accessor :kind
2125
+
2126
+ #
2127
+ # Corresponds to the JSON property `loadBalancerType`
2128
+ # @return [String]
2129
+ attr_accessor :load_balancer_type
2130
+
2131
+ # The fully qualified url of the network on which the ILB is
2132
+ # Corresponds to the JSON property `networkUrl`
2133
+ # @return [String]
2134
+ attr_accessor :network_url
2135
+
2136
+ # Load Balancer to health check. The configured port of the Load Balancer.
2137
+ # Corresponds to the JSON property `port`
2138
+ # @return [String]
2139
+ attr_accessor :port
2140
+
2141
+ # present. This should be formatted like https://www.googleapis.com/compute/v1/
2142
+ # projects/`project`/global/networks/`network` The project ID in which the ILB
2143
+ # exists.
2144
+ # Corresponds to the JSON property `project`
2145
+ # @return [String]
2146
+ attr_accessor :project
2147
+
2148
+ # The region for regional ILBs.
2149
+ # Corresponds to the JSON property `region`
2150
+ # @return [String]
2151
+ attr_accessor :region
2152
+
2153
+ def initialize(**args)
2154
+ update!(**args)
2155
+ end
2156
+
2157
+ # Update properties of this object
2158
+ def update!(**args)
2159
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
2160
+ @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
2161
+ @kind = args[:kind] if args.key?(:kind)
2162
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
2163
+ @network_url = args[:network_url] if args.key?(:network_url)
2164
+ @port = args[:port] if args.key?(:port)
2165
+ @project = args[:project] if args.key?(:project)
2166
+ @region = args[:region] if args.key?(:region)
2167
+ end
2168
+ end
2169
+
2170
+ # Configures a RRSetRoutingPolicy such that all queries are responded with the
2171
+ # primary_targets if they are healthy. And if all of them are unhealthy, then we
2172
+ # fallback to a geo localized policy.
2173
+ class RrSetRoutingPolicyPrimaryBackupPolicy
2174
+ include Google::Apis::Core::Hashable
2175
+
2176
+ # Configures a RRSetRoutingPolicy that routes based on the geo location of the
2177
+ # querying user.
2178
+ # Corresponds to the JSON property `backupGeoTargets`
2179
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy]
2180
+ attr_accessor :backup_geo_targets
2181
+
2182
+ #
2183
+ # Corresponds to the JSON property `kind`
2184
+ # @return [String]
2185
+ attr_accessor :kind
2186
+
2187
+ # HealthCheckTargets describes endpoints to health-check when responding to
2188
+ # Routing Policy queries. Only the healthy endpoints will be included in the
2189
+ # response.
2190
+ # Corresponds to the JSON property `primaryTargets`
2191
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets]
2192
+ attr_accessor :primary_targets
2193
+
2194
+ # When serving state is PRIMARY, this field provides the option of sending a
2195
+ # small percentage of the traffic to the backup targets.
2196
+ # Corresponds to the JSON property `trickleTraffic`
2197
+ # @return [Float]
2198
+ attr_accessor :trickle_traffic
2199
+
2200
+ def initialize(**args)
2201
+ update!(**args)
2202
+ end
2203
+
2204
+ # Update properties of this object
2205
+ def update!(**args)
2206
+ @backup_geo_targets = args[:backup_geo_targets] if args.key?(:backup_geo_targets)
2207
+ @kind = args[:kind] if args.key?(:kind)
2208
+ @primary_targets = args[:primary_targets] if args.key?(:primary_targets)
2209
+ @trickle_traffic = args[:trickle_traffic] if args.key?(:trickle_traffic)
2210
+ end
2211
+ end
2212
+
2058
2213
  # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
2059
2214
  class RrSetRoutingPolicyWrrPolicy
2060
2215
  include Google::Apis::Core::Hashable
@@ -2084,6 +2239,13 @@ module Google
2084
2239
  class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
2085
2240
  include Google::Apis::Core::Hashable
2086
2241
 
2242
+ # HealthCheckTargets describes endpoints to health-check when responding to
2243
+ # Routing Policy queries. Only the healthy endpoints will be included in the
2244
+ # response.
2245
+ # Corresponds to the JSON property `healthCheckedTargets`
2246
+ # @return [Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets]
2247
+ attr_accessor :health_checked_targets
2248
+
2087
2249
  #
2088
2250
  # Corresponds to the JSON property `kind`
2089
2251
  # @return [String]
@@ -2115,6 +2277,7 @@ module Google
2115
2277
 
2116
2278
  # Update properties of this object
2117
2279
  def update!(**args)
2280
+ @health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets)
2118
2281
  @kind = args[:kind] if args.key?(:kind)
2119
2282
  @rrdatas = args[:rrdatas] if args.key?(:rrdatas)
2120
2283
  @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DnsV1beta2
18
18
  # Version of the google-apis-dns_v1beta2 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220622"
25
+ REVISION = "20220728"
26
26
  end
27
27
  end
28
28
  end
@@ -298,6 +298,24 @@ module Google
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
+ class RrSetRoutingPolicyHealthCheckTargets
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class RrSetRoutingPolicyLoadBalancerTarget
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class RrSetRoutingPolicyPrimaryBackupPolicy
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
301
319
  class RrSetRoutingPolicyWrrPolicy
302
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
321
 
@@ -879,6 +897,8 @@ module Google
879
897
  property :geo_policy, as: 'geoPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
880
898
 
881
899
  property :kind, as: 'kind'
900
+ property :primary_backup, as: 'primaryBackup', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyPrimaryBackupPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyPrimaryBackupPolicy::Representation
901
+
882
902
  property :wrr, as: 'wrr', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
883
903
 
884
904
  property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyWrrPolicy::Representation
@@ -889,6 +909,7 @@ module Google
889
909
  class RrSetRoutingPolicyGeoPolicy
890
910
  # @private
891
911
  class Representation < Google::Apis::Core::JsonRepresentation
912
+ property :enable_fencing, as: 'enableFencing'
892
913
  collection :items, as: 'items', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicyGeoPolicyItem::Representation
893
914
 
894
915
  property :kind, as: 'kind'
@@ -898,6 +919,8 @@ module Google
898
919
  class RrSetRoutingPolicyGeoPolicyGeoPolicyItem
899
920
  # @private
900
921
  class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :health_checked_targets, as: 'healthCheckedTargets', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets::Representation
923
+
901
924
  property :kind, as: 'kind'
902
925
  property :location, as: 'location'
903
926
  collection :rrdatas, as: 'rrdatas'
@@ -905,6 +928,40 @@ module Google
905
928
  end
906
929
  end
907
930
 
931
+ class RrSetRoutingPolicyHealthCheckTargets
932
+ # @private
933
+ class Representation < Google::Apis::Core::JsonRepresentation
934
+ collection :internal_load_balancers, as: 'internalLoadBalancers', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyLoadBalancerTarget, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyLoadBalancerTarget::Representation
935
+
936
+ end
937
+ end
938
+
939
+ class RrSetRoutingPolicyLoadBalancerTarget
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :ip_address, as: 'ipAddress'
943
+ property :ip_protocol, as: 'ipProtocol'
944
+ property :kind, as: 'kind'
945
+ property :load_balancer_type, as: 'loadBalancerType'
946
+ property :network_url, as: 'networkUrl'
947
+ property :port, as: 'port'
948
+ property :project, as: 'project'
949
+ property :region, as: 'region'
950
+ end
951
+ end
952
+
953
+ class RrSetRoutingPolicyPrimaryBackupPolicy
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ property :backup_geo_targets, as: 'backupGeoTargets', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyGeoPolicy::Representation
957
+
958
+ property :kind, as: 'kind'
959
+ property :primary_targets, as: 'primaryTargets', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets::Representation
960
+
961
+ property :trickle_traffic, as: 'trickleTraffic'
962
+ end
963
+ end
964
+
908
965
  class RrSetRoutingPolicyWrrPolicy
909
966
  # @private
910
967
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +974,8 @@ module Google
917
974
  class RrSetRoutingPolicyWrrPolicyWrrPolicyItem
918
975
  # @private
919
976
  class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :health_checked_targets, as: 'healthCheckedTargets', class: Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets, decorator: Google::Apis::DnsV1beta2::RrSetRoutingPolicyHealthCheckTargets::Representation
978
+
920
979
  property :kind, as: 'kind'
921
980
  collection :rrdatas, as: 'rrdatas'
922
981
  collection :signature_rrdatas, as: 'signatureRrdatas'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dns_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1beta2/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []