GoogleApi.NetworkServices.V1.Model.WasmPlugin (google_api_network_services v0.11.0)

View Source

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 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.
  • 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 extensions that use this WasmPlugin resource.
  • versions (type: %{optional(String.t) => GoogleApi.NetworkServices.V1.Model.WasmPluginVersionDetails.t}, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@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

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.