# Package types (1.20.0)

1.20.0 (latest) 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.1 1.12.3 1.11.1 1.10.0 1.9.1 1.8.1 1.7.1 1.6.0 1.5.3 1.4.2 1.3.1 1.2.1 1.1.0 1.0.3 0.3.0 0.2.0 0.1.0 API documentation for `servicecontrol_v1.types` package.

## Classes

### [AllocateQuotaRequest](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.AllocateQuotaRequest)

Request message for the AllocateQuota method.

### [AllocateQuotaResponse](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.AllocateQuotaResponse)

Response message for the AllocateQuota method.

### [CheckError](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.CheckError)

Defines the errors to be returned in
`google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors]`.

### [CheckRequest](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.CheckRequest)

Request message for the Check method.

### [CheckResponse](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.CheckResponse)

Response message for the Check method.

### [Distribution](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.Distribution)

Distribution represents a frequency distribution of double-valued
sample points. It contains the size of the population of sample
points plus additional optional information:

- the arithmetic mean of the samples
- the minimum and maximum of the samples
- the sum-squared-deviation of the samples, used to compute variance
- a histogram of the values of the sample points

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [HttpRequest](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.HttpRequest)

A common proto for logging HTTP requests. Only contains
semantics defined by the HTTP specification. Product-specific
logging information MUST be defined in a separate message.

### [LogEntry](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.LogEntry)

An individual log entry.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [LogEntryOperation](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.LogEntryOperation)

Additional information about a potentially long-running
operation with which a log entry is associated.

### [LogEntrySourceLocation](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.LogEntrySourceLocation)

Additional information about the source code location that
produced the log entry.

### [MetricValue](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.MetricValue)

Represents a single metric value.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [MetricValueSet](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.MetricValueSet)

Represents a set of metric values in the same metric.
Each metric value in the set should have a unique combination of
start time, end time, and label values.

### [Operation](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.Operation)

Represents information regarding an operation.

### [QuotaError](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.QuotaError)

Represents error information for
`QuotaOperation][google.api.servicecontrol.v1.QuotaOperation]`.

### [QuotaOperation](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.QuotaOperation)

Represents information regarding a quota operation.

### [ReportRequest](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.ReportRequest)

Request message for the Report method.

### [ReportResponse](https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.ReportResponse)

Response message for the Report method.