From 052614cf2f87876bd3a24e8874cc37c7d71739d1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 28 Sep 2025 10:25:06 +0000 Subject: [PATCH] feat: Automated regeneration of beyondcorp v1 client --- api_names_out.yaml | 36 +++ .../google-apis-beyondcorp_v1/CHANGELOG.md | 4 + .../lib/google/apis/beyondcorp_v1/classes.rb | 281 +++++++++++++++++- .../google/apis/beyondcorp_v1/gem_version.rb | 4 +- .../apis/beyondcorp_v1/representations.rb | 154 ++++++++++ 5 files changed, 472 insertions(+), 7 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..882c95c76c6 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -51206,17 +51206,37 @@ "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/endpointMatchers": endpoint_matchers "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/endpointMatchers/endpoint_matcher": endpoint_matcher "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/name": name +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/schema": schema "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/updateTime": update_time "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/upstreams": upstreams "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Application/upstreams/upstream": upstream "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream": google_cloud_beyondcorp_securitygateways_v1_application_upstream "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream/egressPolicy": egress_policy +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream/external": external "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream/network": network +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream/proxyProtocol": proxy_protocol +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal": google_cloud_beyondcorp_securitygateways_v1_application_upstream_external +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal/endpoints": endpoints +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal/endpoints/endpoint": endpoint "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork": google_cloud_beyondcorp_securitygateways_v1_application_upstream_network "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork/name": name +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders": google_cloud_beyondcorp_securitygateways_v1_contextual_headers +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders/deviceInfo": device_info +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders/groupInfo": group_info +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders/outputType": output_type +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders/userInfo": user_info +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo": google_cloud_beyondcorp_securitygateways_v1_contextual_headers_delegated_device_info +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo/outputType": output_type +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo": google_cloud_beyondcorp_securitygateways_v1_contextual_headers_delegated_group_info +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo/outputType": output_type +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo": google_cloud_beyondcorp_securitygateways_v1_contextual_headers_delegated_user_info +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo/outputType": output_type "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy": google_cloud_beyondcorp_securitygateways_v1_egress_policy "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy/regions": regions "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy/regions/region": region +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint": google_cloud_beyondcorp_securitygateways_v1_endpoint +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint/hostname": hostname +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint/port": port "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher": google_cloud_beyondcorp_securitygateways_v1_endpoint_matcher "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher/hostname": hostname "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher/ports": ports @@ -51247,6 +51267,14 @@ "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/dnsZones/dns_zone": dns_zone "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/targetNetwork": target_network "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1Peering/targetVpcNetwork": target_vpc_network +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig": google_cloud_beyondcorp_securitygateways_v1_proxy_protocol_config +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/allowedClientHeaders": allowed_client_headers +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/allowedClientHeaders/allowed_client_header": allowed_client_header +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/clientIp": client_ip +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/contextualHeaders": contextual_headers +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/gatewayIdentity": gateway_identity +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/metadataHeaders": metadata_headers +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig/metadataHeaders/metadata_header": metadata_header "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway": google_cloud_beyondcorp_securitygateways_v1_security_gateway "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/createTime": create_time "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/delegatingServiceAccount": delegating_service_account @@ -51256,6 +51284,8 @@ "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/hubs": hubs "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/hubs/hub": hub "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/name": name +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/proxyProtocolConfig": proxy_protocol_config +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/serviceDiscovery": service_discovery "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/state": state "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway/updateTime": update_time "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata": google_cloud_beyondcorp_securitygateways_v1_security_gateway_operation_metadata @@ -51266,6 +51296,12 @@ "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata/statusMessage": status_message "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata/target": target "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata/verb": verb +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery": google_cloud_beyondcorp_securitygateways_v1_service_discovery +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery/apiGateway": api_gateway +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway": google_cloud_beyondcorp_securitygateways_v1_service_discovery_api_gateway +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway/resourceOverride": resource_override +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor": google_cloud_beyondcorp_securitygateways_v1_service_discovery_api_gateway_operation_descriptor +"/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor/path": path "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest": google_cloud_beyondcorp_securitygateways_v1_set_peering_request "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/peerings": peerings "/beyondcorp:v1/GoogleCloudBeyondcorpSecuritygatewaysV1SetPeeringRequest/peerings/peering": peering diff --git a/generated/google-apis-beyondcorp_v1/CHANGELOG.md b/generated/google-apis-beyondcorp_v1/CHANGELOG.md index bd880ac8bcd..10cbf230c3d 100644 --- a/generated/google-apis-beyondcorp_v1/CHANGELOG.md +++ b/generated/google-apis-beyondcorp_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-beyondcorp_v1 +### v0.43.0 (2025-09-28) + +* Regenerated from discovery document revision 20250922 + ### v0.42.0 (2025-09-21) * Regenerated from discovery document revision 20250910 diff --git a/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/classes.rb b/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/classes.rb index 502849e0d80..a3e1db3895f 100644 --- a/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/classes.rb +++ b/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/classes.rb @@ -1693,10 +1693,9 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1Application # hostname and ports as endpoint matchers is used to match the application. # Match conditions for OR logic. An array of match conditions to allow for # multiple matching criteria. The rule is considered a match if one of the - # conditions is met. The conditions can be one of the following combinations ( - # Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.example.com"), ("xyz. - # example.com") Hostname and Ports - ("example.com" and "22"), ("example.com" - # and "22,33") etc + # conditions is met. The conditions should be the following combination: ( + # Hostname & Ports) EXAMPLES: Hostname and Ports - ("*.example.com", "443"), (" + # example.com" and "22"), ("example.com" and "22,33") etc # Corresponds to the JSON property `endpointMatchers` # @return [Array] attr_accessor :endpoint_matchers @@ -1706,6 +1705,11 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1Application # @return [String] attr_accessor :name + # Optional. Type of the external application. + # Corresponds to the JSON property `schema` + # @return [String] + attr_accessor :schema + # Output only. Timestamp when the resource was last modified. # Corresponds to the JSON property `updateTime` # @return [String] @@ -1726,6 +1730,7 @@ def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @endpoint_matchers = args[:endpoint_matchers] if args.key?(:endpoint_matchers) @name = args[:name] if args.key?(:name) + @schema = args[:schema] if args.key?(:schema) @update_time = args[:update_time] if args.key?(:update_time) @upstreams = args[:upstreams] if args.key?(:upstreams) end @@ -1740,11 +1745,21 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy] attr_accessor :egress_policy + # Endpoints to forward traffic to. + # Corresponds to the JSON property `external` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal] + attr_accessor :external + # Network to forward traffic to. # Corresponds to the JSON property `network` # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork] attr_accessor :network + # The configuration for the proxy. + # Corresponds to the JSON property `proxyProtocol` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig] + attr_accessor :proxy_protocol + def initialize(**args) update!(**args) end @@ -1752,7 +1767,28 @@ def initialize(**args) # Update properties of this object def update!(**args) @egress_policy = args[:egress_policy] if args.key?(:egress_policy) + @external = args[:external] if args.key?(:external) @network = args[:network] if args.key?(:network) + @proxy_protocol = args[:proxy_protocol] if args.key?(:proxy_protocol) + end + end + + # Endpoints to forward traffic to. + class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal + include Google::Apis::Core::Hashable + + # Required. List of the endpoints to forward traffic to. + # Corresponds to the JSON property `endpoints` + # @return [Array] + attr_accessor :endpoints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @endpoints = args[:endpoints] if args.key?(:endpoints) end end @@ -1776,6 +1812,100 @@ def update!(**args) end end + # Contextual headers configuration. + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders + include Google::Apis::Core::Hashable + + # Delegated device info configuration. + # Corresponds to the JSON property `deviceInfo` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo] + attr_accessor :device_info + + # Delegated group info configuration. + # Corresponds to the JSON property `groupInfo` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo] + attr_accessor :group_info + + # Optional. Default output type for all enabled headers. + # Corresponds to the JSON property `outputType` + # @return [String] + attr_accessor :output_type + + # Delegated user info configuration. + # Corresponds to the JSON property `userInfo` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo] + attr_accessor :user_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_info = args[:device_info] if args.key?(:device_info) + @group_info = args[:group_info] if args.key?(:group_info) + @output_type = args[:output_type] if args.key?(:output_type) + @user_info = args[:user_info] if args.key?(:user_info) + end + end + + # Delegated device info configuration. + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo + include Google::Apis::Core::Hashable + + # Optional. The output type of the delegated device info. + # Corresponds to the JSON property `outputType` + # @return [String] + attr_accessor :output_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_type = args[:output_type] if args.key?(:output_type) + end + end + + # Delegated group info configuration. + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo + include Google::Apis::Core::Hashable + + # Optional. The output type of the delegated group info. + # Corresponds to the JSON property `outputType` + # @return [String] + attr_accessor :output_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_type = args[:output_type] if args.key?(:output_type) + end + end + + # Delegated user info configuration. + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo + include Google::Apis::Core::Hashable + + # Optional. The output type of the delegated user info. + # Corresponds to the JSON property `outputType` + # @return [String] + attr_accessor :output_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_type = args[:output_type] if args.key?(:output_type) + end + end + # Routing policy information. class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy include Google::Apis::Core::Hashable @@ -1795,6 +1925,31 @@ def update!(**args) end end + # Internet Gateway endpoint to forward traffic to. + class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint + include Google::Apis::Core::Hashable + + # Required. Hostname of the endpoint. + # Corresponds to the JSON property `hostname` + # @return [String] + attr_accessor :hostname + + # Required. Port of the endpoint. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hostname = args[:hostname] if args.key?(:hostname) + @port = args[:port] if args.key?(:port) + end + end + # EndpointMatcher contains the information of the endpoint that will match the # application. class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher @@ -1805,7 +1960,7 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher # @return [String] attr_accessor :hostname - # Optional. Ports of the application. + # Required. Ports of the application. # Corresponds to the JSON property `ports` # @return [Array] attr_accessor :ports @@ -1924,6 +2079,53 @@ def update!(**args) end end + # The configuration for the proxy. + class GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig + include Google::Apis::Core::Hashable + + # Optional. List of the allowed client header names. + # Corresponds to the JSON property `allowedClientHeaders` + # @return [Array] + attr_accessor :allowed_client_headers + + # Optional. Client IP configuration. The client IP address is included if true. + # Corresponds to the JSON property `clientIp` + # @return [Boolean] + attr_accessor :client_ip + alias_method :client_ip?, :client_ip + + # Contextual headers configuration. + # Corresponds to the JSON property `contextualHeaders` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders] + attr_accessor :contextual_headers + + # Optional. Gateway identity configuration. + # Corresponds to the JSON property `gatewayIdentity` + # @return [String] + attr_accessor :gateway_identity + + # Optional. Custom resource specific headers along with the values. The names + # should conform to RFC 9110: > Field names SHOULD constrain themselves to + # alphanumeric characters, "-", and ".", and SHOULD begin with a letter. Field + # values SHOULD contain only ASCII printable characters and tab. + # Corresponds to the JSON property `metadataHeaders` + # @return [Hash] + attr_accessor :metadata_headers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allowed_client_headers = args[:allowed_client_headers] if args.key?(:allowed_client_headers) + @client_ip = args[:client_ip] if args.key?(:client_ip) + @contextual_headers = args[:contextual_headers] if args.key?(:contextual_headers) + @gateway_identity = args[:gateway_identity] if args.key?(:gateway_identity) + @metadata_headers = args[:metadata_headers] if args.key?(:metadata_headers) + end + end + # The information about a security gateway resource. class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway include Google::Apis::Core::Hashable @@ -1962,6 +2164,16 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway # @return [String] attr_accessor :name + # The configuration for the proxy. + # Corresponds to the JSON property `proxyProtocolConfig` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig] + attr_accessor :proxy_protocol_config + + # Settings related to the Service Discovery. + # Corresponds to the JSON property `serviceDiscovery` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery] + attr_accessor :service_discovery + # Output only. The operational state of the SecurityGateway. # Corresponds to the JSON property `state` # @return [String] @@ -1984,6 +2196,8 @@ def update!(**args) @external_ips = args[:external_ips] if args.key?(:external_ips) @hubs = args[:hubs] if args.key?(:hubs) @name = args[:name] if args.key?(:name) + @proxy_protocol_config = args[:proxy_protocol_config] if args.key?(:proxy_protocol_config) + @service_discovery = args[:service_discovery] if args.key?(:service_discovery) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end @@ -2048,6 +2262,63 @@ def update!(**args) end end + # Settings related to the Service Discovery. + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery + include Google::Apis::Core::Hashable + + # If Service Discovery is done through API, defines its settings. + # Corresponds to the JSON property `apiGateway` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway] + attr_accessor :api_gateway + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_gateway = args[:api_gateway] if args.key?(:api_gateway) + end + end + + # If Service Discovery is done through API, defines its settings. + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway + include Google::Apis::Core::Hashable + + # API operation descriptor. + # Corresponds to the JSON property `resourceOverride` + # @return [Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor] + attr_accessor :resource_override + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_override = args[:resource_override] if args.key?(:resource_override) + end + end + + # API operation descriptor. + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor + include Google::Apis::Core::Hashable + + # Required. Contains uri path fragment where HTTP request is sent. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @path = args[:path] if args.key?(:path) + end + end + # Represents the metadata of the long-running operation. class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata include Google::Apis::Core::Hashable diff --git a/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/gem_version.rb b/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/gem_version.rb index 9be192f574f..c8d2e9060a7 100644 --- a/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/gem_version.rb +++ b/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module BeyondcorpV1 # Version of the google-apis-beyondcorp_v1 gem - GEM_VERSION = "0.42.0" + GEM_VERSION = "0.43.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250910" + REVISION = "20250922" end end end diff --git a/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/representations.rb b/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/representations.rb index a0b158ef207..5493b8aa448 100644 --- a/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/representations.rb +++ b/generated/google-apis-beyondcorp_v1/lib/google/apis/beyondcorp_v1/representations.rb @@ -274,18 +274,54 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher class Representation < Google::Apis::Core::JsonRepresentation; end @@ -316,6 +352,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway class Representation < Google::Apis::Core::JsonRepresentation; end @@ -328,6 +370,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -870,6 +930,7 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :endpoint_matchers, as: 'endpointMatchers', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher::Representation property :name, as: 'name' + property :schema, as: 'schema' property :update_time, as: 'updateTime' collection :upstreams, as: 'upstreams', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream::Representation @@ -881,8 +942,20 @@ class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream class Representation < Google::Apis::Core::JsonRepresentation property :egress_policy, as: 'egressPolicy', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy::Representation + property :external, as: 'external', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal::Representation + property :network, as: 'network', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork::Representation + property :proxy_protocol, as: 'proxyProtocol', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig::Representation + + end + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamExternal + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :endpoints, as: 'endpoints', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint::Representation + end end @@ -893,6 +966,40 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_info, as: 'deviceInfo', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo::Representation + + property :group_info, as: 'groupInfo', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo::Representation + + property :output_type, as: 'outputType' + property :user_info, as: 'userInfo', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo::Representation + + end + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedDeviceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_type, as: 'outputType' + end + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedGroupInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_type, as: 'outputType' + end + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeadersDelegatedUserInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_type, as: 'outputType' + end + end + class GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -900,6 +1007,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudBeyondcorpSecuritygatewaysV1Endpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :hostname, as: 'hostname' + property :port, as: 'port' + end + end + class GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -943,6 +1058,18 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :allowed_client_headers, as: 'allowedClientHeaders' + property :client_ip, as: 'clientIp' + property :contextual_headers, as: 'contextualHeaders', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ContextualHeaders::Representation + + property :gateway_identity, as: 'gatewayIdentity' + hash :metadata_headers, as: 'metadataHeaders' + end + end + class GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -953,6 +1080,10 @@ class Representation < Google::Apis::Core::JsonRepresentation hash :hubs, as: 'hubs', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Hub::Representation property :name, as: 'name' + property :proxy_protocol_config, as: 'proxyProtocolConfig', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ProxyProtocolConfig::Representation + + property :service_discovery, as: 'serviceDiscovery', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery::Representation + property :state, as: 'state' property :update_time, as: 'updateTime' end @@ -971,6 +1102,29 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscovery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_gateway, as: 'apiGateway', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway::Representation + + end + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGateway + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_override, as: 'resourceOverride', class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor, decorator: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor::Representation + + end + end + + class GoogleCloudBeyondcorpSecuritygatewaysV1ServiceDiscoveryApiGatewayOperationDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :path, as: 'path' + end + end + class GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation