google-cloud-datastream 0.1.0 → 1.1.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: 941c585437de002bc783612d31089dd1a3dbc246870bdb7f3e83158c1c35360e
4
- data.tar.gz: 635d10b8fb57d9f9b30a41320a4b791500fd34468ea3d061fac73b9dca73833a
3
+ metadata.gz: f0d4dfbf162cbd99eac831c1a6ab7b5c418d2b1ec68c3d0929ce83feebf46e23
4
+ data.tar.gz: 0ed0db34d730552b91c7b7bd56182eca39c851f3c0910013a99e51b18ba466b1
5
5
  SHA512:
6
- metadata.gz: 5fc991dc8db313bb061c085baf1960efe91d9e4333a56a4f39a3252af3476d40a368a295a14c8cf6dd2dcc74e117a8421a924e3c3863ffb52daede665d291b44
7
- data.tar.gz: e54ddb4265c46bec0e324813f21287bed64b00b57d9516eb75ea9fd0fadec80d295e1c060db3ebbe1bbf6131a2689a279f09d4f31e5ada599d25d79147fe7e08
6
+ metadata.gz: c41f5a1a1d870c25988f76cf6497c57d6435e332a698e9c17db6fbe185295f887571442f4a83d1ca8843a9678d6a2fd15f405220f4ed5d1e775887589b63ffcf
7
+ data.tar.gz: 0620ec0d886d6972c85f338d4633383f7b54be9047de13ca6ae9a7ed1876297c0277fa55faa03f39ff108418d988bc00f77c8c99526667ed8cbe652c803fd704
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Datastream API
2
+ --title="Datastream API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
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::V1alpha1::Datastream::Credentials`):
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
@@ -118,15 +118,6 @@ To configure your system for this, simply:
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
119
119
  *should* only be used during development.
120
120
 
121
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
122
- [dev-console]: https://console.cloud.google.com/project
123
-
124
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
125
-
126
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
127
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
128
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
129
-
130
121
  ## Creating a Service Account
131
122
 
132
123
  Google Cloud requires **Service Account Credentials** to
@@ -137,31 +128,22 @@ If you are not running this client within
137
128
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
138
129
  need a Google Developers service account.
139
130
 
140
- 1. Visit the [Google Developers Console][dev-console].
131
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
141
132
  2. Create a new project or click on an existing project.
142
- 3. Activate the slide-out navigation tray and select **API Manager**. From
133
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
143
134
  here, you will enable the APIs that your application requires.
144
135
 
145
- ![Enable the APIs that your application requires][enable-apis]
146
-
147
136
  *Note: You may need to enable billing in order to use these services.*
148
137
 
149
138
  4. Select **Credentials** from the side navigation.
150
139
 
151
- You should see a screen like one of the following.
152
-
153
- ![Create a new service account][create-new-service-account]
154
-
155
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
156
-
157
- Find the "Add credentials" drop down and select "Service account" to be
158
- guided through downloading a new JSON key file.
140
+ Find the "Create credentials" drop down near the top of the page, and select
141
+ "Service account" to be guided through downloading a new JSON key file.
159
142
 
160
143
  If you want to re-use an existing service account, you can easily generate a
161
- new key file. Just select the account you wish to re-use, and click "Generate
162
- new JSON key":
163
-
164
- ![Re-use an existing service account][reuse-service-account]
144
+ new key file. Just select the account you wish to re-use, click the pencil
145
+ tool on the right side to edit the service account, select the **Keys** tab,
146
+ and then select **Add Key**.
165
147
 
166
148
  The key file you download will be used by this library to authenticate API
167
149
  requests and should be stored in a secure location.
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://googleapis.dev/ruby/google-cloud-datastream/latest)
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-v1alpha1](https://googleapis.dev/ruby/google-cloud-datastream-v1alpha1/latest).
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.
@@ -62,21 +62,21 @@ end
62
62
 
63
63
  ## Supported Ruby Versions
64
64
 
65
- This library is supported on Ruby 2.5+.
65
+ This library is supported on Ruby 2.6+.
66
66
 
67
67
  Google provides official support for Ruby versions that are actively supported
68
68
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
69
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
70
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
71
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
72
- about the Ruby support schedule.
69
+ in security maintenance, and not end of life. Older versions of Ruby _may_
70
+ still work, but are unsupported and not recommended. See
71
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
72
+ support schedule.
73
73
 
74
74
  ## Which client should I use?
75
75
 
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-v1alpha1`.
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-v1alpha1`.
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
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Datastream
23
- VERSION = "0.1.0"
23
+ VERSION = "1.1.0"
24
24
  end
25
25
  end
26
26
  end
@@ -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::V1alpha1::Datastream::Client](https://googleapis.dev/ruby/google-cloud-datastream-v1alpha1/latest/Google/Cloud/Datastream/V1alpha1/Datastream/Client.html)
52
- # for version V1alpha1 of the API.
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 `:v1alpha1`.
63
+ # Defaults to `:v1`.
64
64
  # @return [Datastream::Client] A client object for the specified version.
65
65
  #
66
- def self.datastream version: :v1alpha1, &block
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.1.0
4
+ version: 1.1.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-09-01 00:00:00.000000000 Z
11
+ date: 2022-07-02 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-v1alpha1
28
+ name: google-cloud-datastream-v1
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 1.25.1
53
+ version: 1.26.1
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 1.25.1
60
+ version: 1.26.1
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: minitest
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '5.14'
67
+ version: '5.16'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '5.14'
74
+ version: '5.16'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest-focus
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: '12.0'
109
+ version: '13.0'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: '12.0'
116
+ version: '13.0'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: redcarpet
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -183,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
- version: '2.5'
186
+ version: '2.6'
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
191
  version: '0'
192
192
  requirements: []
193
- rubygems_version: 3.2.17
193
+ rubygems_version: 3.3.14
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: API Client library for the Datastream API