Class LbTrafficExtension
LbTrafficExtension
is a resource that lets the extension service modify the headers and payloads of both
requests and responses without impacting the choice of backend services or any other security policies
associated with the backend service.
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1.Data
Assembly: Google.Apis.NetworkServices.v1.dll
Syntax
public class LbTrafficExtension : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. The timestamp when the resource was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. A human-readable description of the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExtensionChains
Required. A set of ordered extension chains that contain the match conditions and extensions to execute. Match conditions for each extension chain are evaluated in sequence for a given request. The first extension chain that has a condition that matches the request is executed. Any subsequent extension chains do not execute. Limited to 5 extension chains per resource.
Declaration
[JsonProperty("extensionChains")]
public virtual IList<ExtensionChain> ExtensionChains { get; set; }
Property Value
Type | Description |
---|---|
IList<ExtensionChain> |
ForwardingRules
Optional. A list of references to the forwarding rules to which this service extension is attached. At least
one forwarding rule is required. Only one LbTrafficExtension
resource can be associated with a forwarding
rule.
Declaration
[JsonProperty("forwardingRules")]
public virtual IList<string> ForwardingRules { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Labels
Optional. Set of labels associated with the LbTrafficExtension
resource. The format must comply with the
requirements for labels for Google
Cloud resources.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
LoadBalancingScheme
Required. All backend services and forwarding rules referenced by this extension must share the same load
balancing scheme. Supported values: INTERNAL_MANAGED
and EXTERNAL_MANAGED
. For more information, refer
to Backend services overview.
Declaration
[JsonProperty("loadBalancingScheme")]
public virtual string LoadBalancingScheme { get; set; }
Property Value
Type | Description |
---|---|
string |
Metadata
Optional. The metadata provided here is included as part of the metadata_context
(of type
google.protobuf.Struct
) in the ProcessingRequest
message sent to the extension server. The metadata
applies to all extensions in all extensions chains in this resource. The metadata is available under the key
com.google.lb_traffic_extension.
. The following variables are supported in the metadata:
{forwarding_rule_id}
- substituted with the forwarding rule's fully qualified resource name. This field
must not be set if at least one of the extension chains contains plugin extensions. Setting it results in a
validation error. You can set metadata at either the resource level or the extension level. The extension
level metadata is recommended because you can pass a different set of metadata through each extension to the
backend.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Name
Required. Identifier. Name of the LbTrafficExtension
resource in the following format:
projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. The timestamp when the resource was updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |