Skip to content

Commit eae4699

Browse files
feat: Automated regeneration of compute v1 client (googleapis#20547)
Auto-created at 2024-11-17 09:09:25 +0000 using the toys pull request generator.
1 parent 7197d69 commit eae4699

File tree

5 files changed

+11
-63
lines changed

5 files changed

+11
-63
lines changed

generated/google-apis-compute_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-compute_v1
22

3+
### v0.112.0 (2024-11-17)
4+
5+
* Regenerated from discovery document revision 20241105
6+
37
### v0.111.0 (2024-11-03)
48

59
* Regenerated from discovery document revision 20241021

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

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2991,8 +2991,7 @@ class BackendBucketCdnPolicy
29912991
# CACHE_ALL_STATIC Automatically cache static content, including common image
29922992
# formats, media (video and audio), and web assets (JavaScript and CSS).
29932993
# Requests and responses that are marked as uncacheable, as well as dynamic
2994-
# content (including HTML), will not be cached. If no value is provided for
2995-
# cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.
2994+
# content (including HTML), will not be cached.
29962995
# Corresponds to the JSON property `cacheMode`
29972996
# @return [String]
29982997
attr_accessor :cache_mode
@@ -3904,8 +3903,7 @@ class BackendServiceCdnPolicy
39043903
# CACHE_ALL_STATIC Automatically cache static content, including common image
39053904
# formats, media (video and audio), and web assets (JavaScript and CSS).
39063905
# Requests and responses that are marked as uncacheable, as well as dynamic
3907-
# content (including HTML), will not be cached. If no value is provided for
3908-
# cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.
3906+
# content (including HTML), will not be cached.
39093907
# Corresponds to the JSON property `cacheMode`
39103908
# @return [String]
39113909
attr_accessor :cache_mode
@@ -25604,27 +25602,6 @@ def update!(**args)
2560425602
class NetworkRoutingConfig
2560525603
include Google::Apis::Core::Hashable
2560625604

25607-
# Enable comparison of Multi-Exit Discriminators (MED) across routes with
25608-
# different neighbor ASNs when using the STANDARD BGP best path selection
25609-
# algorithm.
25610-
# Corresponds to the JSON property `bgpAlwaysCompareMed`
25611-
# @return [Boolean]
25612-
attr_accessor :bgp_always_compare_med
25613-
alias_method :bgp_always_compare_med?, :bgp_always_compare_med
25614-
25615-
# The BGP best path selection algorithm to be employed within this network for
25616-
# dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD.
25617-
# Corresponds to the JSON property `bgpBestPathSelectionMode`
25618-
# @return [String]
25619-
attr_accessor :bgp_best_path_selection_mode
25620-
25621-
# Allows to define a preferred approach for handling inter-region cost in the
25622-
# selection process when using the STANDARD BGP best path selection algorithm.
25623-
# Can be DEFAULT or ADD_COST_TO_MED.
25624-
# Corresponds to the JSON property `bgpInterRegionCost`
25625-
# @return [String]
25626-
attr_accessor :bgp_inter_region_cost
25627-
2562825605
# The network-wide routing mode to use. If set to REGIONAL, this network's Cloud
2562925606
# Routers will only advertise routes with subnets of this network in the same
2563025607
# region as the router. If set to GLOBAL, this network's Cloud Routers will
@@ -25639,9 +25616,6 @@ def initialize(**args)
2563925616

2564025617
# Update properties of this object
2564125618
def update!(**args)
25642-
@bgp_always_compare_med = args[:bgp_always_compare_med] if args.key?(:bgp_always_compare_med)
25643-
@bgp_best_path_selection_mode = args[:bgp_best_path_selection_mode] if args.key?(:bgp_best_path_selection_mode)
25644-
@bgp_inter_region_cost = args[:bgp_inter_region_cost] if args.key?(:bgp_inter_region_cost)
2564525619
@routing_mode = args[:routing_mode] if args.key?(:routing_mode)
2564625620
end
2564725621
end
@@ -34306,13 +34280,6 @@ class Route
3430634280
# @return [String]
3430734281
attr_accessor :next_hop_instance
3430834282

34309-
# [Output only] Internal fixed region-to-region cost that Google Cloud
34310-
# calculates based on factors such as network performance, distance, and
34311-
# available bandwidth between regions.
34312-
# Corresponds to the JSON property `nextHopInterRegionCost`
34313-
# @return [Fixnum]
34314-
attr_accessor :next_hop_inter_region_cost
34315-
3431634283
# The network IP address of an instance that should handle matching packets.
3431734284
# Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4
3431834285
# address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC
@@ -34323,23 +34290,11 @@ class Route
3432334290
# @return [String]
3432434291
attr_accessor :next_hop_ip
3432534292

34326-
# [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the
34327-
# desirability of a particular route in a network.
34328-
# Corresponds to the JSON property `nextHopMed`
34329-
# @return [Fixnum]
34330-
attr_accessor :next_hop_med
34331-
3433234293
# The URL of the local network if it should handle matching packets.
3433334294
# Corresponds to the JSON property `nextHopNetwork`
3433434295
# @return [String]
3433534296
attr_accessor :next_hop_network
3433634297

34337-
# [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway
34338-
# Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
34339-
# Corresponds to the JSON property `nextHopOrigin`
34340-
# @return [String]
34341-
attr_accessor :next_hop_origin
34342-
3434334298
# [Output Only] The network peering name that should handle matching packets,
3434434299
# which should conform to RFC1035.
3434534300
# Corresponds to the JSON property `nextHopPeering`
@@ -34408,11 +34363,8 @@ def update!(**args)
3440834363
@next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
3440934364
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
3441034365
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
34411-
@next_hop_inter_region_cost = args[:next_hop_inter_region_cost] if args.key?(:next_hop_inter_region_cost)
3441234366
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
34413-
@next_hop_med = args[:next_hop_med] if args.key?(:next_hop_med)
3441434367
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
34415-
@next_hop_origin = args[:next_hop_origin] if args.key?(:next_hop_origin)
3441634368
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
3441734369
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
3441834370
@priority = args[:priority] if args.key?(:priority)
@@ -42518,7 +42470,7 @@ class Subnetwork
4251842470
attr_accessor :private_ipv6_google_access
4251942471

4252042472
# The purpose of the resource. This field can be either PRIVATE,
42521-
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT.
42473+
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
4252242474
# PRIVATE is the default purpose for user-created subnets or subnets that are
4252342475
# automatically created in auto mode networks. Subnets with purpose set to
4252442476
# GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks
@@ -47657,7 +47609,7 @@ class UsableSubnetwork
4765747609
attr_accessor :network
4765847610

4765947611
# The purpose of the resource. This field can be either PRIVATE,
47660-
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT.
47612+
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
4766147613
# PRIVATE is the default purpose for user-created subnets or subnets that are
4766247614
# automatically created in auto mode networks. Subnets with purpose set to
4766347615
# GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks

generated/google-apis-compute_v1/lib/google/apis/compute_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 ComputeV1
1818
# Version of the google-apis-compute_v1 gem
19-
GEM_VERSION = "0.111.0"
19+
GEM_VERSION = "0.112.0"
2020

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

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

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12592,9 +12592,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
1259212592
class NetworkRoutingConfig
1259312593
# @private
1259412594
class Representation < Google::Apis::Core::JsonRepresentation
12595-
property :bgp_always_compare_med, as: 'bgpAlwaysCompareMed'
12596-
property :bgp_best_path_selection_mode, as: 'bgpBestPathSelectionMode'
12597-
property :bgp_inter_region_cost, as: 'bgpInterRegionCost'
1259812595
property :routing_mode, as: 'routingMode'
1259912596
end
1260012597
end
@@ -14880,11 +14877,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
1488014877
property :next_hop_hub, as: 'nextHopHub'
1488114878
property :next_hop_ilb, as: 'nextHopIlb'
1488214879
property :next_hop_instance, as: 'nextHopInstance'
14883-
property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
1488414880
property :next_hop_ip, as: 'nextHopIp'
14885-
property :next_hop_med, as: 'nextHopMed'
1488614881
property :next_hop_network, as: 'nextHopNetwork'
14887-
property :next_hop_origin, as: 'nextHopOrigin'
1488814882
property :next_hop_peering, as: 'nextHopPeering'
1488914883
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
1489014884
property :priority, as: 'priority'

generated/google-apis-compute_v1/lib/google/apis/compute_v1/service.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12903,9 +12903,7 @@ def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: ni
1290312903
# and the adjusted start position is returned as the `start` property value. You
1290412904
# can also provide a negative start position, which translates to the most
1290512905
# recent number of bytes written to the serial port. For example, -3 is
12906-
# interpreted as the most recent 3 bytes written to the serial console. Note
12907-
# that the negative start is bounded by the retained buffer size, and the
12908-
# returned serial console output will not exceed the max buffer size.
12906+
# interpreted as the most recent 3 bytes written to the serial console.
1290912907
# @param [String] fields
1291012908
# Selector specifying which fields to include in a partial response.
1291112909
# @param [String] quota_user

0 commit comments

Comments
 (0)