Skip to content

Commit 891d6d5

Browse files
feat: Automated regeneration of compute v1 client (#20503)
Auto-created at 2024-11-03 09:44:15 +0000 using the toys pull request generator.
1 parent a77b48f commit 891d6d5

File tree

6 files changed

+73
-7
lines changed

6 files changed

+73
-7
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104998,6 +104998,9 @@
104998104998
"/compute:v1/NetworkPerformanceConfig": network_performance_config
104999104999
"/compute:v1/NetworkPerformanceConfig/totalEgressBandwidthTier": total_egress_bandwidth_tier
105000105000
"/compute:v1/NetworkRoutingConfig": network_routing_config
105001+
"/compute:v1/NetworkRoutingConfig/bgpAlwaysCompareMed": bgp_always_compare_med
105002+
"/compute:v1/NetworkRoutingConfig/bgpBestPathSelectionMode": bgp_best_path_selection_mode
105003+
"/compute:v1/NetworkRoutingConfig/bgpInterRegionCost": bgp_inter_region_cost
105001105004
"/compute:v1/NetworkRoutingConfig/routingMode": routing_mode
105002105005
"/compute:v1/NetworksAddPeeringRequest": networks_add_peering_request
105003105006
"/compute:v1/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes
@@ -106082,8 +106085,11 @@
106082106085
"/compute:v1/Route/nextHopHub": next_hop_hub
106083106086
"/compute:v1/Route/nextHopIlb": next_hop_ilb
106084106087
"/compute:v1/Route/nextHopInstance": next_hop_instance
106088+
"/compute:v1/Route/nextHopInterRegionCost": next_hop_inter_region_cost
106085106089
"/compute:v1/Route/nextHopIp": next_hop_ip
106090+
"/compute:v1/Route/nextHopMed": next_hop_med
106086106091
"/compute:v1/Route/nextHopNetwork": next_hop_network
106092+
"/compute:v1/Route/nextHopOrigin": next_hop_origin
106087106093
"/compute:v1/Route/nextHopPeering": next_hop_peering
106088106094
"/compute:v1/Route/nextHopVpnTunnel": next_hop_vpn_tunnel
106089106095
"/compute:v1/Route/priority": priority

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.111.0 (2024-11-03)
4+
5+
* Regenerated from discovery document revision 20241021
6+
37
### v0.110.0 (2024-10-27)
48

59
* Regenerated from discovery document revision 20241015

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

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2991,7 +2991,8 @@ 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.
2994+
# content (including HTML), will not be cached. If no value is provided for
2995+
# cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.
29952996
# Corresponds to the JSON property `cacheMode`
29962997
# @return [String]
29972998
attr_accessor :cache_mode
@@ -3903,7 +3904,8 @@ class BackendServiceCdnPolicy
39033904
# CACHE_ALL_STATIC Automatically cache static content, including common image
39043905
# formats, media (video and audio), and web assets (JavaScript and CSS).
39053906
# Requests and responses that are marked as uncacheable, as well as dynamic
3906-
# content (including HTML), will not be cached.
3907+
# content (including HTML), will not be cached. If no value is provided for
3908+
# cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.
39073909
# Corresponds to the JSON property `cacheMode`
39083910
# @return [String]
39093911
attr_accessor :cache_mode
@@ -25602,6 +25604,27 @@ def update!(**args)
2560225604
class NetworkRoutingConfig
2560325605
include Google::Apis::Core::Hashable
2560425606

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+
2560525628
# The network-wide routing mode to use. If set to REGIONAL, this network's Cloud
2560625629
# Routers will only advertise routes with subnets of this network in the same
2560725630
# region as the router. If set to GLOBAL, this network's Cloud Routers will
@@ -25616,6 +25639,9 @@ def initialize(**args)
2561625639

2561725640
# Update properties of this object
2561825641
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)
2561925645
@routing_mode = args[:routing_mode] if args.key?(:routing_mode)
2562025646
end
2562125647
end
@@ -34280,6 +34306,13 @@ class Route
3428034306
# @return [String]
3428134307
attr_accessor :next_hop_instance
3428234308

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+
3428334316
# The network IP address of an instance that should handle matching packets.
3428434317
# Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4
3428534318
# address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC
@@ -34290,11 +34323,23 @@ class Route
3429034323
# @return [String]
3429134324
attr_accessor :next_hop_ip
3429234325

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+
3429334332
# The URL of the local network if it should handle matching packets.
3429434333
# Corresponds to the JSON property `nextHopNetwork`
3429534334
# @return [String]
3429634335
attr_accessor :next_hop_network
3429734336

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+
3429834343
# [Output Only] The network peering name that should handle matching packets,
3429934344
# which should conform to RFC1035.
3430034345
# Corresponds to the JSON property `nextHopPeering`
@@ -34363,8 +34408,11 @@ def update!(**args)
3436334408
@next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
3436434409
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
3436534410
@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)
3436634412
@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)
3436734414
@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)
3436834416
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
3436934417
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
3437034418
@priority = args[:priority] if args.key?(:priority)
@@ -42470,7 +42518,7 @@ class Subnetwork
4247042518
attr_accessor :private_ipv6_google_access
4247142519

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

4761147659
# The purpose of the resource. This field can be either PRIVATE,
47612-
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
47660+
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT.
4761347661
# PRIVATE is the default purpose for user-created subnets or subnets that are
4761447662
# automatically created in auto mode networks. Subnets with purpose set to
4761547663
# 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.110.0"
19+
GEM_VERSION = "0.111.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 = "20241015"
25+
REVISION = "20241021"
2626
end
2727
end
2828
end

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12592,6 +12592,9 @@ 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'
1259512598
property :routing_mode, as: 'routingMode'
1259612599
end
1259712600
end
@@ -14877,8 +14880,11 @@ class Representation < Google::Apis::Core::JsonRepresentation
1487714880
property :next_hop_hub, as: 'nextHopHub'
1487814881
property :next_hop_ilb, as: 'nextHopIlb'
1487914882
property :next_hop_instance, as: 'nextHopInstance'
14883+
property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
1488014884
property :next_hop_ip, as: 'nextHopIp'
14885+
property :next_hop_med, as: 'nextHopMed'
1488114886
property :next_hop_network, as: 'nextHopNetwork'
14887+
property :next_hop_origin, as: 'nextHopOrigin'
1488214888
property :next_hop_peering, as: 'nextHopPeering'
1488314889
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
1488414890
property :priority, as: 'priority'

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12903,7 +12903,9 @@ 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.
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.
1290712909
# @param [String] fields
1290812910
# Selector specifying which fields to include in a partial response.
1290912911
# @param [String] quota_user

0 commit comments

Comments
 (0)