google-cloud-logging-v2 1.1.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/logging/v2/config_service/client.rb +9 -2
- data/lib/google/cloud/logging/v2/config_service/operations.rb +9 -2
- data/lib/google/cloud/logging/v2/logging_service/client.rb +9 -2
- data/lib/google/cloud/logging/v2/metrics_service/client.rb +9 -2
- data/lib/google/cloud/logging/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- 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: ada52d7d9cdd809d418551e104e6e995abf26c2a6306e56ae1e947811bcd21e1
|
4
|
+
data.tar.gz: 34a80df061db10fccf6e4fc7eaed1cbe0861111b2cc1bdc7da66b78444c8c512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e44fd54ed7e6e6af36849042678892316337b36165e48f33b870c7da5ded4295c8c207d6a0eb326adc44cb48d7b7ff4ddfa4727fa2d03222a260b5dcdf30c34
|
7
|
+
data.tar.gz: '09f525825db7a17a5c37a86cb7a286e3092d945ecfd4e6d5efc9d8d5c5f3960379eb17fb97893797583b949973ff0c9a3eba696dbe0ee89385443b9acbf67501'
|
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
|
@@ -3663,8 +3670,8 @@ module Google
|
|
3663
3670
|
|
3664
3671
|
config_attr :endpoint, nil, ::String, nil
|
3665
3672
|
config_attr :credentials, nil do |value|
|
3666
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3667
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
3673
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
3674
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
3668
3675
|
allowed.any? { |klass| klass === value }
|
3669
3676
|
end
|
3670
3677
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -694,8 +701,8 @@ module Google
|
|
694
701
|
|
695
702
|
config_attr :endpoint, nil, ::String, nil
|
696
703
|
config_attr :credentials, nil do |value|
|
697
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
698
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
699
706
|
allowed.any? { |klass| klass === value }
|
700
707
|
end
|
701
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -971,8 +978,8 @@ module Google
|
|
971
978
|
|
972
979
|
config_attr :endpoint, nil, ::String, nil
|
973
980
|
config_attr :credentials, nil do |value|
|
974
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
975
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
981
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
982
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
976
983
|
allowed.any? { |klass| klass === value }
|
977
984
|
end
|
978
985
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -764,8 +771,8 @@ module Google
|
|
764
771
|
|
765
772
|
config_attr :endpoint, nil, ::String, nil
|
766
773
|
config_attr :credentials, nil do |value|
|
767
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
768
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
774
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
775
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
769
776
|
allowed.any? { |klass| klass === value }
|
770
777
|
end
|
771
778
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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.1
|
4
|
+
version: 1.2.1
|
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: 1980-01-02 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.8
|
128
125
|
specification_version: 4
|
129
126
|
summary: Writes log entries and manages your Cloud Logging configuration.
|
130
127
|
test_files: []
|