NAME

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

SYNOPSIS

use Google::Cloud::Networkservices::V1::Extensibility;

my $msg = Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin->new({
    name => $name,
    create_time => $create_time,
    update_time => $update_time,
    description => $description,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/networkservices/v1/extensibility.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::Extensibility::WasmPlugin

`WasmPlugin` is a resource representing a service executing a customer-provided Wasm module.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Name of the `WasmPlugin` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.

  • $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::Extensibility::WasmPlugin::LabelsEntry)

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

    The format must comply with [the following requirements](/compute/docs/labeling-resources#requirements).

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

    Type: String

    Optional. The ID of the `WasmPluginVersion` resource that is the currently serving one. The version referred to must be a child of this `WasmPlugin` resource.

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin::LogConfig)

    Optional. Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging. Note that the settings relate to the logs generated by using logging statements in your Wasm code.

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin::VersionsEntry)

    Optional. All versions of this `WasmPlugin` resource in the key-value format. The key is the resource ID, and the value is the `VersionDetails` object.

    Lets you create or update a `WasmPlugin` resource and its versions in a single request. When the `main_version_id` field is not empty, it must point to one of the `VersionDetails` objects in the map.

    If provided in a `PATCH` request, the new versions replace the previous set. Any version omitted from the `versions` field is removed. Because the `WasmPluginVersion` resource is immutable, if a `WasmPluginVersion` resource with the same name already exists and differs, the request fails.

    Note: In a `GET` request, this field is populated only if the field `GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin::UsedBy)

    Output only. List of all [extensions](https://cloud.google.com/service-extensions/docs/overview) that use this `WasmPlugin` resource.

Google::Cloud::Networkservices::V1::Extensibility::WasmPluginVersion

A single immutable version of a `WasmPlugin` resource. Defines the Wasm module used and optionally its runtime config.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Configuration for the plugin. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback. When a new `WasmPluginVersion` resource is created, the digest of the contents is saved in the `plugin_config_digest` field.

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

    Type: String

    URI of the plugin configuration stored in the Artifact Registry. The configuration is provided to the plugin at runtime through the `ON_CONFIGURE` callback.

    The URI can refer to one of the following repository formats:

    * Container images: the `plugin_config_uri` must point to a container that contains a single file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the digest of the image is saved in the `plugin_config_digest` field. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.

    * Generic artifacts: the `plugin_config_uri` must be in this format: `projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}`. The specified package and version must contain a file with the name `plugin.config`. When a new `WasmPluginVersion` resource is created, the checksum of the contents of the file is saved in the `plugin_config_digest` field.

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

    Type: String

    Identifier. Name of the `WasmPluginVersion` resource in the following format: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/ versions/{wasm_plugin_version}`.

  • $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::Extensibility::WasmPluginVersion::LabelsEntry)

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

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

    Type: String

    Optional. URI of the image containing the Wasm module, stored in Artifact Registry.

    The URI can refer to one of the following repository formats:

    * Container images: the `image_uri` must point to a container that contains a single file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the digest of the image is saved in the `image_digest` field. When pulling a container image from Artifact Registry, the digest value is used instead of an image tag.

    * Generic artifacts: the `image_uri` must be in this format: `projects/{project}/locations/{location}/repositories/{repository}/ genericArtifacts/{package}:{version}`. The specified package and version must contain a file with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is created, the checksum of the contents of the file is saved in the `image_digest` field.

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

    Type: String

    Output only. This field holds the digest (usually checksum) value for the plugin image. The value is calculated based on the `image_uri` field. If the `image_uri` field refers to a container image, the digest value is obtained from the container image. If the `image_uri` field refers to a generic artifact, the digest value is calculated based on the contents of the file.

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

    Type: String

    Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of `plugin_config_data` field or the image defined by the `plugin_config_uri` field.

Google::Cloud::Networkservices::V1::Extensibility::ListWasmPluginsRequest

Request used with the `ListWasmPlugins` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location from which the `WasmPlugin` resources are listed, specified in the following format: `projects/{project}/locations/global`.

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

    Type: Int32

    Maximum number of `WasmPlugin` resources to return per call. If not specified, at most 50 `WasmPlugin` resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

    The value returned by the last `ListWasmPluginsResponse` call. Indicates that this is a continuation of a prior `ListWasmPlugins` call, and that the next page of data is to be returned.

Google::Cloud::Networkservices::V1::Extensibility::ListWasmPluginsResponse

Response returned by the `ListWasmPlugins` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin)

    List of `WasmPlugin` resources.

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

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

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

    Type: String

    Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

Google::Cloud::Networkservices::V1::Extensibility::GetWasmPluginRequest

Request used by the `GetWasmPlugin` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the `WasmPlugin` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.

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

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

    Determines how much data must be returned in the response. See [AIP-157](https://google.aip.dev/157).

Google::Cloud::Networkservices::V1::Extensibility::CreateWasmPluginRequest

Request used by the `CreateWasmPlugin` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

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

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin)

    Required. `WasmPlugin` resource to be created.

Google::Cloud::Networkservices::V1::Extensibility::UpdateWasmPluginRequest

Request used by the `UpdateWasmPlugin` method.

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 `WasmPlugin` resource by the update. The fields specified in the `update_mask` field are relative to the resource, not the full request. An omitted `update_mask` field is treated as an implied `update_mask` field equivalent to all fields that are populated (that have a non-empty value). The `update_mask` field supports a special value `*`, which means that each field in the given `WasmPlugin` resource (including the empty ones) replaces the current value.

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPlugin)

    Required. Updated `WasmPlugin` resource.

Google::Cloud::Networkservices::V1::Extensibility::DeleteWasmPluginRequest

Request used by the `DeleteWasmPlugin` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the `WasmPlugin` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.

Google::Cloud::Networkservices::V1::Extensibility::ListWasmPluginVersionsRequest

Request used with the `ListWasmPluginVersions` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The `WasmPlugin` resource whose `WasmPluginVersion`s are listed, specified in the following format: `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.

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

    Type: Int32

    Maximum number of `WasmPluginVersion` resources to return per call. If not specified, at most 50 `WasmPluginVersion` resources are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

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

    Type: String

    The value returned by the last `ListWasmPluginVersionsResponse` call. Indicates that this is a continuation of a prior `ListWasmPluginVersions` call, and that the next page of data is to be returned.

Google::Cloud::Networkservices::V1::Extensibility::ListWasmPluginVersionsResponse

Response returned by the `ListWasmPluginVersions` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPluginVersion)

    List of `WasmPluginVersion` resources.

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

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

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

    Type: String

    Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

Google::Cloud::Networkservices::V1::Extensibility::GetWasmPluginVersionRequest

Request used by the `GetWasmPluginVersion` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the `WasmPluginVersion` resource to get. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.

Google::Cloud::Networkservices::V1::Extensibility::CreateWasmPluginVersionRequest

Request used by the `CreateWasmPluginVersion` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource of the `WasmPluginVersion` resource. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}`.

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

    Type: String

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

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

    Type: Message (Google::Cloud::Networkservices::V1::Extensibility::WasmPluginVersion)

    Required. `WasmPluginVersion` resource to be created.

Google::Cloud::Networkservices::V1::Extensibility::DeleteWasmPluginVersionRequest

Request used by the `DeleteWasmPluginVersion` method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. A name of the `WasmPluginVersion` resource to delete. Must be in the format `projects/{project}/locations/global/wasmPlugins/{wasm_plugin}/versions/{wasm_plugin_version}`.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.