# Network Services V1 API - Class Google::Cloud::NetworkServices::V1::LbEdgeExtension (v2.10.1)

2.10.1 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.2.0 0.1.0 Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::LbEdgeExtension.

`LbEdgeExtension` is a resource that lets the extension service influence
the selection of backend services and Cloud CDN cache keys by modifying
request headers.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the resource was created.

### #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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/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. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a 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. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.
**Returns**

- (::Array\<::String\>) --- Required. A list of references to the forwarding rules to which this service extension is attached. At least one forwarding rule is required. Only one `LbEdgeExtension` resource can be associated with a forwarding rule.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Set of labels associated with the `LbEdgeExtension` resource.


  The format must comply with [the requirements for
  labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
  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 `LbEdgeExtension` resource.


  The format must comply with [the requirements for
  labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
  for Google Cloud resources.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. Set of labels associated with the `LbEdgeExtension` resource.


  The format must comply with [the requirements for
  labels](https://cloud.google.com/compute/docs/labeling-resources#requirements)
  for Google Cloud resources.

### #load_balancing_scheme

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

**Returns**

- ([::Google::Cloud::NetworkServices::V1::LoadBalancingScheme](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-LoadBalancingScheme)) --- Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.

### #load_balancing_scheme=

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

**Parameter**

- **value** ([::Google::Cloud::NetworkServices::V1::LoadBalancingScheme](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-LoadBalancingScheme)) --- Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.
**Returns**

- ([::Google::Cloud::NetworkServices::V1::LoadBalancingScheme](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Cloud-NetworkServices-V1-LoadBalancingScheme)) --- Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.
**Returns**

- (::String) --- Required. Identifier. Name of the `LbEdgeExtension` resource in the following format: `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_services-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when the resource was updated.