// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/logging/v2/logging_config.proto package logging // import "google.golang.org/genproto/googleapis/logging/v2" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import empty "github.com/golang/protobuf/ptypes/empty" import timestamp "github.com/golang/protobuf/ptypes/timestamp" import _ "google.golang.org/genproto/googleapis/api/annotations" import field_mask "google.golang.org/genproto/protobuf/field_mask" import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package // Available log entry formats. Log entries can be written to Stackdriver // Logging in either format and can be exported in either format. // Version 2 is the preferred format. type LogSink_VersionFormat int32 const ( // An unspecified format version that will default to V2. LogSink_VERSION_FORMAT_UNSPECIFIED LogSink_VersionFormat = 0 // `LogEntry` version 2 format. LogSink_V2 LogSink_VersionFormat = 1 // `LogEntry` version 1 format. LogSink_V1 LogSink_VersionFormat = 2 ) var LogSink_VersionFormat_name = map[int32]string{ 0: "VERSION_FORMAT_UNSPECIFIED", 1: "V2", 2: "V1", } var LogSink_VersionFormat_value = map[string]int32{ "VERSION_FORMAT_UNSPECIFIED": 0, "V2": 1, "V1": 2, } func (x LogSink_VersionFormat) String() string { return proto.EnumName(LogSink_VersionFormat_name, int32(x)) } func (LogSink_VersionFormat) EnumDescriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{0, 0} } // Describes a sink used to export log entries to one of the following // destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a // Cloud Pub/Sub topic. A logs filter controls which log entries are // exported. The sink must be created within a project, organization, billing // account, or folder. type LogSink struct { // Required. The client-assigned sink identifier, unique within the // project. Example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are // limited to 100 characters and can include only the following characters: // upper and lower-case alphanumeric characters, underscores, hyphens, and // periods. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The export destination: // // "storage.googleapis.com/[GCS_BUCKET]" // "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" // "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" // // The sink's `writer_identity`, set when the sink is created, must // have permission to write to the destination or else the log // entries are not exported. For more information, see // [Exporting Logs With Sinks](/logging/docs/api/tasks/exporting-logs). Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"` // Optional. // An [advanced logs filter](/logging/docs/view/advanced_filters). The only // exported log entries are those that are in the resource owning the sink and // that match the filter. For example: // // logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // Deprecated. The log entry format to use for this sink's exported log // entries. The v2 format is used by default and cannot be changed. OutputVersionFormat LogSink_VersionFormat `protobuf:"varint,6,opt,name=output_version_format,json=outputVersionFormat,proto3,enum=google.logging.v2.LogSink_VersionFormat" json:"output_version_format,omitempty"` // Deprecated: Do not use. // Output only. An IAM identity—a service account or group—under // which Stackdriver Logging writes the exported log entries to the sink's // destination. This field is set by // [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create) // and // [sinks.update](/logging/docs/api/reference/rest/v2/projects.sinks/update), // based on the setting of `unique_writer_identity` in those methods. // // Until you grant this identity write-access to the destination, log entry // exports from this sink will fail. For more information, // see [Granting access for a // resource](/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). // Consult the destination service's documentation to determine the // appropriate IAM roles to assign to the identity. WriterIdentity string `protobuf:"bytes,8,opt,name=writer_identity,json=writerIdentity,proto3" json:"writer_identity,omitempty"` // Optional. This field applies only to sinks owned by organizations and // folders. If the field is false, the default, only the logs owned by the // sink's parent resource are available for export. If the field is true, then // logs from all the projects, folders, and billing accounts contained in the // sink's parent resource are also available for export. Whether a particular // log entry from the children is exported depends on the sink's filter // expression. For example, if this field is true, then the filter // `resource.type=gce_instance` would export all Compute Engine VM instance // log entries from all projects in the sink's parent. To only export entries // from certain child projects, filter on the project part of the log name: // // logName:("projects/test-project1/" OR "projects/test-project2/") AND // resource.type=gce_instance IncludeChildren bool `protobuf:"varint,9,opt,name=include_children,json=includeChildren,proto3" json:"include_children,omitempty"` // Deprecated. This field is ignored when creating or updating sinks. StartTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Deprecated: Do not use. // Deprecated. This field is ignored when creating or updating sinks. EndTime *timestamp.Timestamp `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LogSink) Reset() { *m = LogSink{} } func (m *LogSink) String() string { return proto.CompactTextString(m) } func (*LogSink) ProtoMessage() {} func (*LogSink) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{0} } func (m *LogSink) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LogSink.Unmarshal(m, b) } func (m *LogSink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LogSink.Marshal(b, m, deterministic) } func (dst *LogSink) XXX_Merge(src proto.Message) { xxx_messageInfo_LogSink.Merge(dst, src) } func (m *LogSink) XXX_Size() int { return xxx_messageInfo_LogSink.Size(m) } func (m *LogSink) XXX_DiscardUnknown() { xxx_messageInfo_LogSink.DiscardUnknown(m) } var xxx_messageInfo_LogSink proto.InternalMessageInfo func (m *LogSink) GetName() string { if m != nil { return m.Name } return "" } func (m *LogSink) GetDestination() string { if m != nil { return m.Destination } return "" } func (m *LogSink) GetFilter() string { if m != nil { return m.Filter } return "" } // Deprecated: Do not use. func (m *LogSink) GetOutputVersionFormat() LogSink_VersionFormat { if m != nil { return m.OutputVersionFormat } return LogSink_VERSION_FORMAT_UNSPECIFIED } func (m *LogSink) GetWriterIdentity() string { if m != nil { return m.WriterIdentity } return "" } func (m *LogSink) GetIncludeChildren() bool { if m != nil { return m.IncludeChildren } return false } // Deprecated: Do not use. func (m *LogSink) GetStartTime() *timestamp.Timestamp { if m != nil { return m.StartTime } return nil } // Deprecated: Do not use. func (m *LogSink) GetEndTime() *timestamp.Timestamp { if m != nil { return m.EndTime } return nil } // The parameters to `ListSinks`. type ListSinksRequest struct { // Required. The parent resource whose sinks are to be listed: // // "projects/[PROJECT_ID]" // "organizations/[ORGANIZATION_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]" // "folders/[FOLDER_ID]" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. If present, then retrieve the next batch of results from the // preceding call to this method. `pageToken` must be the value of // `nextPageToken` from the previous response. The values of other method // parameters should be identical to those in the previous call. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. The maximum number of results to return from this request. // Non-positive values are ignored. The presence of `nextPageToken` in the // response indicates that more results might be available. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListSinksRequest) Reset() { *m = ListSinksRequest{} } func (m *ListSinksRequest) String() string { return proto.CompactTextString(m) } func (*ListSinksRequest) ProtoMessage() {} func (*ListSinksRequest) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{1} } func (m *ListSinksRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSinksRequest.Unmarshal(m, b) } func (m *ListSinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSinksRequest.Marshal(b, m, deterministic) } func (dst *ListSinksRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ListSinksRequest.Merge(dst, src) } func (m *ListSinksRequest) XXX_Size() int { return xxx_messageInfo_ListSinksRequest.Size(m) } func (m *ListSinksRequest) XXX_DiscardUnknown() { xxx_messageInfo_ListSinksRequest.DiscardUnknown(m) } var xxx_messageInfo_ListSinksRequest proto.InternalMessageInfo func (m *ListSinksRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *ListSinksRequest) GetPageToken() string { if m != nil { return m.PageToken } return "" } func (m *ListSinksRequest) GetPageSize() int32 { if m != nil { return m.PageSize } return 0 } // Result returned from `ListSinks`. type ListSinksResponse struct { // A list of sinks. Sinks []*LogSink `protobuf:"bytes,1,rep,name=sinks,proto3" json:"sinks,omitempty"` // If there might be more results than appear in this response, then // `nextPageToken` is included. To get the next set of results, call the same // method again using the value of `nextPageToken` as `pageToken`. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ListSinksResponse) Reset() { *m = ListSinksResponse{} } func (m *ListSinksResponse) String() string { return proto.CompactTextString(m) } func (*ListSinksResponse) ProtoMessage() {} func (*ListSinksResponse) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{2} } func (m *ListSinksResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSinksResponse.Unmarshal(m, b) } func (m *ListSinksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ListSinksResponse.Marshal(b, m, deterministic) } func (dst *ListSinksResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ListSinksResponse.Merge(dst, src) } func (m *ListSinksResponse) XXX_Size() int { return xxx_messageInfo_ListSinksResponse.Size(m) } func (m *ListSinksResponse) XXX_DiscardUnknown() { xxx_messageInfo_ListSinksResponse.DiscardUnknown(m) } var xxx_messageInfo_ListSinksResponse proto.InternalMessageInfo func (m *ListSinksResponse) GetSinks() []*LogSink { if m != nil { return m.Sinks } return nil } func (m *ListSinksResponse) GetNextPageToken() string { if m != nil { return m.NextPageToken } return "" } // The parameters to `GetSink`. type GetSinkRequest struct { // Required. The resource name of the sink: // // "projects/[PROJECT_ID]/sinks/[SINK_ID]" // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" // "folders/[FOLDER_ID]/sinks/[SINK_ID]" // // Example: `"projects/my-project-id/sinks/my-sink-id"`. SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *GetSinkRequest) Reset() { *m = GetSinkRequest{} } func (m *GetSinkRequest) String() string { return proto.CompactTextString(m) } func (*GetSinkRequest) ProtoMessage() {} func (*GetSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{3} } func (m *GetSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetSinkRequest.Unmarshal(m, b) } func (m *GetSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_GetSinkRequest.Marshal(b, m, deterministic) } func (dst *GetSinkRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_GetSinkRequest.Merge(dst, src) } func (m *GetSinkRequest) XXX_Size() int { return xxx_messageInfo_GetSinkRequest.Size(m) } func (m *GetSinkRequest) XXX_DiscardUnknown() { xxx_messageInfo_GetSinkRequest.DiscardUnknown(m) } var xxx_messageInfo_GetSinkRequest proto.InternalMessageInfo func (m *GetSinkRequest) GetSinkName() string { if m != nil { return m.SinkName } return "" } // The parameters to `CreateSink`. type CreateSinkRequest struct { // Required. The resource in which to create the sink: // // "projects/[PROJECT_ID]" // "organizations/[ORGANIZATION_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]" // "folders/[FOLDER_ID]" // // Examples: `"projects/my-logging-project"`, `"organizations/123456789"`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The new sink, whose `name` parameter is a sink identifier that // is not already in use. Sink *LogSink `protobuf:"bytes,2,opt,name=sink,proto3" json:"sink,omitempty"` // Optional. Determines the kind of IAM identity returned as `writer_identity` // in the new sink. If this value is omitted or set to false, and if the // sink's parent is a project, then the value returned as `writer_identity` is // the same group or service account used by Stackdriver Logging before the // addition of writer identities to this API. The sink's destination must be // in the same project as the sink itself. // // If this field is set to true, or if the sink is owned by a non-project // resource such as an organization, then the value of `writer_identity` will // be a unique service account used only for exports from the new sink. For // more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. UniqueWriterIdentity bool `protobuf:"varint,3,opt,name=unique_writer_identity,json=uniqueWriterIdentity,proto3" json:"unique_writer_identity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *CreateSinkRequest) Reset() { *m = CreateSinkRequest{} } func (m *CreateSinkRequest) String() string { return proto.CompactTextString(m) } func (*CreateSinkRequest) ProtoMessage() {} func (*CreateSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{4} } func (m *CreateSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSinkRequest.Unmarshal(m, b) } func (m *CreateSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CreateSinkRequest.Marshal(b, m, deterministic) } func (dst *CreateSinkRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CreateSinkRequest.Merge(dst, src) } func (m *CreateSinkRequest) XXX_Size() int { return xxx_messageInfo_CreateSinkRequest.Size(m) } func (m *CreateSinkRequest) XXX_DiscardUnknown() { xxx_messageInfo_CreateSinkRequest.DiscardUnknown(m) } var xxx_messageInfo_CreateSinkRequest proto.InternalMessageInfo func (m *CreateSinkRequest) GetParent() string { if m != nil { return m.Parent } return "" } func (m *CreateSinkRequest) GetSink() *LogSink { if m != nil { return m.Sink } return nil } func (m *CreateSinkRequest) GetUniqueWriterIdentity() bool { if m != nil { return m.UniqueWriterIdentity } return false } // The parameters to `UpdateSink`. type UpdateSinkRequest struct { // Required. The full resource name of the sink to update, including the // parent resource and the sink identifier: // // "projects/[PROJECT_ID]/sinks/[SINK_ID]" // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" // "folders/[FOLDER_ID]/sinks/[SINK_ID]" // // Example: `"projects/my-project-id/sinks/my-sink-id"`. SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` // Required. The updated sink, whose name is the same identifier that appears // as part of `sink_name`. Sink *LogSink `protobuf:"bytes,2,opt,name=sink,proto3" json:"sink,omitempty"` // Optional. See // [sinks.create](/logging/docs/api/reference/rest/v2/projects.sinks/create) // for a description of this field. When updating a sink, the effect of this // field on the value of `writer_identity` in the updated sink depends on both // the old and new values of this field: // // + If the old and new values of this field are both false or both true, // then there is no change to the sink's `writer_identity`. // + If the old value is false and the new value is true, then // `writer_identity` is changed to a unique service account. // + It is an error if the old value is true and the new value is // set to false or defaulted to false. UniqueWriterIdentity bool `protobuf:"varint,3,opt,name=unique_writer_identity,json=uniqueWriterIdentity,proto3" json:"unique_writer_identity,omitempty"` // Optional. Field mask that specifies the fields in `sink` that need // an update. A sink field will be overwritten if, and only if, it is // in the update mask. `name` and output only fields cannot be updated. // // An empty updateMask is temporarily treated as using the following mask // for backwards compatibility purposes: // destination,filter,includeChildren // At some point in the future, behavior will be removed and specifying an // empty updateMask will be an error. // // For a detailed `FieldMask` definition, see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask // // Example: `updateMask=filter`. UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpdateSinkRequest) Reset() { *m = UpdateSinkRequest{} } func (m *UpdateSinkRequest) String() string { return proto.CompactTextString(m) } func (*UpdateSinkRequest) ProtoMessage() {} func (*UpdateSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{5} } func (m *UpdateSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpdateSinkRequest.Unmarshal(m, b) } func (m *UpdateSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpdateSinkRequest.Marshal(b, m, deterministic) } func (dst *UpdateSinkRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_UpdateSinkRequest.Merge(dst, src) } func (m *UpdateSinkRequest) XXX_Size() int { return xxx_messageInfo_UpdateSinkRequest.Size(m) } func (m *UpdateSinkRequest) XXX_DiscardUnknown() { xxx_messageInfo_UpdateSinkRequest.DiscardUnknown(m) } var xxx_messageInfo_UpdateSinkRequest proto.InternalMessageInfo func (m *UpdateSinkRequest) GetSinkName() string { if m != nil { return m.SinkName } return "" } func (m *UpdateSinkRequest) GetSink() *LogSink { if m != nil { return m.Sink } return nil } func (m *UpdateSinkRequest) GetUniqueWriterIdentity() bool { if m != nil { return m.UniqueWriterIdentity } return false } func (m *UpdateSinkRequest) GetUpdateMask() *field_mask.FieldMask { if m != nil { return m.UpdateMask } return nil } // The parameters to `DeleteSink`. type DeleteSinkRequest struct { // Required. The full resource name of the sink to delete, including the // parent resource and the sink identifier: // // "projects/[PROJECT_ID]/sinks/[SINK_ID]" // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" // "folders/[FOLDER_ID]/sinks/[SINK_ID]" // // Example: `"projects/my-project-id/sinks/my-sink-id"`. SinkName string `protobuf:"bytes,1,opt,name=sink_name,json=sinkName,proto3" json:"sink_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *DeleteSinkRequest) Reset() { *m = DeleteSinkRequest{} } func (m *DeleteSinkRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSinkRequest) ProtoMessage() {} func (*DeleteSinkRequest) Descriptor() ([]byte, []int) { return fileDescriptor_logging_config_1517a6dec11632fb, []int{6} } func (m *DeleteSinkRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSinkRequest.Unmarshal(m, b) } func (m *DeleteSinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_DeleteSinkRequest.Marshal(b, m, deterministic) } func (dst *DeleteSinkRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_DeleteSinkRequest.Merge(dst, src) } func (m *DeleteSinkRequest) XXX_Size() int { return xxx_messageInfo_DeleteSinkRequest.Size(m) } func (m *DeleteSinkRequest) XXX_DiscardUnknown() { xxx_messageInfo_DeleteSinkRequest.DiscardUnknown(m) } var xxx_messageInfo_DeleteSinkRequest proto.InternalMessageInfo func (m *DeleteSinkRequest) GetSinkName() string { if m != nil { return m.SinkName } return "" } // Specifies a set of log entries that are not to be stored in Stackdriver // Logging. If your project receives a large volume of logs, you might be able // to use exclusions to reduce your chargeable logs. Exclusions are processed // after log sinks, so you can export log entries before they are excluded. // Audit log entries and log entries from Amazon Web Services are never // excluded. type LogExclusion struct { // Required. A client-assigned identifier, such as // `"load-balancer-exclusion"`. Identifiers are limited to 100 characters and // can include only letters, digits, underscores, hyphens, and periods. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. A description of this exclusion. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Required. // An [advanced logs filter](/logging/docs/view/advanced_filters) // that matches the log entries to be excluded. By using the // [sample function](/logging/docs/view/advanced_filters#sample), // you can exclude less than 100% of the matching log entries. // For example, the following filter matches 99% of low-severity log // entries from load balancers: // // `"resource.type=http_load_balancer severity