Logging: Add LoggingV2Servicer, LogSinks, logging_metrics, and log_entry. Add LogSeverity and HttpRequest types (via synth).#9262
Merged
busunkim96 merged 2 commits intomasterfrom Sep 23, 2019
Conversation
…ent library generator.
busunkim96
reviewed
Sep 23, 2019
| @@ -1,5 +1,6 @@ | |||
| # -*- coding: utf-8 -*- | |||
| # -*- coding: utf-8 -*- | |||
| # -*- coding: utf-8 -*- | |||
Contributor
There was a problem hiding this comment.
I think synth is adding this here repeatedly...
| additional_bindings { delete: "/v2/{log_name=folders/*/logs/*}" } | ||
| additional_bindings { delete: "/v2/{log_name=billingAccounts/*/logs/*}" } | ||
| additional_bindings { | ||
| delete: "/v2/{log_name=*/*/logs/*}" |
Contributor
There was a problem hiding this comment.
New binding for deleting logs
| @@ -1,5 +1,6 @@ | |||
| # -*- coding: utf-8 -*- | |||
| # -*- coding: utf-8 -*- | |||
| # -*- coding: utf-8 -*- | |||
Contributor
There was a problem hiding this comment.
Ditto here, synth keeps adding this
| dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR], | ||
| ) | ||
|
|
||
| _LOGSEVERITY = _descriptor.EnumDescriptor( |
| (_message.Message,), | ||
| dict( | ||
| DESCRIPTOR=_HTTPREQUEST, | ||
| __module__="google.logging.type.http_request_pb2", |
| ) | ||
|
|
||
|
|
||
| class LoggingServiceV2Servicer(object): |
Contributor
There was a problem hiding this comment.
Add LoggingServiceV2Servicer
| ), | ||
| ), | ||
| DESCRIPTOR=_LOGMETRIC, | ||
| __module__="google.cloud.logging_v2.proto.logging_metrics_pb2", |
| DESCRIPTOR.message_types_by_name["DeleteExclusionRequest"] = _DELETEEXCLUSIONREQUEST | ||
| _sym_db.RegisterFileDescriptor(DESCRIPTOR) | ||
|
|
||
| LogSink = _reflection.GeneratedProtocolMessageType( |
Contributor
There was a problem hiding this comment.
Add LogSinks (Cloud storage bucket, BigQuery dataset, Cloud Pub/Sub topic).
| ), | ||
| DESCRIPTOR=_LOGENTRY, | ||
| __module__="google.cloud.logging_v2.proto.log_entry_pb2", | ||
| __doc__="""An individual entry in a log. |
parthea
pushed a commit
that referenced
this pull request
Nov 24, 2025
…try. Add LogSeverity and HttpRequest types (via synth). (#9262)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was generated using Autosynth. 🌈
Here's the log from Synthtool: