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