google-cloud-datastream 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +4 -4
- data/lib/google/cloud/datastream/version.rb +1 -1
- data/lib/google/cloud/datastream.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 063d4f237f0425c49155d4886ec9831f91da216d7c9e3633a59520073d5959f5
|
4
|
+
data.tar.gz: dd0734e2b19d2a45f7fe0de4cd905cdd9c2597658aaceaea8cb9d467a1fd340f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28b579a80f93295b7d8c4649f4007d832da39124e5831edbad7c4059e4b80f9adf4989904bbb3e8065d81a7f34545def96d376ec5f8d0806795d0b94b7e6bc0e
|
7
|
+
data.tar.gz: a76c26277395266a6c29d6a1994569032fc9e0cae8e28a916b0cc6743859c1b89f5157b1a293a0a93f5f8d07caefc8faa5c7a2a2a30bae2a0e3e5917d76ab0c8
|
data/AUTHENTICATION.md
CHANGED
@@ -64,7 +64,7 @@ containers where writing files is difficult or not encouraged.
|
|
64
64
|
|
65
65
|
The environment variables that google-cloud-datastream
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
|
-
`::Google::Cloud::Datastream::
|
67
|
+
`::Google::Cloud::Datastream::V1::Datastream::Credentials`):
|
68
68
|
|
69
69
|
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
70
|
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
data/README.md
CHANGED
@@ -11,12 +11,12 @@ 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://
|
14
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-datastream/latest)
|
15
15
|
for this library, google-cloud-datastream, 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-datastream-
|
19
|
+
[google-cloud-datastream-v1](https://googleapis.dev/ruby/google-cloud-datastream-v1/latest).
|
20
20
|
|
21
21
|
See also the [Product Documentation](https://cloud.google.com/datastream/)
|
22
22
|
for more usage information.
|
@@ -76,7 +76,7 @@ about the Ruby support schedule.
|
|
76
76
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
77
77
|
client library with a name such as `google-cloud-datastream`,
|
78
78
|
and lower-level _versioned_ client libraries with names such as
|
79
|
-
`google-cloud-datastream-
|
79
|
+
`google-cloud-datastream-v1`.
|
80
80
|
_In most cases, you should install the main client._
|
81
81
|
|
82
82
|
### What's the difference between the main client and a versioned client?
|
@@ -114,7 +114,7 @@ You can use a versioned client if you are content with a possibly lower-level
|
|
114
114
|
class interface, you explicitly want to avoid features provided by the main
|
115
115
|
client, or you want to access a specific service version not be covered by the
|
116
116
|
main client. You can identify versioned client gems because the service version
|
117
|
-
is part of the name, e.g. `google-cloud-datastream-
|
117
|
+
is part of the name, e.g. `google-cloud-datastream-v1`.
|
118
118
|
|
119
119
|
### What about the google-apis-<name> clients?
|
120
120
|
|
@@ -48,8 +48,8 @@ module Google
|
|
48
48
|
# Create a new client object for Datastream.
|
49
49
|
#
|
50
50
|
# By default, this returns an instance of
|
51
|
-
# [Google::Cloud::Datastream::
|
52
|
-
# for version
|
51
|
+
# [Google::Cloud::Datastream::V1::Datastream::Client](https://googleapis.dev/ruby/google-cloud-datastream-v1/latest/Google/Cloud/Datastream/V1/Datastream/Client.html)
|
52
|
+
# for version V1 of the API.
|
53
53
|
# However, you can specify specify a different API version by passing it in the
|
54
54
|
# `version` parameter. If the Datastream service is
|
55
55
|
# supported by that API version, and the corresponding gem is available, the
|
@@ -60,10 +60,10 @@ module Google
|
|
60
60
|
# Datastream service
|
61
61
|
#
|
62
62
|
# @param version [::String, ::Symbol] The API version to connect to. Optional.
|
63
|
-
# Defaults to `:
|
63
|
+
# Defaults to `:v1`.
|
64
64
|
# @return [Datastream::Client] A client object for the specified version.
|
65
65
|
#
|
66
|
-
def self.datastream version: :
|
66
|
+
def self.datastream version: :v1, &block
|
67
67
|
require "google/cloud/datastream/#{version.to_s.downcase}"
|
68
68
|
|
69
69
|
package_name = Google::Cloud::Datastream
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-datastream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.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: 2022-
|
11
|
+
date: 2022-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: google-cloud-datastream-
|
28
|
+
name: google-cloud-datastream-v1
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
190
|
- !ruby/object:Gem::Version
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
|
-
rubygems_version: 3.3.
|
193
|
+
rubygems_version: 3.3.5
|
194
194
|
signing_key:
|
195
195
|
specification_version: 4
|
196
196
|
summary: API Client library for the Datastream API
|