google-cloud-logging-v2 0.10.0 → 0.11.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a889079ca36237781388bdc28fd1035058412e2cc008acb5bb3d43fed2704343
4
- data.tar.gz: fda685a8fc1d66713f9728a2b9fa2468f8d912c0eef5d4df2e78d9096e6db6be
3
+ metadata.gz: 41cca638e28867c7ceb8fde1cb0849197bc835b51734bfb272fc66b7b2883499
4
+ data.tar.gz: e2af6cb5aefad89d1a16c2dfd5326f106b9439c9882af7a6d39693a5998516d6
5
5
  SHA512:
6
- metadata.gz: a92ca1ed92a1bbcf19e4c5231e73fb45fac8cc16f9ce7efc8d0eed67b1d059debef6480139eb888121449bbba671ed8c40888c40536338e177e5ea7b20422c31
7
- data.tar.gz: 9f4fde23ee45304025a8f301490c6c47cff81bd1cfd8e096a0f73e45b26a8b4fba23b455659a333829c8e3d584f4d7dc97ce143ba8bbd1e5454b62d63bb61c47
6
+ metadata.gz: 81b2aa6cb0909b4fdf0793423512e86c4d4f07f6bef5263f2b5cb24936138ba301ebfd0d9df3449f9698d9480c9442245a24c36dd9fd6c5311822cf502de7134
7
+ data.tar.gz: 4b29681dd940fd556545bbbc1291e0787251fb535cd8b8264706561a0a45d80afe5c1b4f13cb215d2ac08104527943fa07e94d7ff718510e26853a842a6d3b13
@@ -164,7 +164,7 @@ module Google
164
164
  credentials = @config.credentials
165
165
  # Use self-signed JWT if the endpoint is unchanged from default,
166
166
  # but only if the default endpoint does not have a region prefix.
167
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
167
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
168
168
  !@config.endpoint.split(".").first.include?("-")
169
169
  credentials ||= Credentials.default scope: @config.scope,
170
170
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -185,7 +185,8 @@ module Google
185
185
  credentials: credentials,
186
186
  endpoint: @config.endpoint,
187
187
  channel_args: @config.channel_args,
188
- interceptors: @config.interceptors
188
+ interceptors: @config.interceptors,
189
+ channel_pool_config: @config.channel_pool
189
190
  )
190
191
  end
191
192
 
@@ -3597,7 +3598,9 @@ module Google
3597
3598
  class Configuration
3598
3599
  extend ::Gapic::Config
3599
3600
 
3600
- config_attr :endpoint, "logging.googleapis.com", ::String
3601
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
3602
+
3603
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
3601
3604
  config_attr :credentials, nil do |value|
3602
3605
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3603
3606
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -3632,6 +3635,14 @@ module Google
3632
3635
  end
3633
3636
  end
3634
3637
 
3638
+ ##
3639
+ # Configuration for the channel pool
3640
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
3641
+ #
3642
+ def channel_pool
3643
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
3644
+ end
3645
+
3635
3646
  ##
3636
3647
  # Configuration RPC class for the ConfigService API.
3637
3648
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -664,7 +665,9 @@ module Google
664
665
  class Configuration
665
666
  extend ::Gapic::Config
666
667
 
667
- config_attr :endpoint, "logging.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
671
  config_attr :credentials, nil do |value|
669
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -699,6 +702,14 @@ module Google
699
702
  end
700
703
  end
701
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
702
713
  ##
703
714
  # Configuration RPC class for the Operations API.
704
715
  #
@@ -153,7 +153,7 @@ module Google
153
153
  credentials = @config.credentials
154
154
  # Use self-signed JWT if the endpoint is unchanged from default,
155
155
  # but only if the default endpoint does not have a region prefix.
156
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
156
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
157
157
  !@config.endpoint.split(".").first.include?("-")
158
158
  credentials ||= Credentials.default scope: @config.scope,
159
159
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -168,7 +168,8 @@ module Google
168
168
  credentials: credentials,
169
169
  endpoint: @config.endpoint,
170
170
  channel_args: @config.channel_args,
171
- interceptors: @config.interceptors
171
+ interceptors: @config.interceptors,
172
+ channel_pool_config: @config.channel_pool
172
173
  )
173
174
  end
174
175
 
@@ -914,7 +915,9 @@ module Google
914
915
  class Configuration
915
916
  extend ::Gapic::Config
916
917
 
917
- config_attr :endpoint, "logging.googleapis.com", ::String
918
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
919
+
920
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
918
921
  config_attr :credentials, nil do |value|
919
922
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
920
923
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -949,6 +952,14 @@ module Google
949
952
  end
950
953
  end
951
954
 
955
+ ##
956
+ # Configuration for the channel pool
957
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
958
+ #
959
+ def channel_pool
960
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
961
+ end
962
+
952
963
  ##
953
964
  # Configuration RPC class for the LoggingService API.
954
965
  #
@@ -145,7 +145,7 @@ module Google
145
145
  credentials = @config.credentials
146
146
  # Use self-signed JWT if the endpoint is unchanged from default,
147
147
  # but only if the default endpoint does not have a region prefix.
148
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
148
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
149
149
  !@config.endpoint.split(".").first.include?("-")
150
150
  credentials ||= Credentials.default scope: @config.scope,
151
151
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -160,7 +160,8 @@ module Google
160
160
  credentials: credentials,
161
161
  endpoint: @config.endpoint,
162
162
  channel_args: @config.channel_args,
163
- interceptors: @config.interceptors
163
+ interceptors: @config.interceptors,
164
+ channel_pool_config: @config.channel_pool
164
165
  )
165
166
  end
166
167
 
@@ -708,7 +709,9 @@ module Google
708
709
  class Configuration
709
710
  extend ::Gapic::Config
710
711
 
711
- config_attr :endpoint, "logging.googleapis.com", ::String
712
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
713
+
714
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
712
715
  config_attr :credentials, nil do |value|
713
716
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
714
717
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -743,6 +746,14 @@ module Google
743
746
  end
744
747
  end
745
748
 
749
+ ##
750
+ # Configuration for the channel pool
751
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
752
+ #
753
+ def channel_pool
754
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
755
+ end
756
+
746
757
  ##
747
758
  # Configuration RPC class for the MetricsService API.
748
759
  #
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Logging
23
23
  module V2
24
- VERSION = "0.10.0"
24
+ VERSION = "0.11.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-logging-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.0
19
+ version: 0.20.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.0
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  requirements: []
238
- rubygems_version: 3.4.2
238
+ rubygems_version: 3.4.19
239
239
  signing_key:
240
240
  specification_version: 4
241
241
  summary: Writes log entries and manages your Cloud Logging configuration.