google-cloud-automl 2.0.2 → 2.0.3

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: efb921ae58f38ffca1efa93370830e321f17b0810ff7d8374122bfca9b49b1a2
4
- data.tar.gz: a2becd6c583f7b8eaed08b938841fefb44d0c216beaaa2ede83f3df42b064bc7
3
+ metadata.gz: 9958099c2d62c05cfaec07e0b6e2ea558c18e5ae37aa93776929364e7e25f98f
4
+ data.tar.gz: 2e8f4651bfa6a048dcbcd1b9acf9bd069a2a87eec79698745cea1a71ac3369e6
5
5
  SHA512:
6
- metadata.gz: 79c62096dcadf6057941422c79a76e9d7ac195792b94d86d0351c701a63772fc4565624ce890822b861556ca6885d391bb1dfa174bfc81ba076a8003692f7dcb
7
- data.tar.gz: f05c086c7c8d14daacecc114c178325911401537e7613f7b51de0d82334fea062dde3045f3ba40365d0fe4a15f199d498ff2d23f908731e425d4aae1faf76709
6
+ metadata.gz: d87e61512396b0010614375b341690eb109d4c67fed2aa4e534f5c6dc2440e6972c78f80f0d1dd6bc621ce65ff41c7209856be509913f3d84a8193520f1193c1
7
+ data.tar.gz: edce9144950029969b33b2aa7feb1d08c79ebf862a9d82f252a26e6848c4c86f1a0bb89a531a4eb0e05f89b93c601c062fbe3311841eb110aad578f141a9b3d5
data/README.md CHANGED
@@ -34,6 +34,14 @@ 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/automl.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/automl"
39
+
40
+ client = Google::Cloud::AutoML.prediction_service
41
+ request = ::Google::Cloud::AutoML::V1::PredictRequest.new # (request fields as keyword arguments...)
42
+ response = client.predict request
43
+ ```
44
+
37
45
  ## Migrating from 0.x versions
38
46
 
39
47
  The 1.0 release of the google-cloud-automl client is a significant upgrade
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module AutoML
23
- VERSION = "2.0.2"
23
+ VERSION = "2.0.3"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-automl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC