Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
The configuration for the proxy.
Instance Attribute Summary collapse
-
#allowed_client_headers ⇒ Array<String>
Optional.
-
#client_ip ⇒ Boolean
(also: #client_ip?)
Optional.
-
#contextual_headers ⇒ Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders
Contextual headers configuration.
-
#gateway_identity ⇒ String
Optional.
-
#metadata_headers ⇒ Hash<String,String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig.
3025 3026 3027 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3025 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_client_headers ⇒ Array<String>
Optional. List of the allowed client header names.
Corresponds to the JSON property allowedClientHeaders
2999 3000 3001 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2999 def allowed_client_headers @allowed_client_headers end |
#client_ip ⇒ Boolean Also known as: client_ip?
Optional. Client IP configuration. The client IP address is included if true.
Corresponds to the JSON property clientIp
3004 3005 3006 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3004 def client_ip @client_ip end |
#contextual_headers ⇒ Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders
Contextual headers configuration.
Corresponds to the JSON property contextualHeaders
3010 3011 3012 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3010 def contextual_headers @contextual_headers end |
#gateway_identity ⇒ String
Optional. The security gateway identity configuration.
Corresponds to the JSON property gatewayIdentity
3015 3016 3017 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3015 def gateway_identity @gateway_identity end |
#metadata_headers ⇒ Hash<String,String>
Optional. Custom resource specific headers along with the values. The names
should conform to RFC 9110: >Field names can contain alphanumeric characters,
hyphens, and periods, can contain only ASCII-printable characters and tabs,
and must start with a letter.
Corresponds to the JSON property metadataHeaders
3023 3024 3025 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3023 def @metadata_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3030 3031 3032 3033 3034 3035 3036 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3030 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 |