google-cloud-automl-v1 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +1 -1
  4. data/lib/google/cloud/automl/v1/automl/client.rb +373 -373
  5. data/lib/google/cloud/automl/v1/automl/credentials.rb +1 -1
  6. data/lib/google/cloud/automl/v1/automl/operations.rb +100 -100
  7. data/lib/google/cloud/automl/v1/automl/paths.rb +16 -16
  8. data/lib/google/cloud/automl/v1/automl.rb +1 -1
  9. data/lib/google/cloud/automl/v1/prediction_service/client.rb +116 -120
  10. data/lib/google/cloud/automl/v1/prediction_service/credentials.rb +1 -1
  11. data/lib/google/cloud/automl/v1/prediction_service/operations.rb +100 -100
  12. data/lib/google/cloud/automl/v1/prediction_service/paths.rb +3 -3
  13. data/lib/google/cloud/automl/v1/prediction_service.rb +1 -1
  14. data/lib/google/cloud/automl/v1/prediction_service_services_pb.rb +30 -34
  15. data/lib/google/cloud/automl/v1/version.rb +1 -1
  16. data/lib/google/cloud/automl/v1.rb +1 -1
  17. data/proto_docs/google/api/resource.rb +12 -12
  18. data/proto_docs/google/cloud/automl/v1/annotation_payload.rb +10 -10
  19. data/proto_docs/google/cloud/automl/v1/annotation_spec.rb +5 -5
  20. data/proto_docs/google/cloud/automl/v1/classification.rb +37 -37
  21. data/proto_docs/google/cloud/automl/v1/data_items.rb +38 -38
  22. data/proto_docs/google/cloud/automl/v1/dataset.rb +19 -19
  23. data/proto_docs/google/cloud/automl/v1/detection.rb +20 -20
  24. data/proto_docs/google/cloud/automl/v1/geometry.rb +7 -7
  25. data/proto_docs/google/cloud/automl/v1/image.rb +38 -38
  26. data/proto_docs/google/cloud/automl/v1/io.rb +46 -46
  27. data/proto_docs/google/cloud/automl/v1/model.rb +20 -20
  28. data/proto_docs/google/cloud/automl/v1/model_evaluation.rb +15 -15
  29. data/proto_docs/google/cloud/automl/v1/operations.rb +49 -49
  30. data/proto_docs/google/cloud/automl/v1/prediction_service.rb +53 -53
  31. data/proto_docs/google/cloud/automl/v1/service.rb +115 -115
  32. data/proto_docs/google/cloud/automl/v1/text.rb +15 -15
  33. data/proto_docs/google/cloud/automl/v1/text_extraction.rb +14 -14
  34. data/proto_docs/google/cloud/automl/v1/text_segment.rb +5 -5
  35. data/proto_docs/google/cloud/automl/v1/text_sentiment.rb +14 -14
  36. data/proto_docs/google/cloud/automl/v1/translation.rb +16 -16
  37. data/proto_docs/google/longrunning/operations.rb +30 -30
  38. data/proto_docs/google/protobuf/any.rb +4 -4
  39. data/proto_docs/google/protobuf/duration.rb +4 -4
  40. data/proto_docs/google/protobuf/empty.rb +2 -2
  41. data/proto_docs/google/protobuf/field_mask.rb +3 -3
  42. data/proto_docs/google/protobuf/struct.rb +18 -18
  43. data/proto_docs/google/protobuf/timestamp.rb +4 -4
  44. data/proto_docs/google/rpc/status.rb +6 -6
  45. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16a4fd1ed996d2d44057737b0534c4ccf08fa837e6c7ea70326a67a7d9da33ed
4
- data.tar.gz: 7861c8565413774e0203847a6de508eaeb3536f80b2e4cbc1af0b56def00a027
3
+ metadata.gz: e0406243769230c9e7b96dabcc4a3d057b25b86ace341552a5577ae20446566d
4
+ data.tar.gz: acf6688b0a9c7937c293dbccaa5f9790ea83f8e1e93ddb0526758620e15162c7
5
5
  SHA512:
