Service Client: Google::Cloud::Apihub::V1::PluginService::ApiHubPluginClient

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

target

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

credentials

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

NAME

Google::Cloud::Apihub::V1::PluginService - Compiled Protocol Buffers messages for google/cloud/apihub/v1/plugin_service.proto

SYNOPSIS

use Google::Cloud::Apihub::V1::PluginService;

my $msg = Google::Cloud::Apihub::V1::PluginService::Plugin->new({
    name => $name,
    display_name => $display_name,
    type => $type,
    description => $description,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Apihub::V1::PluginService::Plugin->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/apihub/v1/plugin_service.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::Apihub::V1::PluginService::Plugin

A plugin resource in the API Hub.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The name of the plugin. Format: `projects/{project}/locations/{location}/plugins/{plugin}`

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

    Type: String

    Required. The display name of the plugin. Max length is 50 characters (Unicode code points).

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

    Type: Message (Google::Cloud::Apihub::V1::CommonFields::AttributeValues)

    Optional. The type of the API. This maps to the following system defined attribute: `projects/{project}/locations/{location}/attributes/system-plugin-type` attribute. The number of allowed values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute API. All values should be from the list of allowed values defined for the attribute. Note this field is not required for plugins developed via plugin framework.

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

    Type: String

    Optional. The plugin description. Max length is 2000 characters (Unicode code points).

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

    Type: Enum (Google::Cloud::Apihub::V1::Plugin::State)

    Output only. Represents the state of the plugin. Note this field will not be set for plugins developed via plugin framework as the state will be managed at plugin instance level.

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

    Type: Enum (Google::Cloud::Apihub::V1::Plugin::OwnershipType)

    Output only. The type of the plugin, indicating whether it is 'SYSTEM_OWNED' or 'USER_OWNED'.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::Plugin::HostingService)

    Optional. This field is optional. It is used to notify the plugin hosting service for any lifecycle changes of the plugin instance and trigger execution of plugin instance actions in case of API hub managed actions.

    This field should be provided if the plugin instance lifecycle of the developed plugin needs to be managed from API hub. Also, in this case the plugin hosting service interface needs to be implemented.

    This field should not be provided if the plugin wants to manage plugin instance lifecycle events outside of hub interface and use plugin framework for only registering of plugin and plugin instances to capture the source of data into hub. Note, in this case the plugin hosting service interface is not required to be implemented. Also, the plugin instance lifecycle actions will be disabled from API hub's UI.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::PluginActionConfig)

    Optional. The configuration of actions supported by the plugin. REQUIRED: This field must be provided when creating or updating a Plugin. The server will reject requests if this field is missing.

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

    Type: Message (Google::Cloud::Apihub::V1::CommonFields::Documentation)

    Optional. The documentation of the plugin, that explains how to set up and use the plugin.

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

    Type: Enum (Google::Cloud::Apihub::V1::PluginCategory)

    Optional. The category of the plugin, identifying its primary category or purpose. This field is required for all plugins.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::Plugin::ConfigTemplate)

    Optional. The configuration template for the plugin.

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

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

    Output only. Timestamp indicating when the plugin was created.

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

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

    Output only. Timestamp indicating when the plugin was last updated.

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

    Type: Enum (Google::Cloud::Apihub::V1::GatewayType)

    Optional. The type of the gateway.

Enum: Plugin::State

  • STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

Enum: Plugin::OwnershipType

  • OWNERSHIP_TYPE_UNSPECIFIED => 0

  • SYSTEM_OWNED => 1

  • USER_OWNED => 2

Google::Cloud::Apihub::V1::PluginService::PluginActionConfig

PluginActionConfig represents the configuration of an action supported by a plugin.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The id of the action.

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

    Type: String

    Required. The display name of the action.

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

    Type: String

    Required. The description of the operation performed by the action.

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

    Type: Enum (Google::Cloud::Apihub::V1::PluginActionConfig::TriggerMode)

    Required. The trigger mode supported by the action.

Enum: PluginActionConfig::TriggerMode

  • TRIGGER_MODE_UNSPECIFIED => 0

  • API_HUB_ON_DEMAND_TRIGGER => 1

  • API_HUB_SCHEDULE_TRIGGER => 2

  • NON_API_HUB_MANAGED => 3

Google::Cloud::Apihub::V1::PluginService::GetPluginRequest

The [GetPlugin][google.cloud.apihub.v1.ApiHubPlugin.GetPlugin] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin to retrieve. Format: `projects/{project}/locations/{location}/plugins/{plugin}`.

Google::Cloud::Apihub::V1::PluginService::EnablePluginRequest

The [EnablePlugin][google.cloud.apihub.v1.ApiHubPlugin.EnablePlugin] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin to enable. Format: `projects/{project}/locations/{location}/plugins/{plugin}`.

Google::Cloud::Apihub::V1::PluginService::DisablePluginRequest

The [DisablePlugin][google.cloud.apihub.v1.ApiHubPlugin.DisablePlugin] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin to disable. Format: `projects/{project}/locations/{location}/plugins/{plugin}`.

Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction

