mirror of
https://github.com/rclone/rclone.git
synced 2025-12-30 15:13:55 +00:00
vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
87
vendor/google.golang.org/api/logging/v2beta1/logging-gen.go
generated
vendored
87
vendor/google.golang.org/api/logging/v2beta1/logging-gen.go
generated
vendored
@@ -865,6 +865,11 @@ type LogEntry struct {
|
||||
// never return any results.
|
||||
LogName string `json:"logName,omitempty"`
|
||||
|
||||
// Metadata: Output only. Additional metadata about the monitored
|
||||
// resource. Only k8s_container, k8s_pod, and k8s_node
|
||||
// MonitoredResources have this field populated.
|
||||
Metadata *MonitoredResourceMetadata `json:"metadata,omitempty"`
|
||||
|
||||
// Operation: Optional. Information about an operation associated with
|
||||
// the log entry, if applicable.
|
||||
Operation *LogEntryOperation `json:"operation,omitempty"`
|
||||
@@ -878,10 +883,10 @@ type LogEntry struct {
|
||||
// Stackdriver Logging.
|
||||
ReceiveTimestamp string `json:"receiveTimestamp,omitempty"`
|
||||
|
||||
// Resource: Required. The monitored resource associated with this log
|
||||
// entry. Example: a log entry that reports a database error would be
|
||||
// associated with the monitored resource designating the particular
|
||||
// database that reported the error.
|
||||
// Resource: Required. The primary monitored resource associated with
|
||||
// this log entry. Example: a log entry that reports a database error
|
||||
// would be associated with the monitored resource designating the
|
||||
// particular database that reported the error.
|
||||
Resource *MonitoredResource `json:"resource,omitempty"`
|
||||
|
||||
// Severity: Optional. The severity of the log entry. The default value
|
||||
@@ -919,12 +924,14 @@ type LogEntry struct {
|
||||
// Timestamp: Optional. The time the event described by the log entry
|
||||
// occurred. This time is used to compute the log entry's age and to
|
||||
// enforce the logs retention period. If this field is omitted in a new
|
||||
// log entry, then Stackdriver Logging assigns it the current
|
||||
// time.Incoming log entries should have timestamps that are no more
|
||||
// than the logs retention period in the past, and no more than 24 hours
|
||||
// in the future. Log entries outside those time boundaries will not be
|
||||
// available when calling entries.list, but those log entries can still
|
||||
// be exported with LogSinks.
|
||||
// log entry, then Stackdriver Logging assigns it the current time.
|
||||
// Timestamps have nanosecond accuracy, but trailing zeros in the
|
||||
// fractional seconds might be omitted when the timestamp is
|
||||
// displayed.Incoming log entries should have timestamps that are no
|
||||
// more than the logs retention period in the past, and no more than 24
|
||||
// hours in the future. Log entries outside those time boundaries will
|
||||
// not be available when calling entries.list, but those log entries can
|
||||
// still be exported with LogSinks.
|
||||
Timestamp string `json:"timestamp,omitempty"`
|
||||
|
||||
// Trace: Optional. Resource name of the trace associated with the log
|
||||
@@ -1575,6 +1582,52 @@ func (s *MonitoredResourceDescriptor) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// MonitoredResourceMetadata: 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. Google Stackdriver
|
||||
// Monitoring & Logging uses an ingestion pipeline to extract metadata
|
||||
// for cloud resources of all types , and stores the metadata in this
|
||||
// message.
|
||||
type MonitoredResourceMetadata struct {
|
||||
// SystemLabels: Output only. Values for predefined system metadata
|
||||
// labels. System labels are a kind of metadata extracted by Google
|
||||
// Stackdriver. Stackdriver determines what system labels are useful and
|
||||
// how to obtain their values. Some examples: "machine_image", "vpc",
|
||||
// "subnet_id", "security_group", "name", etc. System label values can
|
||||
// be only strings, Boolean values, or a list of strings. For example:
|
||||
// { "name": "my-test-instance",
|
||||
// "security_group": ["a", "b", "c"],
|
||||
// "spot_instance": false }
|
||||
//
|
||||
SystemLabels googleapi.RawMessage `json:"systemLabels,omitempty"`
|
||||
|
||||
// UserLabels: Output only. A map of user-defined metadata labels.
|
||||
UserLabels map[string]string `json:"userLabels,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "SystemLabels") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "SystemLabels") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *MonitoredResourceMetadata) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod MonitoredResourceMetadata
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// RequestLog: Complete log information about a single HTTP request to
|
||||
// an App Engine application.
|
||||
type RequestLog struct {
|
||||
@@ -2385,11 +2438,13 @@ type EntriesWriteCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Write: Log entry resourcesWrites log entries to Stackdriver Logging.
|
||||
// This API method is the only way to send log entries to Stackdriver
|
||||
// Logging. This method is used, directly or indirectly, by the
|
||||
// Stackdriver Logging agent (fluentd) and all logging libraries
|
||||
// configured to use Stackdriver Logging.
|
||||
// Write: Writes log entries to Stackdriver Logging. This API method is
|
||||
// the only way to send log entries to Stackdriver Logging. This method
|
||||
// is used, directly or indirectly, by the Stackdriver Logging agent
|
||||
// (fluentd) and all logging libraries configured to use Stackdriver
|
||||
// Logging. A single request may contain log entries for a maximum of
|
||||
// 1000 different resources (projects, organizations, billing accounts
|
||||
// or folders)
|
||||
func (r *EntriesService) Write(writelogentriesrequest *WriteLogEntriesRequest) *EntriesWriteCall {
|
||||
c := &EntriesWriteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.writelogentriesrequest = writelogentriesrequest
|
||||
@@ -2479,7 +2534,7 @@ func (c *EntriesWriteCall) Do(opts ...googleapi.CallOption) (*WriteLogEntriesRes
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Log entry resourcesWrites log entries to Stackdriver Logging. This API method is the only way to send log entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging.",
|
||||
// "description": "Writes log entries to Stackdriver Logging. This API method is the only way to send log entries to Stackdriver Logging. This method is used, directly or indirectly, by the Stackdriver Logging agent (fluentd) and all logging libraries configured to use Stackdriver Logging. A single request may contain log entries for a maximum of 1000 different resources (projects, organizations, billing accounts or folders)",
|
||||
// "flatPath": "v2beta1/entries:write",
|
||||
// "httpMethod": "POST",
|
||||
// "id": "logging.entries.write",
|
||||
|
||||
Reference in New Issue
Block a user