Class TraceSink
Describes a sink used to export traces to a BigQuery dataset. The sink must be created within a project.
Implements
Inherited Members
Namespace: Google.Apis.CloudTrace.v2beta1.Data
Assembly: Google.Apis.CloudTrace.v2beta1.dll
Syntax
public class TraceSink : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. 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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputConfig
Required. The export destination.
Declaration
[JsonProperty("outputConfig")]
public virtual OutputConfig OutputConfig { get; set; }
Property Value
Type | Description |
---|---|
OutputConfig |
WriterIdentity
Output only. 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 Granting access 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"
Declaration
[JsonProperty("writerIdentity")]
public virtual string WriterIdentity { get; set; }
Property Value
Type | Description |
---|---|
string |