google-cloud-logging 1.6.3 → 1.6.4

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: bcbc7c47b6db3fc6f156af9ed6eb545352326b6eef6d526127e1f430f7228f62
4
- data.tar.gz: c3edf43f7604b5dc3ce0bacfcb49b8beb289618d394a568462e542ea277beb13
3
+ metadata.gz: 960bf93ff65f7cd4f6e2b15f66e77c56c3cc530081a65db12232912e895d8223
4
+ data.tar.gz: 60efccf3953c324d5a9e9a86999ac3f5c356f6949fca50820b6ed7ccb922dc43
5
5
  SHA512:
6
- metadata.gz: fd2ea2da3f2d6dd440f310766413086e28456a13d10e69478c09fd713f5cd28795e5dfdd383dd2d19a3aaa45e771c2d931011a90cbd578ae8e82b15d5161fc53
7
- data.tar.gz: 84689a6d0b5d9308465ea074fcfefad1b11146d0c1515bca84ddd632fb53423912273d9302a89d8c4807bcbee7d1de53070a3e5f63b923a8419bcea5c1a72045
6
+ metadata.gz: 89954e4b30a4b8996980143299e76c48ce8e0d94c76eb090fb371c530dbd18fb78bb483efdc0c832c082a2a3400d8f9e568289767bec1de1d50f7d1fe6ed048b
7
+ data.tar.gz: 25c3b1ead5c766cdd53f05d42c706a18ee6bd6e4e6672d4c51c361993a109962ae728156ca42f195142ba97833ab631efdbdd50f2db76310ee213c62124ce70b
@@ -1,5 +1,12 @@
1
1
  # Release History
2
2
 
3
+ ### 1.6.4 / 2019-06-11
4
+
5
+ * Add documentation for MetricDescriptor#launch_stage and
6
+ MonitoredResourceDescriptor#launch_stage.
7
+ * Deprecate MetricDescriptor:: MetricDescriptorMetadata#launch_stage
8
+ * Use VERSION constant in GAPIC client
9
+
3
10
  ### 1.6.3 / 2019-04-29
4
11
 
5
12
  * Add AUTHENTICATION.md guide.
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/logging/v2/logging_config_pb"
29
29
  require "google/cloud/logging/v2/credentials"
30
+ require "google/cloud/logging/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -187,7 +188,7 @@ module Google
187
188
  updater_proc = credentials.updater_proc
188
189
  end
189
190
 
190
- package_version = Gem.loaded_specs['google-cloud-logging'].version.version
191
+ package_version = Google::Cloud::Logging::VERSION
191
192
 
192
193
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
193
194
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -126,10 +126,14 @@ module Google
126
126
  # @!attribute [rw] metadata
127
127
  # @return [Google::Api::MetricDescriptor::MetricDescriptorMetadata]
128
128
  # Optional. Metadata which can be used to guide usage of the metric.
129
+ # @!attribute [rw] launch_stage
130
+ # @return [Google::Api::LaunchStage]
131
+ # Optional. The launch stage of the metric definition.
129
132
  class MetricDescriptor
130
133
  # Additional annotations that can be used to guide the usage of a metric.
131
134
  # @!attribute [rw] launch_stage
132
135
  # @return [Google::Api::LaunchStage]
136
+ # Deprecated. Please use the MetricDescriptor.launch_stage instead.
133
137
  # The launch stage of the metric definition.
134
138
  # @!attribute [rw] sample_period
135
139
  # @return [Google::Protobuf::Duration]
@@ -52,6 +52,9 @@ module Google
52
52
  # Required. A set of labels used to describe instances of this monitored
53
53
  # resource type. For example, an individual Google Cloud SQL database is
54
54
  # identified by values for the labels `"database_id"` and `"zone"`.
55
+ # @!attribute [rw] launch_stage
56
+ # @return [Google::Api::LaunchStage]
57
+ # Optional. The launch stage of the monitored resource definition.
55
58
  class MonitoredResourceDescriptor; end
56
59
 
57
60
  # An object representing a resource that can be used for monitoring, logging,
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/logging/v2/logging_pb"
29
29
  require "google/cloud/logging/v2/credentials"
30
+ require "google/cloud/logging/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -185,7 +186,7 @@ module Google
185
186
  updater_proc = credentials.updater_proc
186
187
  end
187
188
 
188
- package_version = Gem.loaded_specs['google-cloud-logging'].version.version
189
+ package_version = Google::Cloud::Logging::VERSION
189
190
 
190
191
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
191
192
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -27,6 +27,7 @@ require "google/gax"
27
27
 
28
28
  require "google/logging/v2/logging_metrics_pb"
29
29
  require "google/cloud/logging/v2/credentials"
30
+ require "google/cloud/logging/version"
30
31
 
31
32
  module Google
32
33
  module Cloud
@@ -165,7 +166,7 @@ module Google
165
166
  updater_proc = credentials.updater_proc
166
167
  end
167
168
 
168
- package_version = Gem.loaded_specs['google-cloud-logging'].version.version
169
+ package_version = Google::Cloud::Logging::VERSION
169
170
 
170
171
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
171
172
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Logging
19
- VERSION = "1.6.3".freeze
19
+ VERSION = "1.6.4".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-30 00:00:00.000000000 Z
12
+ date: 2019-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core