Skip to content

Commit

Permalink
feat: Automated regeneration of compute v1 client (#20547)
Browse files Browse the repository at this point in the history
Auto-created at 2024-11-17 09:09:25 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Nov 18, 2024
1 parent 7197d69 commit eae4699
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 63 deletions.
4 changes: 4 additions & 0 deletions generated/google-apis-compute_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-compute_v1

### v0.112.0 (2024-11-17)

* Regenerated from discovery document revision 20241105

### v0.111.0 (2024-11-03)

* Regenerated from discovery document revision 20241021
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2991,8 +2991,7 @@ class BackendBucketCdnPolicy
# CACHE_ALL_STATIC Automatically cache static content, including common image
# formats, media (video and audio), and web assets (JavaScript and CSS).
# Requests and responses that are marked as uncacheable, as well as dynamic
# content (including HTML), will not be cached. If no value is provided for
# cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.
# content (including HTML), will not be cached.
# Corresponds to the JSON property `cacheMode`
# @return [String]
attr_accessor :cache_mode
Expand Down Expand Up @@ -3904,8 +3903,7 @@ class BackendServiceCdnPolicy
# CACHE_ALL_STATIC Automatically cache static content, including common image
# formats, media (video and audio), and web assets (JavaScript and CSS).
# Requests and responses that are marked as uncacheable, as well as dynamic
# content (including HTML), will not be cached. If no value is provided for
# cdnPolicy.cacheMode, it defaults to CACHE_ALL_STATIC.
# content (including HTML), will not be cached.
# Corresponds to the JSON property `cacheMode`
# @return [String]
attr_accessor :cache_mode
Expand Down Expand Up @@ -25604,27 +25602,6 @@ def update!(**args)
class NetworkRoutingConfig
include Google::Apis::Core::Hashable

# Enable comparison of Multi-Exit Discriminators (MED) across routes with
# different neighbor ASNs when using the STANDARD BGP best path selection
# algorithm.
# Corresponds to the JSON property `bgpAlwaysCompareMed`
# @return [Boolean]
attr_accessor :bgp_always_compare_med
alias_method :bgp_always_compare_med?, :bgp_always_compare_med

# The BGP best path selection algorithm to be employed within this network for
# dynamic routes learned by Cloud Routers. Can be LEGACY (default) or STANDARD.
# Corresponds to the JSON property `bgpBestPathSelectionMode`
# @return [String]
attr_accessor :bgp_best_path_selection_mode

# Allows to define a preferred approach for handling inter-region cost in the
# selection process when using the STANDARD BGP best path selection algorithm.
# Can be DEFAULT or ADD_COST_TO_MED.
# Corresponds to the JSON property `bgpInterRegionCost`
# @return [String]
attr_accessor :bgp_inter_region_cost

# The network-wide routing mode to use. If set to REGIONAL, this network's Cloud
# Routers will only advertise routes with subnets of this network in the same
# region as the router. If set to GLOBAL, this network's Cloud Routers will
Expand All @@ -25639,9 +25616,6 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@bgp_always_compare_med = args[:bgp_always_compare_med] if args.key?(:bgp_always_compare_med)
@bgp_best_path_selection_mode = args[:bgp_best_path_selection_mode] if args.key?(:bgp_best_path_selection_mode)
@bgp_inter_region_cost = args[:bgp_inter_region_cost] if args.key?(:bgp_inter_region_cost)
@routing_mode = args[:routing_mode] if args.key?(:routing_mode)
end
end
Expand Down Expand Up @@ -34306,13 +34280,6 @@ class Route
# @return [String]
attr_accessor :next_hop_instance

# [Output only] Internal fixed region-to-region cost that Google Cloud
# calculates based on factors such as network performance, distance, and
# available bandwidth between regions.
# Corresponds to the JSON property `nextHopInterRegionCost`
# @return [Fixnum]
attr_accessor :next_hop_inter_region_cost

# The network IP address of an instance that should handle matching packets.
# Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4
# address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC
Expand All @@ -34323,23 +34290,11 @@ class Route
# @return [String]
attr_accessor :next_hop_ip

# [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the
# desirability of a particular route in a network.
# Corresponds to the JSON property `nextHopMed`
# @return [Fixnum]
attr_accessor :next_hop_med

# The URL of the local network if it should handle matching packets.
# Corresponds to the JSON property `nextHopNetwork`
# @return [String]
attr_accessor :next_hop_network

# [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway
# Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
# Corresponds to the JSON property `nextHopOrigin`
# @return [String]
attr_accessor :next_hop_origin

# [Output Only] The network peering name that should handle matching packets,
# which should conform to RFC1035.
# Corresponds to the JSON property `nextHopPeering`
Expand Down Expand Up @@ -34408,11 +34363,8 @@ def update!(**args)
@next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
@next_hop_inter_region_cost = args[:next_hop_inter_region_cost] if args.key?(:next_hop_inter_region_cost)
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
@next_hop_med = args[:next_hop_med] if args.key?(:next_hop_med)
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
@next_hop_origin = args[:next_hop_origin] if args.key?(:next_hop_origin)
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
@next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
@priority = args[:priority] if args.key?(:priority)
Expand Down Expand Up @@ -42518,7 +42470,7 @@ class Subnetwork
attr_accessor :private_ipv6_google_access

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

# The purpose of the resource. This field can be either PRIVATE,
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT.
# GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or
# PRIVATE is the default purpose for user-created subnets or subnets that are
# automatically created in auto mode networks. Subnets with purpose set to
# GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ComputeV1
# Version of the google-apis-compute_v1 gem
GEM_VERSION = "0.111.0"
GEM_VERSION = "0.112.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20241021"
REVISION = "20241105"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -12592,9 +12592,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
class NetworkRoutingConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bgp_always_compare_med, as: 'bgpAlwaysCompareMed'
property :bgp_best_path_selection_mode, as: 'bgpBestPathSelectionMode'
property :bgp_inter_region_cost, as: 'bgpInterRegionCost'
property :routing_mode, as: 'routingMode'
end
end
Expand Down Expand Up @@ -14880,11 +14877,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :next_hop_hub, as: 'nextHopHub'
property :next_hop_ilb, as: 'nextHopIlb'
property :next_hop_instance, as: 'nextHopInstance'
property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
property :next_hop_ip, as: 'nextHopIp'
property :next_hop_med, as: 'nextHopMed'
property :next_hop_network, as: 'nextHopNetwork'
property :next_hop_origin, as: 'nextHopOrigin'
property :next_hop_peering, as: 'nextHopPeering'
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
property :priority, as: 'priority'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12903,9 +12903,7 @@ def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: ni
# and the adjusted start position is returned as the `start` property value. You
# can also provide a negative start position, which translates to the most
# recent number of bytes written to the serial port. For example, -3 is
# interpreted as the most recent 3 bytes written to the serial console. Note
# that the negative start is bounded by the retained buffer size, and the
# returned serial console output will not exceed the max buffer size.
# interpreted as the most recent 3 bytes written to the serial console.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down

0 comments on commit eae4699

Please sign in to comment.