google-cloud-parallelstore 1.1.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/google/cloud/parallelstore/version.rb +1 -1
- data/lib/google/cloud/parallelstore.rb +6 -6
- metadata +8 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4267c02dbd22513d8a687caa5d5f31af52279b322027b86fc72a5b12ee3b1ba4
|
4
|
+
data.tar.gz: b5f7530d67f4edc3bfddaa23cd9a66d50ddd844620b6834f96d20c01ed1c40de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e55d3f4347527f640638b26bfc5ca3a3cd2afcd40b802e1e2faa0e9ece13a1549617606f503f43e2bfbdb40687b70192e35e045d6e096023477ae81f6fddc2a
|
7
|
+
data.tar.gz: a663a9bbf0714146f505ce6dec2ffbb9e53e334fffc5af433c605a4a5617581f54b202dee7886e21d8395ad17745f89d90fd1189bad6e86f16e67b809997989e
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ google-cloud-parallelstore is the official client library for the Parallelstore
|
|
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-parallelstore-v*`.
|
9
9
|
The gem `google-cloud-parallelstore` is the main client library that brings the
|
10
|
-
|
10
|
+
versioned 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
|
|
@@ -16,7 +16,7 @@ for this library, google-cloud-parallelstore, 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
|
18
18
|
client gems:
|
19
|
-
[google-cloud-parallelstore-
|
19
|
+
[google-cloud-parallelstore-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest).
|
20
20
|
|
21
21
|
See also the [Product Documentation](https://cloud.google.com/parallelstore?hl=en)
|
22
22
|
for more usage information.
|
@@ -62,7 +62,7 @@ results in logs appearing alongside your application logs in the
|
|
62
62
|
Debug logging also requires that the versioned clients for this service be
|
63
63
|
sufficiently recent, released after about Dec 10, 2024. If logging is not
|
64
64
|
working, try updating the versioned clients in your bundle or installed gems:
|
65
|
-
[google-cloud-parallelstore-
|
65
|
+
[google-cloud-parallelstore-v1](https://cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest).
|
66
66
|
|
67
67
|
## Supported Ruby Versions
|
68
68
|
|
@@ -80,7 +80,7 @@ support schedule.
|
|
80
80
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
81
81
|
client library with a name such as `google-cloud-parallelstore`,
|
82
82
|
and lower-level _versioned_ client libraries with names such as
|
83
|
-
`google-cloud-parallelstore-
|
83
|
+
`google-cloud-parallelstore-v1`.
|
84
84
|
_In most cases, you should install the main client._
|
85
85
|
|
86
86
|
### What's the difference between the main client and a versioned client?
|
@@ -118,7 +118,7 @@ You can use a versioned client if you are content with a possibly lower-level
|
|
118
118
|
class interface, you explicitly want to avoid features provided by the main
|
119
119
|
client, or you want to access a specific service version not be covered by the
|
120
120
|
main client. You can identify versioned client gems because the service version
|
121
|
-
is part of the name, e.g. `google-cloud-parallelstore-
|
121
|
+
is part of the name, e.g. `google-cloud-parallelstore-v1`.
|
122
122
|
|
123
123
|
### What about the google-apis-<name> clients?
|
124
124
|
|
@@ -49,8 +49,8 @@ module Google
|
|
49
49
|
# Create a new client object for Parallelstore.
|
50
50
|
#
|
51
51
|
# By default, this returns an instance of
|
52
|
-
# [Google::Cloud::Parallelstore::
|
53
|
-
# for a gRPC client for version
|
52
|
+
# [Google::Cloud::Parallelstore::V1::Parallelstore::Client](https://cloud.google.com/ruby/docs/reference/google-cloud-parallelstore-v1/latest/Google-Cloud-Parallelstore-V1-Parallelstore-Client)
|
53
|
+
# for a gRPC client for version V1 of the API.
|
54
54
|
# However, you can specify a different API version by passing it in the
|
55
55
|
# `version` parameter. If the Parallelstore service is
|
56
56
|
# supported by that API version, and the corresponding gem is available, the
|
@@ -82,11 +82,11 @@ module Google
|
|
82
82
|
# * `projects/12345/locations/us-central1-c/instances/my-parallelstore-share`
|
83
83
|
#
|
84
84
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
85
|
-
# Defaults to `:
|
85
|
+
# Defaults to `:v1`.
|
86
86
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
87
87
|
# @return [::Object] A client object for the specified version.
|
88
88
|
#
|
89
|
-
def self.parallelstore version: :
|
89
|
+
def self.parallelstore version: :v1, transport: :grpc, &block
|
90
90
|
require "google/cloud/parallelstore/#{version.to_s.downcase}"
|
91
91
|
|
92
92
|
package_name = Google::Cloud::Parallelstore
|
@@ -106,11 +106,11 @@ module Google
|
|
106
106
|
# or if the versioned client gem needs an update to support the Parallelstore service.
|
107
107
|
#
|
108
108
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
109
|
-
# Defaults to `:
|
109
|
+
# Defaults to `:v1`.
|
110
110
|
# @param transport [:grpc, :rest] The transport to use. Defaults to `:grpc`.
|
111
111
|
# @return [boolean] Whether the service is available.
|
112
112
|
#
|
113
|
-
def self.parallelstore_available? version: :
|
113
|
+
def self.parallelstore_available? version: :v1, transport: :grpc
|
114
114
|
require "google/cloud/parallelstore/#{version.to_s.downcase}"
|
115
115
|
package_name = Google::Cloud::Parallelstore
|
116
116
|
.constants
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-parallelstore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-cloud-core
|
@@ -24,25 +24,19 @@ dependencies:
|
|
24
24
|
- !ruby/object:Gem::Version
|
25
25
|
version: '1.6'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
|
-
name: google-cloud-parallelstore-
|
27
|
+
name: google-cloud-parallelstore-v1
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - "
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0.0'
|
33
|
-
- - "<"
|
30
|
+
- - "~>"
|
34
31
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
32
|
+
version: '1.0'
|
36
33
|
type: :runtime
|
37
34
|
prerelease: false
|
38
35
|
version_requirements: !ruby/object:Gem::Requirement
|
39
36
|
requirements:
|
40
|
-
- - "
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0.0'
|
43
|
-
- - "<"
|
37
|
+
- - "~>"
|
44
38
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
39
|
+
version: '1.0'
|
46
40
|
description: google-cloud-parallelstore is the official client library for the Parallelstore
|
47
41
|
API.
|
48
42
|
email: googleapis-packages@google.com
|
@@ -75,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
69
|
- !ruby/object:Gem::Version
|
76
70
|
version: '0'
|
77
71
|
requirements: []
|
78
|
-
rubygems_version: 3.6.
|
72
|
+
rubygems_version: 3.6.8
|
79
73
|
specification_version: 4
|
80
74
|
summary: API Client library for the Parallelstore API
|
81
75
|
test_files: []
|