Service Client: Google::Cloud::Networkservices::V1::Dep::DepServiceClient

Client stub representing the remote DepService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to networkservices.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Networkservices::V1::Dep - Compiled Protocol Buffers messages for google/cloud/networkservices/v1/dep.proto

SYNOPSIS

use Google::Cloud::Networkservices::V1::Dep;

my $msg = Google::Cloud::Networkservices::V1::Dep::ExtensionChain->new({
    name => $name,
    match_condition => $match_condition,
    extensions => $extensions,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Networkservices::V1::Dep::ExtensionChain->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkservices/v1/dep.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Networkservices::V1::Dep::ExtensionChain

A single extension chain wrapper that contains the match conditions and extensions to execute.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name for this extension chain. The name is logged as part of the HTTP request logs. The name must conform with RFC-1034, is restricted to lower-cased letters, numbers and hyphens, and can have a maximum length of 63 characters. Additionally, the first character must be a letter and the last a letter or a number.

  • $msg->match_condition() / $msg->match_condition($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::ExtensionChain::MatchCondition)

    Required. Conditions under which this chain is invoked for a request.

  • $msg->extensions() / $msg->extensions($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::ExtensionChain::Extension)

    Required. A set of extensions to execute for the matching request. At least one extension is required. Up to 3 extensions can be defined for each extension chain for `LbTrafficExtension` resource. `LbRouteExtension` and `LbEdgeExtension` chains are limited to 1 extension per extension chain.

Google::Cloud::Networkservices::V1::Dep::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 from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Identifier. Name of the `LbTrafficExtension` resource in the following format: `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was updated.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. A human-readable description of the resource.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbTrafficExtension::LabelsEntry)

    Optional. Set of labels associated with the `LbTrafficExtension` resource.

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

  • $msg->forwarding_rules() / $msg->forwarding_rules($value)

    Type: String

    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.

  • $msg->extension_chains() / $msg->extension_chains($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::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.

  • $msg->load_balancing_scheme() / $msg->load_balancing_scheme($value)

    Type: Enum (Google::Cloud::Networkservices::V1::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](https://cloud.google.com/load-balancing/docs/backend-service).

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    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.<resource_name>`.

    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.

Google::Cloud::Networkservices::V1::Dep::ListLbTrafficExtensionsRequest

Message for requesting list of `LbTrafficExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the `LbTrafficExtension` resources are listed. These values are specified in the following format: `projects/{project}/locations/{location}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results that the server returns.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint about how to order the results.

Google::Cloud::Networkservices::V1::Dep::ListLbTrafficExtensionsResponse

Message for response to listing `LbTrafficExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->lb_traffic_extensions() / $msg->lb_traffic_extensions($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbTrafficExtension)

    The list of `LbTrafficExtension` resources.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results that the server returns.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkservices::V1::Dep::GetLbTrafficExtensionRequest

Message for getting a `LbTrafficExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the `LbTrafficExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.

Google::Cloud::Networkservices::V1::Dep::CreateLbTrafficExtensionRequest

Message for creating a `LbTrafficExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the `LbTrafficExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

  • $msg->lb_traffic_extension_id() / $msg->lb_traffic_extension_id($value)

    Type: String

    Required. User-provided ID of the `LbTrafficExtension` resource to be created.

  • $msg->lb_traffic_extension() / $msg->lb_traffic_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbTrafficExtension)

    Required. `LbTrafficExtension` resource to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::UpdateLbTrafficExtensionRequest

Message for updating a `LbTrafficExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Used to specify the fields to be overwritten in the `LbTrafficExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

  • $msg->lb_traffic_extension() / $msg->lb_traffic_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbTrafficExtension)

    Required. `LbTrafficExtension` resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::DeleteLbTrafficExtensionRequest

Message for deleting a `LbTrafficExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `LbTrafficExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/lbTrafficExtensions/{lb_traffic_extension}`.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::LbRouteExtension

`LbRouteExtension` is a resource that lets you control where traffic is routed to for a given request.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Identifier. Name of the `LbRouteExtension` resource in the following format: `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was updated.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. A human-readable description of the resource.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbRouteExtension::LabelsEntry)

    Optional. Set of labels associated with the `LbRouteExtension` resource.

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

  • $msg->forwarding_rules() / $msg->forwarding_rules($value)

    Type: 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 `LbRouteExtension` resource can be associated with a forwarding rule.

  • $msg->extension_chains() / $msg->extension_chains($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::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.

  • $msg->load_balancing_scheme() / $msg->load_balancing_scheme($value)

    Type: Enum (Google::Cloud::Networkservices::V1::LoadBalancingScheme)

    Required. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    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_route_extension.<resource_name>`.

    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.

Google::Cloud::Networkservices::V1::Dep::ListLbRouteExtensionsRequest

Message for requesting list of `LbRouteExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the `LbRouteExtension` resources are listed. These values are specified in the following format: `projects/{project}/locations/{location}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results that the server returns.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint about how to order the results.

Google::Cloud::Networkservices::V1::Dep::ListLbRouteExtensionsResponse

Message for response to listing `LbRouteExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->lb_route_extensions() / $msg->lb_route_extensions($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbRouteExtension)

    The list of `LbRouteExtension` resources.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results that the server returns.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkservices::V1::Dep::GetLbRouteExtensionRequest

Message for getting a `LbRouteExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the `LbRouteExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.

Google::Cloud::Networkservices::V1::Dep::CreateLbRouteExtensionRequest

Message for creating a `LbRouteExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the `LbRouteExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

  • $msg->lb_route_extension_id() / $msg->lb_route_extension_id($value)

    Type: String

    Required. User-provided ID of the `LbRouteExtension` resource to be created.

  • $msg->lb_route_extension() / $msg->lb_route_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbRouteExtension)

    Required. `LbRouteExtension` resource to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::UpdateLbRouteExtensionRequest

Message for updating a `LbRouteExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Used to specify the fields to be overwritten in the `LbRouteExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

  • $msg->lb_route_extension() / $msg->lb_route_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbRouteExtension)

    Required. `LbRouteExtension` resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::DeleteLbRouteExtensionRequest

Message for deleting a `LbRouteExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `LbRouteExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/lbRouteExtensions/{lb_route_extension}`.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::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 from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

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

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was updated.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. A human-readable description of the resource.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbEdgeExtension::LabelsEntry)

    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.

  • $msg->forwarding_rules() / $msg->forwarding_rules($value)

    Type: 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.

  • $msg->extension_chains() / $msg->extension_chains($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::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.

  • $msg->load_balancing_scheme() / $msg->load_balancing_scheme($value)

    Type: Enum (Google::Cloud::Networkservices::V1::LoadBalancingScheme)

    Required. All forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `EXTERNAL_MANAGED`.

Google::Cloud::Networkservices::V1::Dep::ListLbEdgeExtensionsRequest

Message for requesting list of `LbEdgeExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the `LbEdgeExtension` resources are listed. These values are specified in the following format: `projects/{project}/locations/{location}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results that the server returns.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint about how to order the results.

Google::Cloud::Networkservices::V1::Dep::ListLbEdgeExtensionsResponse

Message for response to listing `LbEdgeExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->lb_edge_extensions() / $msg->lb_edge_extensions($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbEdgeExtension)

    The list of `LbEdgeExtension` resources.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results that the server returns.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkservices::V1::Dep::GetLbEdgeExtensionRequest

Message for getting a `LbEdgeExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the `LbEdgeExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.

Google::Cloud::Networkservices::V1::Dep::CreateLbEdgeExtensionRequest

Message for creating a `LbEdgeExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the `LbEdgeExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

  • $msg->lb_edge_extension_id() / $msg->lb_edge_extension_id($value)

    Type: String

    Required. User-provided ID of the `LbEdgeExtension` resource to be created.

  • $msg->lb_edge_extension() / $msg->lb_edge_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbEdgeExtension)

    Required. `LbEdgeExtension` resource to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::UpdateLbEdgeExtensionRequest

Message for updating a `LbEdgeExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Used to specify the fields to be overwritten in the `LbEdgeExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

  • $msg->lb_edge_extension() / $msg->lb_edge_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::LbEdgeExtension)

    Required. `LbEdgeExtension` resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::DeleteLbEdgeExtensionRequest

Message for deleting a `LbEdgeExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `LbEdgeExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/lbEdgeExtensions/{lb_edge_extension}`.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::AuthzExtension

`AuthzExtension` is a resource that allows traffic forwarding to a callout backend service to make an authorization decision.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Identifier. Name of the `AuthzExtension` resource in the following format: `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The timestamp when the resource was updated.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. A human-readable description of the resource.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::AuthzExtension::LabelsEntry)

    Optional. Set of labels associated with the `AuthzExtension` resource.

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

  • $msg->load_balancing_scheme() / $msg->load_balancing_scheme($value)

    Type: Enum (Google::Cloud::Networkservices::V1::LoadBalancingScheme)

    Optional. All backend services and forwarding rules referenced by this extension must share the same load balancing scheme. Supported values: `INTERNAL_MANAGED`, `EXTERNAL_MANAGED`. Can be omitted for AuthzExtensions that do not reference a backend service. For more information, refer to [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service).

  • $msg->authority() / $msg->authority($value)

    Type: String

    Optional. The `:authority` header in the gRPC request sent from Envoy to the extension service. It is required when the `service` field points to a backend service or a wasm plugin.

  • $msg->service() / $msg->service($value)

    Type: String

    Required. The reference to the service that runs the extension.

    To configure a callout extension, `service` must be a fully-qualified reference to a [backend service](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) in the format: `https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}` or `https://www.googleapis.com/compute/v1/projects/{project}/global/backendServices/{backendService}`.

  • $msg->timeout() / $msg->timeout($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Required. Specifies the timeout for each individual message on the stream. The timeout must be between 10-10000 milliseconds.

  • $msg->fail_open() / $msg->fail_open($value)

    Type: Bool

    Optional. Determines how the proxy behaves if the call to the extension fails or times out.

    When set to `TRUE`, request or response processing continues without error. Any subsequent extensions in the extension chain are also executed. When set to `FALSE` or the default setting of `FALSE` is used, one of the following happens:

    * If response headers have not been delivered to the downstream client, a generic 500 error is returned to the client. The error response can be tailored by configuring a custom error response in the load balancer.

    * If response headers have been delivered, then the HTTP stream to the downstream client is reset.

  • $msg->metadata() / $msg->metadata($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    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 is available under the namespace `com.google.authz_extension.<resource_name>`. The following variables are supported in the metadata Struct:

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

  • $msg->forward_headers() / $msg->forward_headers($value)

    Type: String

    Optional. List of the HTTP headers to forward to the extension (from the client). If omitted, all headers are sent. Each element is a string indicating the header name.

  • $msg->forward_attributes() / $msg->forward_attributes($value)

    Type: String

    Optional. List of the Envoy attributes to forward to the extension server. The attributes provided here are included as part of the `ProcessingRequest.attributes` field (of type `map<string, google.protobuf.Struct>`), where the keys are the attribute names. Refer to the [documentation](https://cloud.google.com/service-extensions/docs/cel-matcher-language-reference#attributes) for the names of attributes that can be forwarded. If omitted, no attributes are sent. Each element is a string indicating the attribute name.

  • $msg->wire_format() / $msg->wire_format($value)

    Type: Enum (Google::Cloud::Networkservices::V1::WireFormat)

    Optional. The format of communication supported by the callout extension. This field is supported only for regional `AuthzExtension` resources. If not specified, the default value `EXT_PROC_GRPC` is used. Global `AuthzExtension` resources use the `EXT_PROC_GRPC` wire format.

Google::Cloud::Networkservices::V1::Dep::ListAuthzExtensionsRequest

Message for requesting list of `AuthzExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the `AuthzExtension` resources are listed. These values are specified in the following format: `projects/{project}/locations/{location}`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. The server might return fewer items than requested. If unspecified, the server picks an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results that the server returns.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint about how to order the results.

Google::Cloud::Networkservices::V1::Dep::ListAuthzExtensionsResponse

Message for response to listing `AuthzExtension` resources.

Inherits from Protobuf::Message.

Accessors

  • $msg->authz_extensions() / $msg->authz_extensions($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::AuthzExtension)

    The list of `AuthzExtension` resources.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results that the server returns.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Networkservices::V1::Dep::GetAuthzExtensionRequest

Message for getting a `AuthzExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the `AuthzExtension` resource to get. Must be in the format `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.

Google::Cloud::Networkservices::V1::Dep::CreateAuthzExtensionRequest

Message for creating a `AuthzExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the `AuthzExtension` resource. Must be in the format `projects/{project}/locations/{location}`.

  • $msg->authz_extension_id() / $msg->authz_extension_id($value)

    Type: String

    Required. User-provided ID of the `AuthzExtension` resource to be created.

  • $msg->authz_extension() / $msg->authz_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::AuthzExtension)

    Required. `AuthzExtension` resource to be created.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::UpdateAuthzExtensionRequest

Message for updating a `AuthzExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Used to specify the fields to be overwritten in the `AuthzExtension` resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not specify a mask, then all fields are overwritten.

  • $msg->authz_extension() / $msg->authz_extension($value)

    Type: Message (Google::Cloud::Networkservices::V1::Dep::AuthzExtension)

    Required. `AuthzExtension` resource being updated.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Networkservices::V1::Dep::DeleteAuthzExtensionRequest

Message for deleting a `AuthzExtension` resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the `AuthzExtension` resource to delete. Must be in the format `projects/{project}/locations/{location}/authzExtensions/{authz_extension}`.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server ignores the second request This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Networkservices::V1::Dep::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.