6
- metadata.gz: a1b12a188cf8e065b5f33ee49392c07135f7b5140e2a8b94099c6e34efcdbd8360d9d7e05d90e9cac0a168ec1b5395b69f2fb6c365a9811816744cd25fd7a95d
7
- data.tar.gz: 98469bc083ff8b472a5a74000a8a739e0b4f752756097f654e3d3cfbd4c112973c1d6ecccfe30ed3fce09fed46a4178a2bea0de98fc22a43deeca7a92064aeeb
6
+ metadata.gz: 3b4d01119f7760c2007e6a9649d058098d351d4cfe62c0ac5b5e52f3a6f0392a6aed3986b6355314e1a8cef18013303169873f3274bcbc0c2b671d68efabe9ec
7
+ data.tar.gz: 91cf508c511ad83782c3b7bf1d571126137e1eaaf88235933c2c80c8387b923f76c225d3412bfe024aa5d4a6bc04f4634dc627d485052bcf174425e6de360188
data/AUTHENTICATION.md CHANGED
@@ -27,7 +27,7 @@ export AUTOML_CREDENTIALS=path/to/keyfile.json
27
27
  ```ruby
28
28
  require "google/cloud/automl/v1"
29
29
 
30
- client = Google::Cloud::AutoML::V1::PredictionService::Client.new
30
+ client = ::Google::Cloud::AutoML::V1::PredictionService::Client.new
31
31
  ```
32
32
 
33
33
  ## Credential Lookup
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
64
64
 
65
65
  The environment variables that google-cloud-automl-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
- {Google::Cloud::AutoML::V1::PredictionService::Credentials}):
67
+ {::Google::Cloud::AutoML::V1::PredictionService::Credentials}):
68
68
 
69
69
  1. `AUTOML_CREDENTIALS` - Path to JSON file, or JSON contents
70
70
  2. `AUTOML_KEYFILE` - Path to JSON file, or JSON contents
@@ -77,7 +77,7 @@ require "google/cloud/automl/v1"
77
77
 
78
78
  ENV["AUTOML_CREDENTIALS"] = "path/to/keyfile.json"
79
79
 
80
- client = Google::Cloud::AutoML::V1::PredictionService::Client.new
80
+ client = ::Google::Cloud::AutoML::V1::PredictionService::Client.new
81
81
  ```
82
82
 
83
83
  ### Configuration
@@ -88,7 +88,7 @@ environment variables. Either on an individual client initialization:
88
88
  ```ruby
89
89
  require "google/cloud/automl/v1"
90
90
 
91
- client = Google::Cloud::AutoML::V1::PredictionService::Client.new do |config|
91
+ client = ::Google::Cloud::AutoML::V1::PredictionService::Client.new do |config|
92
92
  config.credentials = "path/to/keyfile.json"
93
93
  end
94
94
  ```
@@ -98,11 +98,11 @@ Or configured globally for all clients:
98
98
  ```ruby
99
99
  require "google/cloud/automl/v1"
100
100
 
101
- Google::Cloud::AutoML::V1::PredictionService::Client.configure do |config|
101
+ ::Google::Cloud::AutoML::V1::PredictionService::Client.configure do |config|
102
102
  config.credentials = "path/to/keyfile.json"
103
103
  end
104
104
 
105
- client = Google::Cloud::AutoML::V1::PredictionService::Client.new
105
+ client = ::Google::Cloud::AutoML::V1::PredictionService::Client.new
106
106
  ```
107
107
 
108
108
  ### Cloud SDK
data/README.md CHANGED
@@ -25,7 +25,7 @@ In order to use this library, you first need to go through the following steps:
25
25
  ```ruby
26
26
  require "google/cloud/automl/v1"
27
27
 
28
- client = Google::Cloud::AutoML::V1::PredictionService::Client.new
28
+ client = ::Google::Cloud::AutoML::V1::PredictionService::Client.new
29
29
  request = my_create_request
30
30
  response = client.predict request
31
31
  ```