googleapis.logging.v2 library

Classes

BucketOptions describes the bucket boundaries used to create a histogram for
the distribution. The buckets can be in a linear sequence, an exponential
sequence, or each bucket can be specified explicitly. BucketOptions does not
include the number of values in each bucket.A bucket has an inclusive lower
bound and exclusive upper bound for the values that are counted for that
bucket. The upper bound of a bucket must be strictly greater than the lower
bound. The sequence of N buckets for a distribution consists of an underflow
bucket (number 0), zero or more finite buckets (number 1 through N - 2) and
an overflow bucket (number N - 1). The buckets are contiguous: the lower
bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1.
The buckets span the whole range of finite values: lower bound of the
underflow bucket is -infinity and the upper bound of the overflow bucket is
+infinity. The finite buckets are so-called because both bounds are finite.

A generic empty message that you can re-use to avoid defining duplicated
empty messages in your APIs. A typical example is to use it as the request
or the response type of an API method. For instance:
service Foo {
rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}
The JSON representation for Empty is empty JSON object {}.

Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1
(= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i <
N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must
contain at least one element. If bounds has only one element, then there are
no finite buckets, and that single element is the common boundary of the
overflow and underflow buckets.

Specifies an exponential sequence of buckets that have a width that is
proportional to the value of the lower bound. Each bucket represents a
constant relative uncertainty on a specific value in the bucket.There are
num_finite_buckets + 2 (= N) buckets. Bucket i has the following
boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower
bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

Specifies a linear sequence of buckets that all have the same width (except
overflow and underflow). Each bucket represents a constant absolute
uncertainty on the specific value in the bucket.There are num_finite_buckets [...]

Specifies a set of log entries that are not to be stored in 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.

Describes a logs-based metric. The value of the metric is the number of log
entries that match a logs filter in a given time interval.Logs-based metric
can also be used to extract values from logs and create a a distribution of
the values. The distribution records the statistics of the extracted values
along with an optional histogram of the values as specified by the bucket
options.

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.

An object representing a resource that can be used for monitoring, logging,
billing, or other purposes. Examples include virtual machine instances,
databases, and storage devices such as disks. The type field identifies a
MonitoredResourceDescriptor object that describes the resource's schema.
Information in the labels field identifies the actual resource and its
attributes according to the schema. For example, a particular Compute Engine
VM instance could be represented by the following object, because the
MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and
"zone":
{ "type": "gce_instance",
"labels": { "instance_id": "12345678901234",
"zone": "us-central1-a" }}

An object that describes the schema of a MonitoredResource object using a
type name and a set of labels. For example, the monitored resource
descriptor for Google Compute Engine VM instances has a type of
"gce_instance" and specifies the use of the labels "instance_id" and "zone"
to identify particular VM instances.Different APIs can support different
monitored resource types. APIs generally provide a list method that returns
the monitored resource descriptors used by the API.

Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
contain the minimum set of information to uniquely identify a monitored
resource instance. There is some other useful auxiliary metadata. Monitoring
and Logging use an ingestion pipeline to extract metadata for cloud
resources of all types, and store the metadata in this message.