google-cloud-compute 1.8.1 → 1.10.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: 322ad26be3d5ab112afe449ffa7330da76355569006f1cd55bcd008147055d9e
4
- data.tar.gz: f9a554b575b5f9a86e38e0611cbb7877abf7f0a307895c3248504e16b4b2e80a
3
+ metadata.gz: 62168d2ce83dcc304605271f5373c3b90c2e254b878aa150c51daed26475f8e4
4
+ data.tar.gz: 7976294ce3ad16b7ed1e2a194ce7cdf27dbfa61cea37cc8434ef25eceddbd9b0
5
5
  SHA512:
6
- metadata.gz: 0775fef55f0abc6ac197f13e94e1a4ef55c90863a8dd7c119415dd136355fa20aaf3450d06b258200cbc4cecf5bac00ea4c20bad3e9afde984639a0eeba496bf
7
- data.tar.gz: 552e1b15f9611fa782d8e604281b022f4336c1c412712b6aa742cb08935339670bba6541a2cc3a0ca80f8e319add7fbe59b0e3af26d2daba973c7cfb80bed620
6
+ metadata.gz: b6d5b397ceb4bdd095d42c0f1e4b71ed9eba3e7a96f5b9d93d2ef8a01b57176fa7f272d2adf375997f37b839bd1d07d09a057ca5cb3846b237bddd0006cbcd20
7
+ data.tar.gz: ef811608171be654e4602d4fc39d4c9302d1b377e2e60f847954c7e7efd5d3272b6b34d1305e4a7adf835f9fa522596f6bbdb3360f11dbccdfd3abc7d4c01a08
data/README.md CHANGED
@@ -34,9 +34,39 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/compute.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ## Debug Logging
38
+
39
+ This library comes with opt-in Debug Logging that can help you troubleshoot
40
+ your application's integration with the API. When logging is activated, key
41
+ events such as requests and responses, along with data payloads and metadata
42
+ such as headers and client configuration, are logged to the standard error
43
+ stream.
44
+
45
+ **WARNING:** Client Library Debug Logging includes your data payloads in
46
+ plaintext, which could include sensitive data such as PII for yourself or your
47
+ customers, private keys, or other security data that could be compromising if
48
+ leaked. Always practice good data hygiene with your application logs, and follow
49
+ the principle of least access. Google also recommends that Client Library Debug
50
+ Logging be enabled only temporarily during active debugging, and not used
51
+ permanently in production.
52
+
53
+ To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
54
+ to the value `all`. Alternatively, you can set the value to a comma-delimited
55
+ list of client library gem names. This will select the default logging behavior,
56
+ which writes logs to the standard error stream. On a local workstation, this may
57
+ result in logs appearing on the console. When running on a Google Cloud hosting
58
+ service such as [Google Cloud Run](https://cloud.google.com/run), this generally
59
+ results in logs appearing alongside your application logs in the
60
+ [Google Cloud Logging](https://cloud.google.com/logging/) service.
61
+
62
+ Debug logging also requires that the versioned clients for this service be
63
+ sufficiently recent, released after about Dec 10, 2024. If logging is not
64
+ working, try updating the versioned clients in your bundle or installed gems:
65
+ [google-cloud-compute-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-compute-v1/latest).
66
+
37
67
  ## Supported Ruby Versions
38
68
 
39
- This library is supported on Ruby 2.7+.
69
+ This library is supported on Ruby 3.0+.
40
70
 
41
71
  Google provides official support for Ruby versions that are actively supported
42
72
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Compute
23
- VERSION = "1.8.1"
23
+ VERSION = "1.10.0"
24
24
  end
25
25
  end
26
26
  end