REST Resource: projects.locations.instances.dataTaps

Resource: DataTap

DataTap resource.

JSON representation
{
  "name": string,
  "display_name": string,
  "filter": enum (FilterType),
  "serialization_format": enum (SerializationFormat),

  // Union field sink can be only one of the following:
  "cloud_pubsub_sink": {
    object (CloudPubSubSink)
  }
  // End of list of possible types for union field sink.
}
Fields
name

string

Identifier. Name of the DataTap.

display_name

string

Required. Human-readable name of this DataTap.

filter

enum (FilterType)

Required. Filter Type being used.

serialization_format

enum (SerializationFormat)

Optional. Serialization Format for output.

Union field sink. Type of sink. sink can be only one of the following:
cloud_pubsub_sink

object (CloudPubSubSink)

Optional. Sink containing cloudpubsub topic details. Can be extended to include other sinks in future

CloudPubSubSink

Sink containing cloudpubsub topic details.

JSON representation
{
  "topic": string
}
Fields
topic

string

Required. Topic where messages need to be sent. Format: projects//topics/

FilterType

Type of Filter.

Enums
FILTER_TYPE_UNSPECIFIED Unspecified Filter type.
ALL_UDM_EVENTS Publish all events to the given topic.
ALERT_UDM_EVENTS Publish significant alerts to the given topic.
LABELED_UDM_EVENTS Publish events based on UDM labels that have been applied by labeling rules.

SerializationFormat

Serialization Format for output.

Enums
SERIALIZATION_FORMAT_UNSPECIFIED Unspecified Serialization Format.
MARSHALLED_PROTO Serialize output as a marshalled proto.
JSON_OBJECT Serialize output as a JSON object.

Methods

create

Creates a DataTap.

delete

Deletes a DataTap.

get

Gets a DataTap.

list

Lists DataTaps.

patch

Updates a DataTap.