Skip to content

Commit 1a5c268

Browse files
feat: Automated regeneration of beyondcorp v1 client (googleapis#20408)
Auto-created at 2024-10-20 09:21:07 +0000 using the toys pull request generator.
1 parent 34edfbc commit 1a5c268

File tree

6 files changed

+316
-50
lines changed

6 files changed

+316
-50
lines changed

api_names_out.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43872,7 +43872,11 @@
4387243872
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher/ports": ports
4387343873
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher/ports/port": port
4387443874
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Hub": google_cloud_beyondcorp_securitygateways_v1_hub
43875+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Hub/internetGateway": internet_gateway
4387543876
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Hub/natGatewayConfig": nat_gateway_config
43877+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway": google_cloud_beyondcorp_securitygateways_v1_internet_gateway
43878+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway/assignedIps": assigned_ips
43879+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway/assignedIps/assigned_ip": assigned_ip
4387643880
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse": google_cloud_beyondcorp_securitygateways_v1_list_applications_response
4387743881
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse/applications": applications
4387843882
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse/applications/application": application
@@ -43891,6 +43895,7 @@
4389143895
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering": google_cloud_beyondcorp_securitygateways_v1_peering
4389243896
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/dnsZones": dns_zones
4389343897
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/dnsZones/dns_zone": dns_zone
43898+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/targetNetwork": target_network
4389443899
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/targetVpcNetwork": target_vpc_network
4389543900
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway": google_cloud_beyondcorp_securitygateways_v1_security_gateway
4389643901
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/createTime": create_time
@@ -43911,6 +43916,8 @@
4391143916
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata/target": target
4391243917
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata/verb": verb
4391343918
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest": google_cloud_beyondcorp_securitygateways_v1_set_peering_request
43919+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/peerings": peerings
43920+
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/peerings/peering": peering
4391443921
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/requestId": request_id
4391543922
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/validateOnly": validate_only
4391643923
"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/vpcPeerings": vpc_peerings
@@ -44228,6 +44235,8 @@
4422844235
"/beyondcorp:v1/beyondcorp.projects.locations.global.securityGateways.applications.patch/name": name
4422944236
"/beyondcorp:v1/beyondcorp.projects.locations.global.securityGateways.applications.patch/requestId": request_id
4423044237
"/beyondcorp:v1/beyondcorp.projects.locations.global.securityGateways.applications.patch/updateMask": update_mask
44238+
"/beyondcorp:v1/beyondcorp.projects.locations.global.securityGateways.applications.testIamPermissions": test_project_location_global_security_gateway_application_iam_permissions
44239+
"/beyondcorp:v1/beyondcorp.projects.locations.global.securityGateways.applications.testIamPermissions/resource": resource
4423144240
"/beyondcorp:v1/beyondcorp.projects.locations.list": list_project_locations
4423244241
"/beyondcorp:v1/beyondcorp.projects.locations.list/filter": filter
4423344242
"/beyondcorp:v1/beyondcorp.projects.locations.list/name": name
@@ -44250,12 +44259,17 @@
4425044259
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.delete/validateOnly": validate_only
4425144260
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.get": get_project_location_security_gateway_application
4425244261
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.get/name": name
44262+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.getIamPolicy": get_project_location_security_gateway_application_iam_policy
44263+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
44264+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.getIamPolicy/resource": resource
4425344265
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.list": list_project_location_security_gateway_applications
4425444266
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.list/filter": filter
4425544267
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.list/orderBy": order_by
4425644268
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.list/pageSize": page_size
4425744269
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.list/pageToken": page_token
4425844270
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.list/parent": parent
44271+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.setIamPolicy": set_project_location_security_gateway_application_iam_policy
44272+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.applications.setIamPolicy/resource": resource
4425944273
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.create": create_project_location_security_gateway
4426044274
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.create/parent": parent
4426144275
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.create/requestId": request_id
@@ -44266,6 +44280,9 @@
4426644280
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.delete/validateOnly": validate_only
4426744281
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.get": get_project_location_security_gateway
4426844282
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.get/name": name
44283+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.getIamPolicy": get_project_location_security_gateway_iam_policy
44284+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version
44285+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.getIamPolicy/resource": resource
4426944286
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.list": list_project_location_security_gateways
4427044287
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.list/filter": filter
4427144288
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.list/orderBy": order_by
@@ -44278,6 +44295,10 @@
4427844295
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.patch/updateMask": update_mask
4427944296
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.setPeering": set_project_location_security_gateway_peering
4428044297
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.setPeering/securityGateway": security_gateway
44298+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.testIamPermissions": test_project_location_security_gateway_iam_permissions
44299+
"/beyondcorp:v1/beyondcorp.projects.locations.securityGateways.testIamPermissions/resource": resource
44300+
"/beyondcorp:v1/beyondcorp.v.projects.locations.securityGateways.setIamPolicy": set_v_project_location_security_gateway_iam_policy
44301+
"/beyondcorp:v1/beyondcorp.v.projects.locations.securityGateways.setIamPolicy/resource": resource
4428144302
"/beyondcorp:v1/fields": fields
4428244303
"/beyondcorp:v1/key": key
4428344304
"/beyondcorp:v1/quotaUser": quota_user

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.29.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241011
6+
37
### v0.28.0 (2024-10-06)
48

59
* Regenerated from discovery document revision 20240925

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

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,18 +1755,37 @@ def update!(**args)
17551755
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
17561756
include Google::Apis::Core::Hashable
17571757

1758-
# Represents the NAT Gateway configuration.
1759-
# Corresponds to the JSON property `natGatewayConfig`
1760-
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig]
1761-
attr_accessor :nat_gateway_config
1758+
# Represents the Internet Gateway configuration.
1759+
# Corresponds to the JSON property `internetGateway`
1760+
# @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway]
1761+
attr_accessor :internet_gateway
17621762

