Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Logging: fix client_info bug, update docstrings via synth. #6435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 108 additions & 106 deletions 214 logging/google/cloud/logging_v2/gapic/config_service_v2_client.py

Large diffs are not rendered by default.

53 changes: 27 additions & 26 deletions 53 logging/google/cloud/logging_v2/gapic/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

class LaunchStage(enum.IntEnum):
"""
The launch stage as defined by [Google Cloud Platform
Launch Stages](http://cloud.google.com/terms/launch-stages).
The launch stage as defined by `Google Cloud Platform Launch
Stages <http://cloud.google.com/terms/launch-stages>`__.

Attributes:
LAUNCH_STAGE_UNSPECIFIED (int): Do not use this default value.
Expand All @@ -47,10 +47,10 @@ class LaunchStage(enum.IntEnum):
GA (int): GA features are open to all developers and are considered stable and
fully qualified for production use.
DEPRECATED (int): Deprecated features are scheduled to be shut down and removed. For more
information, see the “Deprecation Policy” section of our [Terms of
Service](https://cloud.google.com/terms/)
and the [Google Cloud Platform Subject to the Deprecation
Policy](https://cloud.google.com/terms/deprecation) documentation.
information, see the “Deprecation Policy” section of our `Terms of
Service <https://cloud.google.com/terms/>`__ and the `Google Cloud
Platform Subject to the Deprecation
Policy <https://cloud.google.com/terms/deprecation>`__ documentation.
"""
LAUNCH_STAGE_UNSPECIFIED = 0
EARLY_ACCESS = 1
Expand All @@ -62,10 +62,10 @@ class LaunchStage(enum.IntEnum):

class NullValue(enum.IntEnum):
"""
``NullValue`` is a singleton enumeration to represent the null value for the
``Value`` type union.
``NullValue`` is a singleton enumeration to represent the null value for
the ``Value`` type union.

The JSON representation for ``NullValue`` is JSON ``null``.
The JSON representation for ``NullValue`` is JSON ``null``.

Attributes:
NULL_VALUE (int): Null value.
Expand All @@ -75,23 +75,24 @@ class NullValue(enum.IntEnum):

class LogSeverity(enum.IntEnum):
"""
The severity of the event described in a log entry, expressed as one of the
standard severity levels listed below. For your reference, the levels are
assigned the listed numeric values. The effect of using numeric values other
than those listed is undefined.
The severity of the event described in a log entry, expressed as one of
the standard severity levels listed below. For your reference, the
levels are assigned the listed numeric values. The effect of using
numeric values other than those listed is undefined.

You can filter for log entries by severity. For example, the following
filter expression will match log entries with severities ``INFO``, ``NOTICE``,
and ``WARNING``:
You can filter for log entries by severity. For example, the following
filter expression will match log entries with severities ``INFO``,
``NOTICE``, and ``WARNING``:

::

severity > DEBUG AND severity <= WARNING
severity > DEBUG AND severity <= WARNING

If you are writing log entries, you should map other severity encodings to
one of these standard levels. For example, you might map all of Java's FINE,
FINER, and FINEST levels to ``LogSeverity.DEBUG``. You can preserve the
original severity level in the log entry payload if you wish.
If you are writing log entries, you should map other severity encodings
to one of these standard levels. For example, you might map all of
Java's FINE, FINER, and FINEST levels to ``LogSeverity.DEBUG``. You can
preserve the original severity level in the log entry payload if you
wish.

Attributes:
DEFAULT (int): (0) The log entry has no assigned severity level.
Expand Down Expand Up @@ -157,13 +158,13 @@ class ValueType(enum.IntEnum):

Attributes:
VALUE_TYPE_UNSPECIFIED (int): Do not use this default value.
BOOL (int): The value is a boolean.
This value type can be used only if the metric kind is ``GAUGE``.
BOOL (int): The value is a boolean. This value type can be used only if the metric
kind is ``GAUGE``.
INT64 (int): The value is a signed 64-bit integer.
DOUBLE (int): The value is a double precision floating point number.
STRING (int): The value is a text string.
This value type can be used only if the metric kind is ``GAUGE``.
DISTRIBUTION (int): The value is a ````Distribution````.
STRING (int): The value is a text string. This value type can be used only if the
metric kind is ``GAUGE``.
DISTRIBUTION (int): The value is a ``Distribution``.
MONEY (int): The value is money.
"""
VALUE_TYPE_UNSPECIFIED = 0
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.