GetTraceSinkResult

data class GetTraceSinkResult(val name: String, val outputConfig: OutputConfigResponse, val writerIdentity: String)

Constructors

Link copied to clipboard
fun GetTraceSinkResult(name: String, outputConfig: OutputConfigResponse, writerIdentity: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The canonical sink resource name, unique within the project. Must be of the form: projects/PROJECT_NUMBER/traceSinks/SINK_ID. E.g.: "projects/12345/traceSinks/my-project-trace-sink". Sink identifiers are limited to 256 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, and periods.

Link copied to clipboard

The export destination.

Link copied to clipboard

A service account name for exporting the data. This field is set by sinks.create and sinks.update. The service account will need to be granted write access to the destination specified in the output configuration, see /iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource. To create tables and to write data, this account needs the dataEditor role. Read more about roles in the BigQuery documentation. E.g.: "service-00000001@00000002.iam.gserviceaccount.com"