Skip to content

Commit

Permalink
feat: Automated regeneration of baremetalsolution v2 client (#20192)
Browse files Browse the repository at this point in the history
Auto-created at 2024-09-08 09:52:35 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Sep 8, 2024
1 parent 86687cc commit dd80922
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42384,6 +42384,7 @@
"/baremetalsolution:v2/NetworkConfig/vlanAttachments": vlan_attachments
"/baremetalsolution:v2/NetworkConfig/vlanAttachments/vlan_attachment": vlan_attachment
"/baremetalsolution:v2/NetworkConfig/vlanSameProject": vlan_same_project
"/baremetalsolution:v2/NetworkConfig/vrf": vrf
"/baremetalsolution:v2/NetworkMountPoint": network_mount_point
"/baremetalsolution:v2/NetworkMountPoint/defaultGateway": default_gateway
"/baremetalsolution:v2/NetworkMountPoint/instance": instance
Expand Down
5 changes: 5 additions & 0 deletions generated/google-apis-baremetalsolution_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release history for google-apis-baremetalsolution_v2

### v0.48.0 (2024-09-08)

* Regenerated from discovery document revision 20240830
* Regenerated using generator version 0.15.1

### v0.47.0 (2024-05-19)

* Regenerated using generator version 0.15.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,8 @@ class NetworkConfig
attr_accessor :user_note

# List of VLAN attachments. As of now there are always 2 attachments, but it is
# going to change in the future (multi vlan).
# going to change in the future (multi vlan). Use only one of vlan_attachments
# or vrf
# Corresponds to the JSON property `vlanAttachments`
# @return [Array<Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment>]
attr_accessor :vlan_attachments
Expand All @@ -1436,6 +1437,13 @@ class NetworkConfig
attr_accessor :vlan_same_project
alias_method :vlan_same_project?, :vlan_same_project

# Optional. The name of a pre-existing Vrf that the network should be attached
# to. Format is `vrfs/`vrf``. If vrf is specified, vlan_attachments must be
# empty.
# Corresponds to the JSON property `vrf`
# @return [String]
attr_accessor :vrf

def initialize(**args)
update!(**args)
end
Expand All @@ -1453,6 +1461,7 @@ def update!(**args)
@user_note = args[:user_note] if args.key?(:user_note)
@vlan_attachments = args[:vlan_attachments] if args.key?(:vlan_attachments)
@vlan_same_project = args[:vlan_same_project] if args.key?(:vlan_same_project)
@vrf = args[:vrf] if args.key?(:vrf)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module BaremetalsolutionV2
# Version of the google-apis-baremetalsolution_v2 gem
GEM_VERSION = "0.47.0"
GEM_VERSION = "0.48.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240422"
REVISION = "20240830"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :vlan_attachments, as: 'vlanAttachments', class: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment, decorator: Google::Apis::BaremetalsolutionV2::IntakeVlanAttachment::Representation

property :vlan_same_project, as: 'vlanSameProject'
property :vrf, as: 'vrf'
end
end

Expand Down

0 comments on commit dd80922

Please sign in to comment.