REST Resource: projects.locations.instances.feedPacks

Resource: FeedPack

FeedPack is a logical container for related LogTypes for which feeds can be configured.

JSON representation
{
  "name": string,
  "display_name": string,
  "description": string,
  "icon": string,
  "categories": [
    string
  ],
  "pack_type": enum (PackType),
  "pack_log_types": [
    {
      object (PackLogType)
    }
  ],
  "hidden": boolean
}
Fields
name

string

Identifier. The resource name of the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}

display_name

string

Output only. The display name of the feed pack.

description

string

Output only. The description of the feed pack.

icon

string (bytes format)

Output only. The icon image of the content pack in base64 in png format.

A base64-encoded string.

categories[]

string

Output only. Categories the featured content is associated with. In case of product feed packs, there will be only one category.

pack_type

enum (PackType)

Output only. Type of pack.

pack_log_types[]

object (PackLogType)

Output only. Log types featured in the pack.

hidden

boolean

Output only. Whether the feed pack should be displayed in the Feeds Page.

PackType

Type of feed pack. Feeds Page currently only lists PRODUCT_BASED packs.

Enums
PACK_TYPE_UNSPECIFIED Unspecified feed pack type.
PRODUCT_BASED Product based feed pack type.
USECASE_BASED Use case based feed pack type.
ONBOARDING Onboarding feed pack type.

PackLogType

PackLogtype is a log type featured in the feed pack.

JSON representation
{
  "log_type": string,
  "required": boolean,
  "has_default_parser": boolean,
  "recommended_source_type": enum (FeedSourceType),
  "display_name": string
}
Fields
log_type

string

Log Type featured in the feed pack. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}

required

boolean

Whether the logtype is required to deploy a feed pack.

has_default_parser

boolean

Whether a default(prebuilt) parser is available for the given log type.

recommended_source_type

enum (FeedSourceType)

The recommended source type for the log type.

display_name

string

The display name of the log type.

Methods

get

Gets a feed pack.

list

Lists Packs for which feeds can be configured.