Skip to content

Commit ac94f4a

Browse files
feat: Automated regeneration of beyondcorp v1 client (googleapis#23799)
Auto-created at 2025-07-27 10:31:01 +0000 using the toys pull request generator.
1 parent 953d5d3 commit ac94f4a

File tree

5 files changed

+139
-2
lines changed

5 files changed

+139
-2
lines changed

api_names_out.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49528,6 +49528,16 @@
4952849528
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/endpointMatchers/endpoint_matcher": endpoint_matcher
4952949529
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/name": name
4953049530
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/updateTime": update_time
49531+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/upstreams": upstreams
49532+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/upstreams/upstream": upstream
49533+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream": google_cloud_beyondcorp_securitygateways_v1_application_upstream
49534+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream/egressPolicy": egress_policy
49535+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream/network": network
49536+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork": google_cloud_beyondcorp_securitygateways_v1_application_upstream_network
49537+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork/name": name
49538+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy": google_cloud_beyondcorp_securitygateways_v1_egress_policy
49539+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy/regions": regions
49540+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy/regions/region": region
4953149541
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher": google_cloud_beyondcorp_securitygateways_v1_endpoint_matcher
4953249542
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher/hostname": hostname
4953349543
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher/ports": ports
@@ -49560,6 +49570,7 @@
4956049570
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/targetVpcNetwork": target_vpc_network
4956149571
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway": google_cloud_beyondcorp_securitygateways_v1_security_gateway
4956249572
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/createTime": create_time
49573+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/delegatingServiceAccount": delegating_service_account
4956349574
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/displayName": display_name
4956449575
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/externalIps": external_ips
4956549576
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/externalIps/external_ip": external_ip

generated/google-apis-beyondcorp_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-beyondcorp_v1
22

3+
### v0.39.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250714
6+
37
### v0.38.0 (2025-06-29)
48

59
* Regenerated from discovery document revision 20250616

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

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,11 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1Application
17101710
# @return [String]
17111711
attr_accessor :update_time
17121712

1713+
# Optional. Which upstream resources to forward traffic to.
1714+
# Corresponds to the JSON property `upstreams`
1715+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream>]
1716+
attr_accessor :upstreams
1717+
17131718
def initialize(**args)
17141719
update!(**args)
17151720
end
@@ -1721,6 +1726,71 @@ def update!(**args)
17211726
@endpoint_matchers = args[:endpoint_matchers] if args.key?(:endpoint_matchers)
17221727
@name = args[:name] if args.key?(:name)
17231728
@update_time = args[:update_time] if args.key?(:update_time)
1729+
@upstreams = args[:upstreams] if args.key?(:upstreams)
1730+
end
1731+
end
1732+
1733+
# Which upstream resource to forward traffic to.
1734+
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream
1735+
include Google::Apis::Core::Hashable
1736+
1737+
# Routing policy information.
1738+
# Corresponds to the JSON property `egressPolicy`
1739+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy]
1740+
attr_accessor :egress_policy
1741+
1742+
# Network to forward traffic to.
1743+
# Corresponds to the JSON property `network`
1744+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork]
1745+
attr_accessor :network
1746+
1747+
def initialize(**args)
1748+
update!(**args)
1749+
end
1750+
1751+
# Update properties of this object
1752+
def update!(**args)
1753+
@egress_policy = args[:egress_policy] if args.key?(:egress_policy)
1754+
@network = args[:network] if args.key?(:network)
1755+
end
1756+
end
1757+
1758+
# Network to forward traffic to.
1759+
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork
1760+
include Google::Apis::Core::Hashable
1761+
1762+
# Required. Network name is of the format: `projects/`project`/global/networks/`
1763+
# network`
1764+
# Corresponds to the JSON property `name`
1765+
# @return [String]
1766+
attr_accessor :name
1767+
1768+
def initialize(**args)
1769+
update!(**args)
1770+
end
1771+
1772+
# Update properties of this object
1773+
def update!(**args)
1774+
@name = args[:name] if args.key?(:name)
1775+
end
1776+
end
1777+
1778+
# Routing policy information.
1779+
class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy
1780+
include Google::Apis::Core::Hashable
1781+
1782+
# Required. List of the regions where the application sends traffic.
1783+
# Corresponds to the JSON property `regions`
1784+
# @return [Array<String>]
1785+
attr_accessor :regions
1786+
1787+
def initialize(**args)
1788+
update!(**args)
1789+
end
1790+
1791+
# Update properties of this object
1792+
def update!(**args)
1793+
@regions = args[:regions] if args.key?(:regions)
17241794
end
17251795
end
17261796

@@ -1862,6 +1932,12 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
18621932
# @return [String]
18631933
attr_accessor :create_time
18641934

1935+
# Output only. Service account used for operations that involve resources in
1936+
# consumer projects.
1937+
# Corresponds to the JSON property `delegatingServiceAccount`
1938+
# @return [String]
1939+
attr_accessor :delegating_service_account
1940+
18651941
# Optional. An arbitrary user-provided name for the SecurityGateway. Cannot
18661942
# exceed 64 characters.
18671943
# Corresponds to the JSON property `displayName`
@@ -1902,6 +1978,7 @@ def initialize(**args)
19021978
# Update properties of this object
19031979
def update!(**args)
19041980
@create_time = args[:create_time] if args.key?(:create_time)
1981+
@delegating_service_account = args[:delegating_service_account] if args.key?(:delegating_service_account)
19051982
@display_name = args[:display_name] if args.key?(:display_name)
19061983
@external_ips = args[:external_ips] if args.key?(:external_ips)
19071984
@hubs = args[:hubs] if args.key?(:hubs)

generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_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 BeyondcorpV1
1818
# Version of the google-apis-beyondcorp_v1 gem
19-
GEM_VERSION = "0.38.0"
19+
GEM_VERSION = "0.39.0"
2020

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

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

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
268268
include Google::Apis::Core::JsonObjectSupport
269269
end
270270

271+
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream
272+
class Representation < Google::Apis::Core::JsonRepresentation; end
273+
274+
include Google::Apis::Core::JsonObjectSupport
275+
end
276+
277+
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork
278+
class Representation < Google::Apis::Core::JsonRepresentation; end
279+
280+
include Google::Apis::Core::JsonObjectSupport
281+
end
282+
283+
class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy
284+
class Representation < Google::Apis::Core::JsonRepresentation; end
285+
286+
include Google::Apis::Core::JsonObjectSupport
287+
end
288+
271289
class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher
272290
class Representation < Google::Apis::Core::JsonRepresentation; end
273291

@@ -853,6 +871,32 @@ class Representation < Google::Apis::Core::JsonRepresentation
853871

854872
property :name, as: 'name'
855873
property :update_time, as: 'updateTime'
874+
collection :upstreams, as: 'upstreams', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream::Representation
875+
876+
end
877+
end
878+
879+
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream
880+
# @private
881+
class Representation < Google::Apis::Core::JsonRepresentation
882+
property :egress_policy, as: 'egressPolicy', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy::Representation
883+
884+
property :network, as: 'network', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork::Representation
885+
886+
end
887+
end
888+
889+
class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork
890+
# @private
891+
class Representation < Google::Apis::Core::JsonRepresentation
892+
property :name, as: 'name'
893+
end
894+
end
895+
896+
class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy
897+
# @private
898+
class Representation < Google::Apis::Core::JsonRepresentation
899+
collection :regions, as: 'regions'
856900
end
857901
end
858902

@@ -903,6 +947,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway
903947
# @private
904948
class Representation < Google::Apis::Core::JsonRepresentation
905949
property :create_time, as: 'createTime'
950+
property :delegating_service_account, as: 'delegatingServiceAccount'
906951
property :display_name, as: 'displayName'
907952
collection :external_ips, as: 'externalIps'
908953
hash :hubs, as: 'hubs', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub::Representation

0 commit comments

Comments
 (0)