View Source GoogleApi.NetworkServices.V1.Model.WasmPlugin (google_api_network_services v0.9.0)

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

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was created.
  • description (type: String.t, default: nil) - Optional. A human-readable description of the resource.
  • labels (type: map(), default: nil) - Optional. Set of labels associated with the WasmPlugin resource. The format must comply with the following requirements.
  • logConfig (type: GoogleApi.NetworkServices.V1.Model.WasmPluginLogConfig.t, default: nil) - Optional. Specifies the logging options for the activity performed by this WasmPlugin. 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.
  • mainVersionId (type: String.t, default: nil) - 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.
  • name (type: String.t, default: nil) - Identifier. Name of the WasmPlugin resource in the following format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the resource was updated.
  • usedBy (type: list(GoogleApi.NetworkServices.V1.Model.WasmPluginUsedBy.t), default: nil) - Output only. List of all Service Extensions that use this WasmPlugin.
  • versions (type: %{optional(String.t) => GoogleApi.NetworkServices.V1.Model.WasmPluginVersionDetails.t}, default: nil) - Optional. All versions of this WasmPlugin in the key-value format. The key is the resource ID, the value is the VersionDetails. Allows to create or update WasmPlugin and its WasmPluginVersions in a single request. When the main_version_id field is not empty it must point to one of the VersionDetails in the map. If provided in the update request, the new versions replace the previous set. Any version omitted from the versions will be removed. Since the WasmPluginVersion resource is immutable, if the WasmPluginVersion with the same name already exists and differs the Update request will fail. Note: In the GET request, this field is populated only if the GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.NetworkServices.V1.Model.WasmPlugin{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  labels: map() | nil,
  logConfig: GoogleApi.NetworkServices.V1.Model.WasmPluginLogConfig.t() | nil,
  mainVersionId: String.t() | nil,
  name: String.t() | nil,
  updateTime: DateTime.t() | nil,
  usedBy: [GoogleApi.NetworkServices.V1.Model.WasmPluginUsedBy.t()] | nil,
  versions:
    %{
      optional(String.t()) =>
        GoogleApi.NetworkServices.V1.Model.WasmPluginVersionDetails.t()
    }
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.