17631763
def initialize(**args)
17641764
update!(**args)
17651765
end
17661766

17671767
# Update properties of this object
17681768
def update!(**args)
1769-
@nat_gateway_config = args[:nat_gateway_config] if args.key?(:nat_gateway_config)
1769+
@internet_gateway = args[:internet_gateway] if args.key?(:internet_gateway)
1770+
end
1771+
end
1772+
1773+
# Represents the Internet Gateway configuration.
1774+
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
1775+
include Google::Apis::Core::Hashable
1776+
1777+
# Output only. List of IP addresses assigned to the Cloud NAT.
1778+
# Corresponds to the JSON property `assignedIps`
1779+
# @return [Array<String>]
1780+
attr_accessor :assigned_ips
1781+
1782+
def initialize(**args)
1783+
update!(**args)
1784+
end
1785+
1786+
# Update properties of this object
1787+
def update!(**args)
1788+
@assigned_ips = args[:assigned_ips] if args.key?(:assigned_ips)
17701789
end
17711790
end
17721791

@@ -1834,26 +1853,6 @@ def update!(**args)
18341853
end
18351854
end
18361855

1837-
# Represents the NAT Gateway configuration.
1838-
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
1839-
include Google::Apis::Core::Hashable
1840-
1841-
# Output only. List of NAT IPs that will be used for establishing connection to
1842-
# the endpoints.
1843-
# Corresponds to the JSON property `natIps`
1844-
# @return [Array<String>]
1845-
attr_accessor :nat_ips
1846-
1847-
def initialize(**args)
1848-
update!(**args)
1849-
end
1850-
1851-
# Update properties of this object
1852-
def update!(**args)
1853-
@nat_ips = args[:nat_ips] if args.key?(:nat_ips)
1854-
end
1855-
end
1856-
18571856
# VPC Peering details.
18581857
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
18591858
include Google::Apis::Core::Hashable
@@ -1865,9 +1864,9 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
18651864

18661865
# Required. The name of the Target VPC network name in the format: `projects/`
18671866
# project`/global/networks/`network`
1868-
# Corresponds to the JSON property `targetVpcNetwork`
1867+
# Corresponds to the JSON property `targetNetwork`
18691868
# @return [String]
1870-
attr_accessor :target_vpc_network
1869+
attr_accessor :target_network
18711870

18721871
def initialize(**args)
18731872
update!(**args)
@@ -1876,7 +1875,7 @@ def initialize(**args)
18761875
# Update properties of this object
18771876
def update!(**args)
18781877
@dns_zones = args[:dns_zones] if args.key?(:dns_zones)
1879-
@target_vpc_network = args[:target_vpc_network] if args.key?(:target_vpc_network)
1878+
@target_network = args[:target_network] if args.key?(:target_network)
18801879
end
18811880
end
18821881

@@ -2002,6 +2001,11 @@ def update!(**args)
20022001
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
20032002
include Google::Apis::Core::Hashable
20042003

2004+
# Required. List of Peering connection information.
2005+
# Corresponds to the JSON property `peerings`
2006+
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering>]
2007+
attr_accessor :peerings
2008+
20052009
# Optional. An optional request ID to identify requests. Specify a unique
20062010
# request ID so that if you must retry your request, the server will know to
20072011
# ignore the request if it has already been completed. The server will guarantee
@@ -2023,20 +2027,15 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
20232027
attr_accessor :validate_only
20242028
alias_method :validate_only?, :validate_only
20252029

2026-
# Required. List of Peering connection information.
2027-
# Corresponds to the JSON property `vpcPeerings`
2028-
# @return [Array<Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering>]
2029-
attr_accessor :vpc_peerings
2030-
20312030
def initialize(**args)
20322031
update!(**args)
20332032
end
20342033

20352034
# Update properties of this object
20362035
def update!(**args)
2036+
@peerings = args[:peerings] if args.key?(:peerings)
20372037
@request_id = args[:request_id] if args.key?(:request_id)
20382038
@validate_only = args[:validate_only] if args.key?(:validate_only)
2039-
@vpc_peerings = args[:vpc_peerings] if args.key?(:vpc_peerings)
20402039
end
20412040
end
20422041

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.28.0"
19+
GEM_VERSION = "0.29.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 = "20240925"
25+
REVISION = "20241011"
2626
end
2727
end
2828
end

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

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -280,19 +280,19 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
280280
include Google::Apis::Core::JsonObjectSupport
281281
end
282282

283-
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
283+
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
284284
class Representation < Google::Apis::Core::JsonRepresentation; end
285285

286286
include Google::Apis::Core::JsonObjectSupport
287287
end
288288

289-
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
289+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
290290
class Representation < Google::Apis::Core::JsonRepresentation; end
291291

292292
include Google::Apis::Core::JsonObjectSupport
293293
end
294294

295-
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
295+
class GoogleCloudBeyondcorpSecuritygatewaysV1ListSecurityGatewaysResponse
296296
class Representation < Google::Apis::Core::JsonRepresentation; end
297297

298298
include Google::Apis::Core::JsonObjectSupport
@@ -885,11 +885,18 @@ class Representation < Google::Apis::Core::JsonRepresentation
885885
class GoogleCloudBeyondcorpSecuritygatewaysV1Hub
886886
# @private
887887
class Representation < Google::Apis::Core::JsonRepresentation
888-
property :nat_gateway_config, as: 'natGatewayConfig', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig::Representation
888+
property :internet_gateway, as: 'internetGateway', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway::Representation
889889

890890
end
891891
end
892892

893+
class GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway
894+
# @private
895+
class Representation < Google::Apis::Core::JsonRepresentation
896+
collection :assigned_ips, as: 'assignedIps'
897+
end
898+
end
899+
893900
class GoogleCloudBeyondcorpSecuritygatewaysV1ListApplicationsResponse
894901
# @private
895902
class Representation < Google::Apis::Core::JsonRepresentation
@@ -910,18 +917,11 @@ class Representation < Google::Apis::Core::JsonRepresentation
910917
end
911918
end
912919

913-
class GoogleCloudBeyondcorpSecuritygatewaysV1NatGatewayConfig
914-
# @private
915-
class Representation < Google::Apis::Core::JsonRepresentation
916-
collection :nat_ips, as: 'natIps'
917-
end
918-
end
919-
920920
class GoogleCloudBeyondcorpSecuritygatewaysV1Peering
921921
# @private
922922
class Representation < Google::Apis::Core::JsonRepresentation
923923
collection :dns_zones, as: 'dnsZones'
924-
property :target_vpc_network, as: 'targetVpcNetwork'
924+
property :target_network, as: 'targetNetwork'
925925
end
926926
end
927927

@@ -955,10 +955,10 @@ class Representation < Google::Apis::Core::JsonRepresentation
955955
class GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest
956956
# @private
957957
class Representation < Google::Apis::Core::JsonRepresentation
958+
collection :peerings, as: 'peerings', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering::Representation
959+
958960
property :request_id, as: 'requestId'
959961
property :validate_only, as: 'validateOnly'
960-
collection :vpc_peerings, as: 'vpcPeerings', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering::Representation
961-
962962
end
963963
end
964964

0 commit comments

Comments
 (0)