Skip to content

Commit 8deb784

Browse files
feat: Automated regeneration of logging v2 client (googleapis#23335)
Auto-created at 2025-06-08 09:42:23 +0000 using the toys pull request generator.
1 parent 5b8bdc0 commit 8deb784

File tree

5 files changed

+21
-8
lines changed

5 files changed

+21
-8
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270788,6 +270788,7 @@
270788270788
"/logging:v2/LogBucket/updateTime": update_time
270789270789
"/logging:v2/LogEntry": log_entry
270790270790
"/logging:v2/LogEntry/apphub": apphub
270791+
"/logging:v2/LogEntry/apphubDestination": apphub_destination
270791270792
"/logging:v2/LogEntry/errorGroups": error_groups
270792270793
"/logging:v2/LogEntry/errorGroups/error_group": error_group
270793270794
"/logging:v2/LogEntry/httpRequest": http_request

generated/google-apis-logging_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-logging_v2
22

3+
### v0.81.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250530
6+
37
### v0.80.0 (2025-05-25)
48

59
* Regenerated from discovery document revision 20250516

generated/google-apis-logging_v2/lib/google/apis/logging_v2/classes.rb

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,11 @@ class LogEntry
19281928
# @return [Google::Apis::LoggingV2::AppHub]
19291929
attr_accessor :apphub
19301930

1931+
# Metadata associated with App Hub.
1932+
# Corresponds to the JSON property `apphubDestination`
1933+
# @return [Google::Apis::LoggingV2::AppHub]
1934+
attr_accessor :apphub_destination
1935+
19311936
# Output only. The Error Reporting (https://cloud.google.com/error-reporting)
19321937
# error groups associated with this LogEntry. Error Reporting sets the values
19331938
# for this field during error group creation.For more information, see View
@@ -2124,6 +2129,7 @@ def initialize(**args)
21242129
# Update properties of this object
21252130
def update!(**args)
21262131
@apphub = args[:apphub] if args.key?(:apphub)
2132+
@apphub_destination = args[:apphub_destination] if args.key?(:apphub_destination)
21272133
@error_groups = args[:error_groups] if args.key?(:error_groups)
21282134
@http_request = args[:http_request] if args.key?(:http_request)
21292135
@insert_id = args[:insert_id] if args.key?(:insert_id)
@@ -2289,7 +2295,7 @@ class LogExclusion
22892295
# @return [String]
22902296
attr_accessor :filter
22912297

2292-
# Output only. A client-assigned identifier, such as "load-balancer-exclusion".
2298+
# Optional. A client-assigned identifier, such as "load-balancer-exclusion".
22932299
# Identifiers are limited to 100 characters and can include only letters, digits,
22942300
# underscores, hyphens, and periods. First character has to be alphanumeric.
22952301
# Corresponds to the JSON property `name`
@@ -2600,8 +2606,8 @@ class LogSink
26002606
alias_method :disabled?, :disabled
26012607

26022608
# Optional. Log entries that match any of these exclusion filters will not be
2603-
# exported.If a log entry is matched by both filter and one of exclusion_filters
2604-
# it will not be exported.
2609+
# exported.If a log entry is matched by both filter and one of exclusions it
2610+
# will not be exported.
26052611
# Corresponds to the JSON property `exclusions`
26062612
# @return [Array<Google::Apis::LoggingV2::LogExclusion>]
26072613
attr_accessor :exclusions
@@ -2643,8 +2649,8 @@ class LogSink
26432649
attr_accessor :intercept_children
26442650
alias_method :intercept_children?, :intercept_children
26452651

2646-
# Output only. The client-assigned sink identifier, unique within the project.
2647-
# For example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
2652+
# Optional. The client-assigned sink identifier, unique within the project.For
2653+
# example: "my-syslog-errors-to-pubsub".Sink identifiers are limited to 100
26482654
# characters and can include only the following characters: upper and lower-case
26492655
# alphanumeric characters, underscores, hyphens, periods.First character has to
26502656
# be alphanumeric.
@@ -3352,7 +3358,7 @@ class RecentQuery
33523358
# @return [Google::Apis::LoggingV2::LoggingQuery]
33533359
attr_accessor :logging_query
33543360

3355-
# Output only. Resource name of the recent query.In the format: "projects/[
3361+
# Optional. Resource name of the recent query.In the format: "projects/[
33563362
# PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For a list of
33573363
# supported locations, see Supported Regions (https://cloud.google.com/logging/
33583364
# docs/region-support)The QUERY_ID is a system generated alphanumeric ID.

generated/google-apis-logging_v2/lib/google/apis/logging_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module LoggingV2
1818
# Version of the google-apis-logging_v2 gem
19-
GEM_VERSION = "0.80.0"
19+
GEM_VERSION = "0.81.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250516"
25+
REVISION = "20250530"
2626
end
2727
end
2828
end

generated/google-apis-logging_v2/lib/google/apis/logging_v2/representations.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,8 @@ class LogEntry
10141014
class Representation < Google::Apis::Core::JsonRepresentation
10151015
property :apphub, as: 'apphub', class: Google::Apis::LoggingV2::AppHub, decorator: Google::Apis::LoggingV2::AppHub::Representation
10161016

1017+
property :apphub_destination, as: 'apphubDestination', class: Google::Apis::LoggingV2::AppHub, decorator: Google::Apis::LoggingV2::AppHub::Representation
1018+
10171019
collection :error_groups, as: 'errorGroups', class: Google::Apis::LoggingV2::LogErrorGroup, decorator: Google::Apis::LoggingV2::LogErrorGroup::Representation
10181020

10191021
property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2::HttpRequest, decorator: Google::Apis::LoggingV2::HttpRequest::Representation

0 commit comments

Comments
 (0)