PluginInstanceAction represents an action which can be executed in the plugin instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::ExecutionStatus)

    Optional. The execution information for the plugin instance action done corresponding to an API hub instance.

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

    Type: String

    Required. This should map to one of the [action id][google.cloud.apihub.v1.PluginActionConfig.id] specified in [actions_config][google.cloud.apihub.v1.Plugin.actions_config] in the plugin.

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

    Type: Enum (Google::Cloud::Apihub::V1::PluginInstanceAction::State)

    Output only. The current state of the plugin action in the plugin instance.

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

    Type: String

    Optional. The schedule for this plugin instance action. This can only be set if the plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::CurationConfig)

    Optional. This configuration should be provided if the plugin action is publishing data to API hub curate layer.

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

    Type: String

    Optional. The time zone for the schedule cron expression. If not provided, UTC will be used.

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

    Type: String

    Optional. The service account used to publish data. Note, the service account will only be accepted for non GCP plugins like OPDK.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction::ResourceConfig)

    Output only. The configuration of resources created for a given plugin instance action. Note these will be returned only in case of Non-GCP plugins like OPDK.

Enum: PluginInstanceAction::State

  • STATE_UNSPECIFIED => 0

  • ENABLED => 1

  • DISABLED => 2

  • ENABLING => 3

  • DISABLING => 4

  • ERROR => 5

Google::Cloud::Apihub::V1::PluginService::PluginInstance

Represents a plugin instance resource in the API Hub. A PluginInstance is a specific instance of a hub plugin with its own configuration, state, and execution details.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The unique name of the plugin instance resource. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

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

    Type: String

    Required. The display name for this plugin instance. Max length is 255 characters.

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

    Type: Message (Google::Cloud::Apihub::V1::CommonFields::AuthConfig)

    Optional. The authentication information for this plugin instance.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::PluginInstance::AdditionalConfigEntry)

    Optional. The additional information for this plugin instance corresponding to the additional config template of the plugin. This information will be sent to plugin hosting service on each call to plugin hosted service. The key will be the config_variable_template.display_name to uniquely identify the config variable.

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

    Type: Enum (Google::Cloud::Apihub::V1::PluginInstance::State)

    Output only. The current state of the plugin instance (e.g., enabled, disabled, provisioning).

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

    Type: String

    Output only. Error message describing the failure, if any, during Create, Delete or ApplyConfig operation corresponding to the plugin instance.This field will only be populated if the plugin instance is in the ERROR or FAILED state.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::PluginInstanceAction)

    Required. The action status for the plugin instance.

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

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

    Output only. Timestamp indicating when the plugin instance was created.

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

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

    Output only. Timestamp indicating when the plugin instance was last updated.

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

    Type: String

    Optional. The source project id of the plugin instance. This will be the id of runtime project in case of gcp based plugins and org id in case of non gcp based plugins. This field will be a required field for Google provided on-ramp plugins.

Enum: PluginInstance::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • APPLYING_CONFIG => 3

  • ERROR => 4

  • FAILED => 5

  • DELETING => 6

Google::Cloud::Apihub::V1::PluginService::CurationConfig

The curation information for this plugin instance.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apihub::V1::PluginService::ExecutionStatus

The execution status for the plugin instance.

Inherits from Protobuf::Message.

Accessors

Enum: ExecutionStatus::CurrentExecutionState

  • CURRENT_EXECUTION_STATE_UNSPECIFIED => 0

  • RUNNING => 1

  • NOT_RUNNING => 2

Google::Cloud::Apihub::V1::PluginService::CreatePluginRequest

The [CreatePlugin][google.cloud.apihub.v1.ApiHubPlugin.CreatePlugin] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}`.

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

    Type: String

    Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin's resource name. This field is optional.

    * If provided, the same will be used. The service will throw an error if the specified id is already used by another Plugin resource in the API hub instance. * If not provided, a system generated id will be used.

    This value should be 4-63 characters, overall resource name which will be of format `projects/{project}/locations/{location}/plugins/{plugin}`, its length is limited to 1000 characters and valid characters are /[a-z][A-Z][0-9]-_/.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::Plugin)

    Required. The plugin to create.

Google::Cloud::Apihub::V1::PluginService::DeletePluginRequest

The [DeletePlugin][ApiHub.DeletePlugin] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the Plugin resource to delete. Format: `projects/{project}/locations/{location}/plugins/{plugin}`

Google::Cloud::Apihub::V1::PluginService::ListPluginsRequest

The [ListPlugins][google.cloud.apihub.v1.ApiHubPlugin.ListPlugins] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}`.

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

    Type: String

    Optional. An expression that filters the list of plugins.

    A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive.

    The following fields in the `Plugins` are eligible for filtering:

    * `plugin_category` - The category of the Plugin. Allowed
    comparison operators: `=`.

    Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples:

    * `plugin_category = ON_RAMP` - The plugin is of category
    on ramp.
  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of hub plugins to return. The service may return fewer than this value. If unspecified, at most 50 hub plugins will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    Optional. A page token, received from a previous `ListPlugins` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters (except page_size) provided to `ListPlugins` must match the call that provided the page token.

