google-cloud-logging-v2 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/logging/v2/config_service/client.rb +7 -0
- data/lib/google/cloud/logging/v2/config_service/operations.rb +7 -0
- data/lib/google/cloud/logging/v2/logging_service/client.rb +7 -0
- data/lib/google/cloud/logging/v2/metrics_service/client.rb +7 -0
- data/lib/google/cloud/logging/v2/version.rb +1 -1
- data/proto_docs/google/api/distribution.rb +6 -0
- data/proto_docs/google/logging/v2/log_entry.rb +6 -0
- data/proto_docs/google/logging/v2/logging_config.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d35688bdb5faf0c721ea2944650ef5352f9395a1373ef4f7c300e480f66a602b
|
4
|
+
data.tar.gz: 6c05319ea01bd616ce0bb40e93c78de14ff5557f58f031db72fb15ac06105873
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 250e5c861afc3d7603b1182f8f9f74b89a7a21fbddb3b32b80ec738e53f6af43012bcfb74ecccfe0c4edb8727f32a04ca0edd13e357a00fb497dd6192718da3d
|
7
|
+
data.tar.gz: 06b536d5f9a194887a7fee3a8b958ac28241b105bdbb04e3e2292d3a93dbb43ce25b2f86e45e6bab6f9f5c6b43b65298c2832544166288ff995f7861cf86defb
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -3609,6 +3609,13 @@ module Google
|
|
3609
3609
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
3610
3610
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
3611
3611
|
# * (`nil`) indicating no credentials
|
3612
|
+
#
|
3613
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
3614
|
+
# external source for authentication to Google Cloud, you must validate it before
|
3615
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
3616
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
3617
|
+
# For more information, refer to [Validate credential configurations from external
|
3618
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
3612
3619
|
# @return [::Object]
|
3613
3620
|
# @!attribute [rw] scope
|
3614
3621
|
# The OAuth scopes
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -917,6 +917,13 @@ module Google
|
|
917
917
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
918
918
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
919
919
|
# * (`nil`) indicating no credentials
|
920
|
+
#
|
921
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
922
|
+
# external source for authentication to Google Cloud, you must validate it before
|
923
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
924
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
925
|
+
# For more information, refer to [Validate credential configurations from external
|
926
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
920
927
|
# @return [::Object]
|
921
928
|
# @!attribute [rw] scope
|
922
929
|
# The OAuth scopes
|
@@ -710,6 +710,13 @@ module Google
|
|
710
710
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
711
711
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
712
712
|
# * (`nil`) indicating no credentials
|
713
|
+
#
|
714
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
715
|
+
# external source for authentication to Google Cloud, you must validate it before
|
716
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
717
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
718
|
+
# For more information, refer to [Validate credential configurations from external
|
719
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
713
720
|
# @return [::Object]
|
714
721
|
# @!attribute [rw] scope
|
715
722
|
# The OAuth scopes
|
@@ -115,12 +115,18 @@ module Google
|
|
115
115
|
# @!attribute [rw] linear_buckets
|
116
116
|
# @return [::Google::Api::Distribution::BucketOptions::Linear]
|
117
117
|
# The linear bucket.
|
118
|
+
#
|
119
|
+
# Note: The following fields are mutually exclusive: `linear_buckets`, `exponential_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
118
120
|
# @!attribute [rw] exponential_buckets
|
119
121
|
# @return [::Google::Api::Distribution::BucketOptions::Exponential]
|
120
122
|
# The exponential buckets.
|
123
|
+
#
|
124
|
+
# Note: The following fields are mutually exclusive: `exponential_buckets`, `linear_buckets`, `explicit_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
121
125
|
# @!attribute [rw] explicit_buckets
|
122
126
|
# @return [::Google::Api::Distribution::BucketOptions::Explicit]
|
123
127
|
# The explicit buckets.
|
128
|
+
#
|
129
|
+
# Note: The following fields are mutually exclusive: `explicit_buckets`, `linear_buckets`, `exponential_buckets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
124
130
|
class BucketOptions
|
125
131
|
include ::Google::Protobuf::MessageExts
|
126
132
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -64,13 +64,19 @@ module Google
|
|
64
64
|
#
|
65
65
|
# "type.googleapis.com/google.cloud.audit.AuditLog"
|
66
66
|
# "type.googleapis.com/google.appengine.logging.v1.RequestLog"
|
67
|
+
#
|
68
|
+
# Note: The following fields are mutually exclusive: `proto_payload`, `text_payload`, `json_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
67
69
|
# @!attribute [rw] text_payload
|
68
70
|
# @return [::String]
|
69
71
|
# The log entry payload, represented as a Unicode string (UTF-8).
|
72
|
+
#
|
73
|
+
# Note: The following fields are mutually exclusive: `text_payload`, `proto_payload`, `json_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
70
74
|
# @!attribute [rw] json_payload
|
71
75
|
# @return [::Google::Protobuf::Struct]
|
72
76
|
# The log entry payload, represented as a structure that is
|
73
77
|
# expressed as a JSON object.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `json_payload`, `proto_payload`, `text_payload`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
74
80
|
# @!attribute [rw] timestamp
|
75
81
|
# @return [::Google::Protobuf::Timestamp]
|
76
82
|
# Optional. The time the event described by the log entry occurred. This time
|
@@ -1416,9 +1416,13 @@ module Google
|
|
1416
1416
|
# @!attribute [rw] create_bucket_request
|
1417
1417
|
# @return [::Google::Cloud::Logging::V2::CreateBucketRequest]
|
1418
1418
|
# LongRunningCreateBucket RPC request.
|
1419
|
+
#
|
1420
|
+
# Note: The following fields are mutually exclusive: `create_bucket_request`, `update_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1419
1421
|
# @!attribute [rw] update_bucket_request
|
1420
1422
|
# @return [::Google::Cloud::Logging::V2::UpdateBucketRequest]
|
1421
1423
|
# LongRunningUpdateBucket RPC request.
|
1424
|
+
#
|
1425
|
+
# Note: The following fields are mutually exclusive: `update_bucket_request`, `create_bucket_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1422
1426
|
class BucketMetadata
|
1423
1427
|
include ::Google::Protobuf::MessageExts
|
1424
1428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1437,9 +1441,13 @@ module Google
|
|
1437
1441
|
# @!attribute [rw] create_link_request
|
1438
1442
|
# @return [::Google::Cloud::Logging::V2::CreateLinkRequest]
|
1439
1443
|
# CreateLink RPC request.
|
1444
|
+
#
|
1445
|
+
# Note: The following fields are mutually exclusive: `create_link_request`, `delete_link_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1440
1446
|
# @!attribute [rw] delete_link_request
|
1441
1447
|
# @return [::Google::Cloud::Logging::V2::DeleteLinkRequest]
|
1442
1448
|
# DeleteLink RPC request.
|
1449
|
+
#
|
1450
|
+
# Note: The following fields are mutually exclusive: `delete_link_request`, `create_link_request`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1443
1451
|
class LinkMetadata
|
1444
1452
|
include ::Google::Protobuf::MessageExts
|
1445
1453
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,21 +53,33 @@ module Google
|
|
53
53
|
# @!attribute [rw] null_value
|
54
54
|
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] number_value
|
57
59
|
# @return [::Float]
|
58
60
|
# Represents a double value.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] string_value
|
60
64
|
# @return [::String]
|
61
65
|
# Represents a string value.
|
66
|
+
#
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
62
68
|
# @!attribute [rw] bool_value
|
63
69
|
# @return [::Boolean]
|
64
70
|
# Represents a boolean value.
|
71
|
+
#
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
73
|
# @!attribute [rw] struct_value
|
66
74
|
# @return [::Google::Protobuf::Struct]
|
67
75
|
# Represents a structured value.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
78
|
# @!attribute [rw] list_value
|
69
79
|
# @return [::Google::Protobuf::ListValue]
|
70
80
|
# Represents a repeated `Value`.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
83
|
class Value
|
72
84
|
include ::Google::Protobuf::MessageExts
|
73
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-logging-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -108,7 +107,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
108
107
|
licenses:
|
109
108
|
- Apache-2.0
|
110
109
|
metadata: {}
|
111
|
-
post_install_message:
|
112
110
|
rdoc_options: []
|
113
111
|
require_paths:
|
114
112
|
- lib
|
@@ -116,15 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
114
|
requirements:
|
117
115
|
- - ">="
|
118
116
|
- !ruby/object:Gem::Version
|
119
|
-
version: '
|
117
|
+
version: '3.0'
|
120
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
119
|
requirements:
|
122
120
|
- - ">="
|
123
121
|
- !ruby/object:Gem::Version
|
124
122
|
version: '0'
|
125
123
|
requirements: []
|
126
|
-
rubygems_version: 3.
|
127
|
-
signing_key:
|
124
|
+
rubygems_version: 3.6.2
|
128
125
|
specification_version: 4
|
129
126
|
summary: Writes log entries and manages your Cloud Logging configuration.
|
130
127
|
test_files: []
|