google-cloud-vision 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c0d5e66ded11706f206bb4f73249f9256d0e204814e2c3f1e44c0b8b13cd965
4
- data.tar.gz: 38c8cc584eb6bdfc19aee577d87504da792f56643489529f10e81c055c616b5b
3
+ metadata.gz: 4b0635ffaedf7d1c84589940a4363f3243d1615d33e4c274fff86657f1f9f523
4
+ data.tar.gz: 1b3ad27f3e39d931786d9130e5bde7c37d97506487d8cc265f5a1c9dd1aee190
5
5
  SHA512:
6
- metadata.gz: 120a015ce7ceaa067b7ab0e760af94933a732238bff5fd8c971b2e3a71e98d9cc34e740a338b5a2710e280b089ac0e2b106c6a9e4a8becb054d05f0e54ee3beb
7
- data.tar.gz: 9d918a36a2264c3a4395ca563eb0668c0a087700d674254261d003dbb5917f10c56a063b479f0730bd477be18de2fcc244e5db804281c80af0e16e3effd687d5
6
+ metadata.gz: 7870014bbe1cd0a66da1717430e7c30bffb0a36194450f654e2eac36ddbdc76907bd8d4fc38a209e8a282ec0a73a5386c05c0b312d899762295fb87c638ab640
7
+ data.tar.gz: 69045936e3b804ccaae20ea7652dc44670f67c1a089fe2780b2dfe29359897dd7ab0c3a248188b919d8c2ca8e31d884fdb1095d2d93988f24efca4cf391e20fb
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Vision API
2
+ --title="Cloud Vision API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/MIGRATING.md CHANGED
@@ -285,7 +285,7 @@ methods are still present, but a few of the argument types have changed.
285
285
  ### Handling Errors
286
286
 
287
287
  The client reports standard
288
- {file:https://github.com/grpc/grpc/blob/master/doc/statuscodes.md gRPC error codes}
288
+ [gRPC error codes](https://github.com/grpc/grpc/blob/master/doc/statuscodes.md)
289
289
  by raising exceptions. In older releases, these exceptions were located in the
290
290
  `Google::Gax` namespace and were subclasses of the `Google::Gax::GaxError` base
291
291
  exception class, defined in the `google-gax` gem. However, these classes were
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Vision
23
- VERSION = "1.1.2"
23
+ VERSION = "1.1.3"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vision
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-12 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.2.17
214
+ rubygems_version: 3.3.4
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: API Client library for the Cloud Vision API