google-cloud-video_intelligence 3.0.2 → 3.0.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: a4ecddd57a62ca18c040e0927e0973bbcac47f596df92ba83d2ce41709a1fcde
4
- data.tar.gz: 64f5523302eb204ec5d1a2b4ab0f7d4e379e2167ec21e590aecf86ef2b828d59
3
+ metadata.gz: ab3a8aa27e1723cb6afee8240af97ca81a6d85952eea76c247ffbff080361a1e
4
+ data.tar.gz: 728f7f6b118ece643ab7f3f2665a6ee66fa151023d3cead56df14c540a6d0fd6
5
5
  SHA512:
6
- metadata.gz: 6f7ceff952ff0925c29670a4ba68844639cb7f1cde5f2dfe9bb6d9c3290d061cb6c0b9d26f89a2d69fb2afb380bfecd758b66501f995f6b8224e1fabc0d0edb9
7
- data.tar.gz: 140cb8dbfaa4cebee26fa10f8388768ea5288fc279853ab59ac10ee96a883be8e303813afcad802605901cf51529d7d7e698d8a6374ef006bb470230ca8f72b3
6
+ metadata.gz: e6de9be3be1c8e93b8d3e3fcaf6d02ad5aa15d70f09f234efaa9979e5315b592aced2b2336fde967e0194b5d57d98f0a4f041fbbd6652123799187de0ed3d4d9
7
+ data.tar.gz: 70b7533851b172c5865020706d2d4a80bce1a64dde9d2cf7624847eac411de22a8944b0348bb94a9287c57e8501110f386c42fe812e233039ab5937d3d3e3e95
data/README.md CHANGED
@@ -6,9 +6,10 @@ Detects objects, explicit content, and scene changes in videos. It also specifie
6
6
 
7
7
  Actual client classes for the various versions of this API are defined in
8
8
  _versioned_ client gems, with names of the form `google-cloud-video_intelligence-v*`.
9
- The gem `google-cloud-video_intelligence` is a convenience wrapper library that brings the
9
+ The gem `google-cloud-video_intelligence` is the main client library that brings the
10
10
  verisoned gems in as dependencies, and provides high-level methods for
11
- constructing clients.
11
+ constructing clients. More information on versioned clients can be found below
12
+ in the section titled *Which client should I use?*.
12
13
 
13
14
  View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-video_intelligence/latest)
14
15
  for this library, google-cloud-video_intelligence, to see the convenience methods for
@@ -80,3 +81,61 @@ in security maintenance, and not end of life. Currently, this means Ruby 2.4
80
81
  and later. Older versions of Ruby _may_ still work, but are unsupported and not
81
82
  recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
82
83
  about the Ruby support schedule.
84
+
85
+ ## Which client should I use?
86
+
87
+ Most modern Ruby client libraries for Google APIs come in two flavors: the main
88
+ client library with a name such as `google-cloud-video_intelligence`,
89
+ and lower-level _versioned_ client libraries with names such as
90
+ `google-cloud-video_intelligence-v1`.
91
+ _In most cases, you should install the main client._
92
+
93
+ ### What's the difference between the main client and a versioned client?
94
+
95
+ A _versioned client_ provides a basic set of data types and client classes for
96
+ a _single version_ of a specific service. (That is, for a service with multiple
97
+ versions, there might be a separate versioned client for each service version.)
98
+ Most versioned clients are written and maintained by a code generator.
99
+
100
+ The _main client_ is designed to provide you with the _recommended_ client
101
+ interfaces for the service. There will be only one main client for any given
102
+ service, even a service with multiple versions. The main client includes
103
+ factory methods for constructing the client objects we recommend for most
104
+ users. In some cases, those will be classes provided by an underlying versioned
105
+ client; in other cases, they will be handwritten higher-level client objects
106
+ with additional capabilities, convenience methods, or best practices built in.
107
+ Generally, the main client will default to a recommended service version,
108
+ although in some cases you can override this if you need to talk to a specific
109
+ service version.
110
+
111
+ ### Why would I want to use the main client?
112
+
113
+ We recommend that most users install the main client gem for a service. You can
114
+ identify this gem as the one _without_ a version in its name, e.g.
115
+ `google-cloud-video_intelligence`.
116
+ The main client is recommended because it will embody the best practices for
117
+ accessing the service, and may also provide more convenient interfaces or
118
+ tighter integration into frameworks and third-party libraries. In addition, the
119
+ documentation and samples published by Google will generally demonstrate use of
120
+ the main client.
121
+
122
+ ### Why would I want to use a versioned client?
123
+
124
+ You can use a versioned client if you are content with a possibly lower-level
125
+ class interface, you explicitly want to avoid features provided by the main
126
+ client, or you want to access a specific service version not be covered by the
127
+ main client. You can identify versioned client gems because the service version
128
+ is part of the name, e.g. `google-cloud-video_intelligence-v1`.
129
+
130
+ ### What about the google-apis-<name> clients?
131
+
132
+ Client library gems with names that begin with `google-apis-` are based on an
133
+ older code generation technology. They talk to a REST/JSON backend (whereas
134
+ most modern clients talk to a [gRPC](https://grpc.io/) backend) and they may
135
+ not offer the same performance, features, and ease of use provided by more
136
+ modern clients.
137
+
138
+ The `google-apis-` clients have wide coverage across Google services, so you
139
+ might need to use one if there is no modern client available for the service.
140
+ However, if a modern client is available, we generally recommend it over the
141
+ older `google-apis-` clients.
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module VideoIntelligence
23
- VERSION = "3.0.2"
23
+ VERSION = "3.0.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-video_intelligence
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.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-01-20 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-cloud-core