Skip to content

Commit a96fbd6

Browse files
feat: Automated regeneration of compute alpha client (googleapis#21419)
Auto-created at 2025-01-19 10:10:09 +0000 using the toys pull request generator.
1 parent d6ea3d4 commit a96fbd6

File tree

5 files changed

+260
-22
lines changed

5 files changed

+260
-22
lines changed

api_names_out.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83192,6 +83192,7 @@
8319283192
"/compute:alpha/InterconnectAttachment/ipsecInternalAddresses": ipsec_internal_addresses
8319383193
"/compute:alpha/InterconnectAttachment/ipsecInternalAddresses/ipsec_internal_address": ipsec_internal_address
8319483194
"/compute:alpha/InterconnectAttachment/kind": kind
83195+
"/compute:alpha/InterconnectAttachment/l2Forwarding": l2_forwarding
8319583196
"/compute:alpha/InterconnectAttachment/labelFingerprint": label_fingerprint
8319683197
"/compute:alpha/InterconnectAttachment/labels": labels
8319783198
"/compute:alpha/InterconnectAttachment/labels/label": label
@@ -83315,6 +83316,24 @@
8331583316
"/compute:alpha/InterconnectAttachmentGroupsListResponse/warning/message": message
8331683317
"/compute:alpha/InterconnectAttachmentGroupsOperationalStatus": interconnect_attachment_groups_operational_status
8331783318
"/compute:alpha/InterconnectAttachmentGroupsOperationalStatus/groupStatus": group_status
83319+
"/compute:alpha/InterconnectAttachmentL2Forwarding": interconnect_attachment_l2_forwarding
83320+
"/compute:alpha/InterconnectAttachmentL2Forwarding/applianceMappings": appliance_mappings
83321+
"/compute:alpha/InterconnectAttachmentL2Forwarding/applianceMappings/appliance_mapping": appliance_mapping
83322+
"/compute:alpha/InterconnectAttachmentL2Forwarding/defaultApplianceIpAddress": default_appliance_ip_address
83323+
"/compute:alpha/InterconnectAttachmentL2Forwarding/geneveHeader": geneve_header
83324+
"/compute:alpha/InterconnectAttachmentL2Forwarding/network": network
83325+
"/compute:alpha/InterconnectAttachmentL2Forwarding/tunnelEndpointIpAddress": tunnel_endpoint_ip_address
83326+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMapping": interconnect_attachment_l2_forwarding_appliance_mapping
83327+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMapping/applianceIpAddress": appliance_ip_address
83328+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMapping/innerVlanToApplianceMappings": inner_vlan_to_appliance_mappings
83329+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMapping/innerVlanToApplianceMappings/inner_vlan_to_appliance_mapping": inner_vlan_to_appliance_mapping
83330+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMapping/name": name
83331+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping": interconnect_attachment_l2_forwarding_appliance_mapping_inner_vlan_to_appliance_mapping
83332+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping/innerApplianceIpAddress": inner_appliance_ip_address
83333+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping/innerVlanTags": inner_vlan_tags
83334+
"/compute:alpha/InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping/innerVlanTags/inner_vlan_tag": inner_vlan_tag
83335+
"/compute:alpha/InterconnectAttachmentL2ForwardingGeneveHeader": interconnect_attachment_l2_forwarding_geneve_header
83336+
"/compute:alpha/InterconnectAttachmentL2ForwardingGeneveHeader/vni": vni
8331883337
"/compute:alpha/InterconnectAttachmentList": interconnect_attachment_list
8331983338
"/compute:alpha/InterconnectAttachmentList/id": id
8332083339
"/compute:alpha/InterconnectAttachmentList/items": items

generated/google-apis-compute_alpha/CHANGELOG.md

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

3+
### v0.109.0 (2025-01-19)
4+
5+
* Regenerated from discovery document revision 20250107
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.108.0 (2025-01-08)
49

510
* Regenerated from discovery document revision 20241231

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

Lines changed: 169 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18077,11 +18077,11 @@ class InstanceGroup
1807718077
# @return [String]
1807818078
attr_accessor :name
1807918079

18080-
# Assigns a name to a port number. For example: `name: "http", port: 80` This
18081-
# allows the system to reference ports by the assigned name instead of a port
18082-
# number. Named ports can also contain multiple ports. For example: [`name: "
18083-
# app1", port: 8080`, `name: "app1", port: 8081`, `name: "app2", port: 8082`]
18084-
# Named ports apply to all instances in this instance group.
18080+
# Optional. Assigns a name to a port number. For example: `name: "http", port:
18081+
# 80` This allows the system to reference ports by the assigned name instead of
18082+
# a port number. Named ports can also contain multiple ports. For example: [`
18083+
# name: "app1", port: 8080`, `name: "app1", port: 8081`, `name: "app2", port:
18084+
# 8082`] Named ports apply to all instances in this instance group.
1808518085
# Corresponds to the JSON property `namedPorts`
1808618086
# @return [Array<Google::Apis::ComputeAlpha::NamedPort>]
1808718087
attr_accessor :named_ports
@@ -24425,6 +24425,11 @@ class InterconnectAttachment
2442524425
# @return [String]
2442624426
attr_accessor :kind
2442724427

24428+
# L2 Interconnect Attachment related configuration.
24429+
# Corresponds to the JSON property `l2Forwarding`
24430+
# @return [Google::Apis::ComputeAlpha::InterconnectAttachmentL2Forwarding]
24431+
attr_accessor :l2_forwarding
24432+
2442824433
# A fingerprint for the labels being applied to this InterconnectAttachment,
2442924434
# which is essentially a hash of the labels set used for optimistic locking. The
2443024435
# fingerprint is initially generated by Compute Engine and changes after every
@@ -24629,6 +24634,7 @@ def update!(**args)
2462924634
@interconnect = args[:interconnect] if args.key?(:interconnect)
2463024635
@ipsec_internal_addresses = args[:ipsec_internal_addresses] if args.key?(:ipsec_internal_addresses)
2463124636
@kind = args[:kind] if args.key?(:kind)
24637+
@l2_forwarding = args[:l2_forwarding] if args.key?(:l2_forwarding)
2463224638
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
2463324639
@labels = args[:labels] if args.key?(:labels)
2463424640
@mtu = args[:mtu] if args.key?(:mtu)
@@ -25395,6 +25401,147 @@ def update!(**args)
2539525401
end
2539625402
end
2539725403

25404+
# L2 Interconnect Attachment related configuration.
25405+
class InterconnectAttachmentL2Forwarding
25406+
include Google::Apis::Core::Hashable
25407+
25408+
# Optional. A map of VLAN tags to appliances and optional inner mapping rules.
25409+
# If VLANs are not explicitly mapped to any appliance, the
25410+
# defaultApplianceIpAddress is used. Each VLAN tag can be a single number or a
25411+
# range of numbers in the range of 1 to 4094, e.g., "1" or "4001-4094". Non-
25412+
# empty and non-overlapping VLAN tag ranges are enforced, and violating
25413+
# operations will be rejected. The VLAN tags in the Ethernet header must use an
25414+
# ethertype value of 0x88A8 or 0x8100.
25415+
# Corresponds to the JSON property `applianceMappings`
25416+
# @return [Hash<String,Google::Apis::ComputeAlpha::InterconnectAttachmentL2ForwardingApplianceMapping>]
25417+
attr_accessor :appliance_mappings
25418+
25419+
# Optional. A single IPv4 or IPv6 address used as the default destination IP
25420+
# when there is no VLAN mapping result found. Unset field (null-value) indicates
25421+
# the unmatched packet should be dropped.
25422+
# Corresponds to the JSON property `defaultApplianceIpAddress`
25423+
# @return [String]
25424+
attr_accessor :default_appliance_ip_address
25425+
25426+
# GeneveHeader related configurations.
25427+
# Corresponds to the JSON property `geneveHeader`
25428+
# @return [Google::Apis::ComputeAlpha::InterconnectAttachmentL2ForwardingGeneveHeader]
25429+
attr_accessor :geneve_header
25430+
25431+
# Required. Resource URL of the network to which this attachment belongs.
25432+
# Corresponds to the JSON property `network`
25433+
# @return [String]
25434+
attr_accessor :network
25435+
25436+
# Required. A single IPv4 or IPv6 address. This address will be used as the
25437+
# source IP address for packets sent to the appliances, and must be used as the
25438+
# destination IP address for packets that should be sent out through this
25439+
# attachment.
25440+
# Corresponds to the JSON property `tunnelEndpointIpAddress`
25441+
# @return [String]
25442+
attr_accessor :tunnel_endpoint_ip_address
25443+
25444+
def initialize(**args)
25445+
update!(**args)
25446+
end
25447+
25448+
# Update properties of this object
25449+
def update!(**args)
25450+
@appliance_mappings = args[:appliance_mappings] if args.key?(:appliance_mappings)
25451+
@default_appliance_ip_address = args[:default_appliance_ip_address] if args.key?(:default_appliance_ip_address)
25452+
@geneve_header = args[:geneve_header] if args.key?(:geneve_header)
25453+
@network = args[:network] if args.key?(:network)
25454+
@tunnel_endpoint_ip_address = args[:tunnel_endpoint_ip_address] if args.key?(:tunnel_endpoint_ip_address)
25455+
end
25456+
end
25457+
25458+
# Two-level VLAN-to-Appliance mapping rule.
25459+
class InterconnectAttachmentL2ForwardingApplianceMapping
25460+
include Google::Apis::Core::Hashable
25461+
25462+
# Optional. A single IPv4 or IPv6 address used as the destination IP address for
25463+
# ingress packets that match on a VLAN tag, but do not match a more specific
25464+
# inner VLAN tag. Unset field (null-value) indicates both VLAN tags are required
25465+
# to be mapped. Otherwise, defaultApplianceIpAddress is used.
25466+
# Corresponds to the JSON property `applianceIpAddress`
25467+
# @return [String]
25468+
attr_accessor :appliance_ip_address
25469+
25470+
# Optional. Used to match against the inner VLAN when the packet contains two
25471+
# VLAN tags. A list of mapping rules from inner VLAN tags to IP addresses. If
25472+
# the inner VLAN is not explicitly mapped to an IP address range, the
25473+
# applianceIpAddress is used.
25474+
# Corresponds to the JSON property `innerVlanToApplianceMappings`
25475+
# @return [Array<Google::Apis::ComputeAlpha::InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping>]
25476+
attr_accessor :inner_vlan_to_appliance_mappings
25477+
25478+
# Optional. The name of this appliance mapping rule.
25479+
# Corresponds to the JSON property `name`
25480+
# @return [String]
25481+
attr_accessor :name
25482+
25483+
def initialize(**args)
25484+
update!(**args)
25485+
end
25486+
25487+
# Update properties of this object
25488+
def update!(**args)
25489+
@appliance_ip_address = args[:appliance_ip_address] if args.key?(:appliance_ip_address)
25490+
@inner_vlan_to_appliance_mappings = args[:inner_vlan_to_appliance_mappings] if args.key?(:inner_vlan_to_appliance_mappings)
25491+
@name = args[:name] if args.key?(:name)
25492+
end
25493+
end
25494+
25495+
# The inner VLAN-to-Appliance mapping.
25496+
class InterconnectAttachmentL2ForwardingApplianceMappingInnerVlanToApplianceMapping
25497+
include Google::Apis::Core::Hashable
25498+
25499+
# Required in this object. A single IPv4 or IPv6 address used as the destination
25500+
# IP address for ingress packets that match on both VLAN tags.
25501+
# Corresponds to the JSON property `innerApplianceIpAddress`
25502+
# @return [String]
25503+
attr_accessor :inner_appliance_ip_address
25504+
25505+
# Required in this object. Used to match the inner VLAN tag on the packet. Each
25506+
# entry can be a single number or a range of numbers in the range of 1 to 4094,
25507+
# e.g., ["1", "4001-4094"] is valid. Non-empty and Non-overlapping VLAN tag
25508+
# ranges are enforced, and violating operations will be rejected. The inner VLAN
25509+
# tags must have an ethertype value of 0x8100.
25510+
# Corresponds to the JSON property `innerVlanTags`
25511+
# @return [Array<String>]
25512+
attr_accessor :inner_vlan_tags
25513+
25514+
def initialize(**args)
25515+
update!(**args)
25516+
end
25517+
25518+
# Update properties of this object
25519+
def update!(**args)
25520+
@inner_appliance_ip_address = args[:inner_appliance_ip_address] if args.key?(:inner_appliance_ip_address)
25521+
@inner_vlan_tags = args[:inner_vlan_tags] if args.key?(:inner_vlan_tags)
25522+
end
25523+
end
25524+
25525+
# GeneveHeader related configurations.
25526+
class InterconnectAttachmentL2ForwardingGeneveHeader
25527+
include Google::Apis::Core::Hashable
25528+
25529+
# Optional. VNI is a 24-bit unique virtual network identifier, from 0 to 16,777,
25530+
# 215.
25531+
# Corresponds to the JSON property `vni`
25532+
# @return [Fixnum]
25533+
attr_accessor :vni
25534+
25535+
def initialize(**args)
25536+
update!(**args)
25537+
end
25538+
25539+
# Update properties of this object
25540+
def update!(**args)
25541+
@vni = args[:vni] if args.key?(:vni)
25542+
end
25543+
end
25544+
2539825545
# Response to the list request, and contains a list of interconnect attachments.
2539925546
class InterconnectAttachmentList
2540025547
include Google::Apis::Core::Hashable
@@ -31604,13 +31751,13 @@ def update!(**args)
3160431751
class NetworkEndpoint
3160531752
include Google::Apis::Core::Hashable
3160631753

31607-
# Metadata defined as annotations on the network endpoint.
31754+
# Optional metadata defined as annotations on the network endpoint.
3160831755
# Corresponds to the JSON property `annotations`
3160931756
# @return [Hash<String,String>]
3161031757
attr_accessor :annotations
3161131758

31612-
# Represents the port number to which PSC consumer sends packets. Only valid for
31613-
# network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
31759+
# Represents the port number to which PSC consumer sends packets. Optional. Only
31760+
# valid for network endpoint groups created with GCE_VM_IP_PORTMAP endpoint type.
3161431761
# Corresponds to the JSON property `clientDestinationPort`
3161531762
# @return [Fixnum]
3161631763
attr_accessor :client_destination_port
@@ -31621,12 +31768,13 @@ class NetworkEndpoint
3162131768
# @return [String]
3162231769
attr_accessor :fqdn
3162331770

31624-
# The name or a URL of VM instance of this network endpoint. This field is
31625-
# required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The
31626-
# instance must be in the same zone of network endpoint group (for zonal NEGs)
31627-
# or in the zone within the region of the NEG (for regional NEGs). If the
31628-
# ipAddress is specified, it must belongs to the VM instance. The name must be 1-
31629-
# 63 characters long, and comply with RFC1035 or be a valid URL pointing to an
31771+
# The name or a URL of VM instance of this network endpoint. Optional, the field
31772+
# presence depends on the network endpoint type. The field is required for
31773+
# network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be
31774+
# in the same zone of network endpoint group (for zonal NEGs) or in the zone
31775+
# within the region of the NEG (for regional NEGs). If the ipAddress is
31776+
# specified, it must belongs to the VM instance. The name must be 1-63
31777+
# characters long, and comply with RFC1035 or be a valid URL pointing to an
3163031778
# existing instance.
3163131779
# Corresponds to the JSON property `instance`
3163231780
# @return [String]
@@ -31688,7 +31836,7 @@ def update!(**args)
3168831836
class NetworkEndpointGroup
3168931837
include Google::Apis::Core::Hashable
3169031838

31691-
# Metadata defined as annotations on the network endpoint group.
31839+
# Optional. Metadata defined as annotations on the network endpoint group.
3169231840
# Corresponds to the JSON property `annotations`
3169331841
# @return [Hash<String,String>]
3169431842
attr_accessor :annotations
@@ -31723,8 +31871,8 @@ class NetworkEndpointGroup
3172331871
attr_accessor :creation_timestamp
3172431872

3172531873
# The default port used if the port number is not specified in the network
31726-
# endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or
31727-
# PRIVATE_SERVICE_CONNECT, this field must not be specified.
31874+
# endpoint. Optional. If the network endpoint type is either GCE_VM_IP,
31875+
# SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.
3172831876
# Corresponds to the JSON property `defaultPort`
3172931877
# @return [Fixnum]
3173031878
attr_accessor :default_port
@@ -31783,7 +31931,8 @@ class NetworkEndpointGroup
3178331931

3178431932
# The target service url used to set up private service connection to a Google
3178531933
# API or a PSC Producer Service Attachment. An example value is: asia-northeast3-
31786-
# cloudkms.googleapis.com
31934+
# cloudkms.googleapis.com. Optional. Only valid when networkEndpointType is
31935+
# PRIVATE_SERVICE_CONNECT.
3178731936
# Corresponds to the JSON property `pscTargetService`
3178831937
# @return [String]
3178931938
attr_accessor :psc_target_service
@@ -32660,7 +32809,8 @@ def update!(**args)
3266032809
class NetworkEndpointWithHealthStatus
3266132810
include Google::Apis::Core::Hashable
3266232811

32663-
# [Output only] The health status of network endpoint;
32812+
# [Output only] The health status of network endpoint. Optional. Displayed only
32813+
# if the network endpoint has centralized health checking configured.
3266432814
# Corresponds to the JSON property `healths`
3266532815
# @return [Array<Google::Apis::ComputeAlpha::HealthStatusForNetworkEndpoint>]
3266632816
attr_accessor :healths

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ComputeAlpha
1818
# Version of the google-apis-compute_alpha gem
19-
GEM_VERSION = "0.108.0"
19+
GEM_VERSION = "0.109.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

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

0 commit comments

Comments
 (0)