Google::Cloud::Apihub::V1::PluginService::ListPluginsResponse

The [ListPlugins][google.cloud.apihub.v1.ApiHubPlugin.ListPlugins] method's response.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::Plugin)

    The plugins from the specified parent resource.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Apihub::V1::PluginService::CreatePluginInstanceRequest

The [CreatePluginInstance][google.cloud.apihub.v1.ApiHubPlugin.CreatePluginInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent of the plugin instance resource. Format: `projects/{project}/locations/{location}/plugins/{plugin}`

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

    Type: String

    Optional. The ID to use for the plugin instance, which will become the final component of the plugin instance's resource name. This field is optional.

    * If provided, the same will be used. The service will throw an error if the specified id is already used by another plugin instance in the plugin resource. * If not provided, a system generated id will be used.

    This value should be 4-63 characters, and valid characters are /[a-z][A-Z][0-9]-_/.

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::PluginInstance)

    Required. The plugin instance to create.

Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionRequest

The [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin instance to execute. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::ActionExecutionDetail)

    Required. The execution details for the action to execute.

Google::Cloud::Apihub::V1::PluginService::ActionExecutionDetail

The details for the action to execute.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The action id of the plugin to execute.

Google::Cloud::Apihub::V1::PluginService::ExecutePluginInstanceActionResponse

The [ExecutePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.ExecutePluginInstanceAction] method's response.

Inherits from Protobuf::Message.

Google::Cloud::Apihub::V1::PluginService::GetPluginInstanceRequest

The [GetPluginInstance][google.cloud.apihub.v1.ApiHubPlugin.GetPluginInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin instance to retrieve. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesRequest

The [ListPluginInstances][google.cloud.apihub.v1.ApiHubPlugin.ListPluginInstances] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The parent resource where this plugin will be created. Format: `projects/{project}/locations/{location}/plugins/{plugin}`. To list plugin instances for multiple plugins, use the - character instead of the plugin ID.

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

    Type: String

    Optional. An expression that filters the list of plugin instances.

    A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. The comparison operator must be one of: `<`, `>` or `=`. Filters are not case sensitive.

    The following fields in the `PluginInstances` are eligible for filtering:

    * `state` - The state of the Plugin Instance. Allowed
    comparison operators: `=`.

    A filter function is also supported in the filter string. The filter function is `id(name)`. The `id(name)` function returns the id of the resource name. For example, `id(name) = \"plugin-instance-1\"` is equivalent to `name = \"projects/test-project-id/locations/test-location-id/plugins/plugin-1/instances/plugin-instance-1\"` provided the parent is `projects/test-project-id/locations/test-location-id/plugins/plugin-1`.

    Expressions are combined with either `AND` logic operator or `OR` logical operator but not both of them together i.e. only one of the `AND` or `OR` operator can be used throughout the filter string and both the operators cannot be used together. No other logical operators are supported. At most three filter fields are allowed in the filter string and if provided more than that then `INVALID_ARGUMENT` error is returned by the API. Here are a few examples:

    * `state = ENABLED` - The plugin instance is in enabled state.
  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of hub plugins to return. The service may return fewer than this value. If unspecified, at most 50 hub plugins will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

    Type: String

    Optional. A page token, received from a previous `ListPluginInstances` call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `ListPluginInstances` must match the call that provided the page token.

Google::Cloud::Apihub::V1::PluginService::ListPluginInstancesResponse

The [ListPluginInstances][google.cloud.apihub.v1.ApiHubPlugin.ListPluginInstances] method's response.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Apihub::V1::PluginService::PluginInstance)

    The plugin instances from the specified parent resource.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionRequest

The [EnablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin instance to enable. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

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

    Type: String

    Required. The action id to enable.

Google::Cloud::Apihub::V1::PluginService::EnablePluginInstanceActionResponse

The [EnablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.EnablePluginInstanceAction] method's response.

Inherits from Protobuf::Message.

Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionRequest

The [DisablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin instance to disable. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

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

    Type: String

    Required. The action id to disable.

Google::Cloud::Apihub::V1::PluginService::DisablePluginInstanceActionResponse

The [DisablePluginInstanceAction][google.cloud.apihub.v1.ApiHubPlugin.DisablePluginInstanceAction] method's response.

Inherits from Protobuf::Message.

Google::Cloud::Apihub::V1::PluginService::UpdatePluginInstanceRequest

The [UpdatePluginInstance][google.cloud.apihub.v1.ApiHubPlugin.UpdatePluginInstance] method's request.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Apihub::V1::PluginService::DeletePluginInstanceRequest

The [DeletePluginInstance][google.cloud.apihub.v1.ApiHubPlugin.DeletePluginInstance] method's request.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The name of the plugin instance to delete. Format: `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Apihub::V1::PluginService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.