google-cloud-video_intelligence 3.1.1 → 3.2.0

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: 45efe356a12f39330b9c1959dce813fa1b5422485817ddba5ffff76af1c6e08b
4
- data.tar.gz: f572360bf2e2a085821d1e326a9d46f13bc97860c8199e0408b38d6cff008a9b
3
+ metadata.gz: fe4c81f3d8b3830a8f63df325c30f91debcedb181e663bee96c944470928a86d
4
+ data.tar.gz: c15e7745cada9c39c5229a22ffa317092ae5974d7fe85bace690516a498f9fe2
5
5
  SHA512:
6
- metadata.gz: e62fae5b360cc35b54ec407e591aab23c7254a54ff7a9f1a692336e46ab2bed71dd5e145566ed6d6d0734d2b9b015e956ad5a537e17ec26588e869049425f4b6
7
- data.tar.gz: adc9e6875d99403d858e0b33f5707f1290e9a234148289bd907774760a5c7111f39bd46e443a98a73618e5b9d694873c6e2096dbf2faf08a4f729521d200253e
6
+ metadata.gz: 5529fc7d01f00b9538141ddc2139eb44e5d83e1cc59c05f08ac545457c137050916a4410809abe3fc32d970e73b22996e0f1ff2f941d80aacbc43687b6944b4a
7
+ data.tar.gz: 2207f79dba2c5be910679159372fa0bda5dee35b25e31f836dafe6e31a1408661304cc76b53c141357e1eb6d3c603a1dde8665d2355e137eef19d79a12118ad6
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Cloud Video Intelligence API
2
+ --title="Cloud Video Intelligence API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -82,8 +82,8 @@ client = Google::Cloud::VideoIntelligence.video_intelligence_service
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/video_intelligence"
@@ -93,7 +93,7 @@ client = Google::Cloud::VideoIntelligence.video_intelligence_service do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/video_intelligence"
@@ -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
@@ -208,7 +208,7 @@ response = client.annotate_video(
208
208
  ### Handling Errors
209
209
 
210
210
  The client reports standard
211
- {file:https://github.com/grpc/grpc/blob/master/doc/statuscodes.md gRPC error codes}
211
+ [gRPC error codes](https://github.com/grpc/grpc/blob/master/doc/statuscodes.md)
212
212
  by raising exceptions. In older releases, these exceptions were located in the
213
213
  `Google::Gax` namespace and were subclasses of the `Google::Gax::GaxError` base
214
214
  exception class, defined in the `google-gax` gem. However, these classes were
data/README.md CHANGED
@@ -11,7 +11,7 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-video_intelligence/latest)
15
15
  for this library, google-cloud-video_intelligence, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
@@ -73,14 +73,14 @@ end
73
73
 
74
74
  ## Supported Ruby Versions
75
75
 
76
- This library is supported on Ruby 2.5+.
76
+ This library is supported on Ruby 2.6+.
77
77
 
78
78
  Google provides official support for Ruby versions that are actively supported
79
79
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
80
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
81
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
82
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
83
- about the Ruby support schedule.
80
+ in security maintenance, and not end of life. Older versions of Ruby _may_
81
+ still work, but are unsupported and not recommended. See
82
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
83
+ support schedule.
84
84
 
85
85
  ## Which client should I use?
86
86
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
- VERSION = "3.1.1"
23
+ VERSION = "3.2.0"
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-video_intelligence
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.2.0
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-06-30 00:00:00.000000000 Z
11
+ date: 2022-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core
@@ -110,28 +110,28 @@ dependencies:
110
110
  requirements:
111
111
  - - "~>"
112
112
  - !ruby/object:Gem::Version
113
- version: 1.25.1
113
+ version: 1.26.1
114
114
  type: :development
115
115
  prerelease: false
116
116
  version_requirements: !ruby/object:Gem::Requirement
117
117
  requirements:
118
118
  - - "~>"
119
119
  - !ruby/object:Gem::Version
120
- version: 1.25.1
120
+ version: 1.26.1
121
121
  - !ruby/object:Gem::Dependency
122
122
  name: minitest
123
123
  requirement: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - "~>"
126
126
  - !ruby/object:Gem::Version
127
- version: '5.14'
127
+ version: '5.16'
128
128
  type: :development
129
129
  prerelease: false
130
130
  version_requirements: !ruby/object:Gem::Requirement
131
131
  requirements:
132
132
  - - "~>"
133
133
  - !ruby/object:Gem::Version
134
- version: '5.14'
134
+ version: '5.16'
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: minitest-focus
137
137
  requirement: !ruby/object:Gem::Requirement
@@ -166,14 +166,14 @@ dependencies:
166
166
  requirements:
167
167
  - - ">="
168
168
  - !ruby/object:Gem::Version
169
- version: '12.0'
169
+ version: '13.0'
170
170
  type: :development
171
171
  prerelease: false
172
172
  version_requirements: !ruby/object:Gem::Requirement
173
173
  requirements:
174
174
  - - ">="
175
175
  - !ruby/object:Gem::Version
176
- version: '12.0'
176
+ version: '13.0'
177
177
  - !ruby/object:Gem::Dependency
178
178
  name: redcarpet
179
179
  requirement: !ruby/object:Gem::Requirement
@@ -244,14 +244,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
244
  requirements:
245
245
  - - ">="
246
246
  - !ruby/object:Gem::Version
247
- version: '2.5'
247
+ version: '2.6'
248
248
  required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  requirements:
250
250
  - - ">="
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.2.17
254
+ rubygems_version: 3.3.14
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: API Client library for the Cloud Video Intelligence API