Network Services V1 API - Class Google::Cloud::NetworkServices::V1::LbTrafficExtension (v1.0.1)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. A human-readable description of the resource.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. A human-readable description of the resource.
Returns
  • (::String) — Optional. A human-readable description of the resource.

#extension_chains

def extension_chains() -> ::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain>
Returns
  • (::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain>) — 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.

#extension_chains=

def extension_chains=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain>
Parameter
  • value (::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain>) — 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.
Returns
  • (::Array<::Google::Cloud::NetworkServices::V1::ExtensionChain>) — 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.

#forwarding_rules

def forwarding_rules() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one LBTrafficExtension resource per forwarding rule.

#forwarding_rules=

def forwarding_rules=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one LBTrafficExtension resource per forwarding rule.
Returns
  • (::Array<::String>) — Required. A list of references to the forwarding rules to which this service extension is attached to. At least one forwarding rule is required. There can be only one LBTrafficExtension resource per forwarding rule.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the LbTrafficExtension resource.

    The format must comply with the requirements for labels for Google Cloud resources.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the LbTrafficExtension resource.

    The format must comply with the requirements for labels for Google Cloud resources.

Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the LbTrafficExtension resource.

    The format must comply with the requirements for labels for Google Cloud resources.

#load_balancing_scheme

def load_balancing_scheme() -> ::Google::Cloud::NetworkServices::V1::LoadBalancingScheme
Returns

#load_balancing_scheme=

def load_balancing_scheme=(value) -> ::Google::Cloud::NetworkServices::V1::LoadBalancingScheme
Parameter
Returns

#metadata

def metadata() -> ::Google::Protobuf::Struct
Returns
  • (::Google::Protobuf::Struct) — Optional. The metadata provided here is included in the ProcessingRequest.metadata_context.filter_metadata map field. The metadata is available under the key com.google.lb_traffic_extension.<resource_name>. The following variables are supported in the metadata:

    {forwarding_rule_id} - substituted with the forwarding rule's fully qualified resource name.

#metadata=

def metadata=(value) -> ::Google::Protobuf::Struct
Parameter
  • value (::Google::Protobuf::Struct) — Optional. The metadata provided here is included in the ProcessingRequest.metadata_context.filter_metadata map field. The metadata is available under the key com.google.lb_traffic_extension.<resource_name>. The following variables are supported in the metadata:

    {forwarding_rule_id} - substituted with the forwarding rule's fully qualified resource name.

Returns
  • (::Google::Protobuf::Struct) — Optional. The metadata provided here is included in the ProcessingRequest.metadata_context.filter_metadata map field. The metadata is available under the key com.google.lb_traffic_extension.<resource_name>. The following variables are supported in the metadata:

    {forwarding_rule_id} - substituted with the forwarding rule's fully qualified resource name.

#name

def name() -> ::String
Returns
  • (::String) — Required. Identifier. Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Identifier. Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}.
Returns
  • (::String) — Required. Identifier. Name of the LbTrafficExtension resource in the following format: projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns