google-cloud-ai_platform 1.4.0 → 1.6.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 +30 -26
- data/lib/google/cloud/ai_platform/version.rb +1 -1
- data/lib/google/cloud/ai_platform.rb +1466 -36
- 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: 32f77331f2efbb03fcdb6308fbdeab39af0fbca8f53f4c3201e8c4245c89b1d0
|
4
|
+
data.tar.gz: 86b3bdde1ccde6499d800c94c4d5d72da74ce1c189886064764b8ff92810ef10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b79be21fd40e89adb66f5651c18242f2bd8b0082772fa8046d92e3e624bb2e85c31ea151094390d44a7480f3899c1d005973a6005ff888ff1303b93851885718
|
7
|
+
data.tar.gz: e52067a2614cbf9ace1a188e1211b6a2e95d3f02cd176cb57a863998ff9a9209f80c187006014acf48140a0a4b2c0190db3caffa002936787c44089655dbbf93
|
data/README.md
CHANGED
@@ -34,35 +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/aiplatform.googleapis.com)
|
35
35
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
36
36
|
|
37
|
-
##
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
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-ai_platform-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-ai_platform-v1/latest).
|
62
66
|
|
63
67
|
## Supported Ruby Versions
|
64
68
|
|
65
|
-
This library is supported on Ruby
|
69
|
+
This library is supported on Ruby 3.0+.
|
66
70
|
|
67
71
|
Google provides official support for Ruby versions that are actively supported
|
68
72
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|