google-cloud-device_streaming 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ddf70cd75a8faf55b51c5d554eb9525a2397e33ca4f7cf77b7efa56ce9a8332
4
- data.tar.gz: e176b716535c4eba738c97fdf862922c3563ac577a0604e24ba270fcd64ce306
3
+ metadata.gz: 634fc3606b448e4a02c2ddc5763263287277c7a653a47cbf8d4594034d465a2a
4
+ data.tar.gz: 854327385c57dfdaf7595a7e3f412a0637fb9e56e7098b60f4edc09820a889e6
5
5
  SHA512:
6
- metadata.gz: 45ad53b2c2d304a186c0a47e67592e6e2862542ac7707c703dcc09e6e8a2d99da6af9e44b79ef4dac0730567a6bac1c45368b082ebd989db91d509c82956bb44
7
- data.tar.gz: 4977c55d71fd8c899c77e9b93c34cf43f0d34cb65c7cb0874e7ac3769f4109a6c4264bbe9afbb951726e273a45217871a0d9d619c9acbc2d14d4a153721d1f99
6
+ metadata.gz: fba8bbe1a45be74431d52717c795c67cf2d69031bec73e9ab24241d432cf68772aa094ac94115271c5250a3c4dfef6ddbc3bb46f0431b6d4266355bfd80f732b
7
+ data.tar.gz: f1431515580e01e0b5f14d9f5851cf0ef24e153ae35038c557e129aaaae5fe642b3b6645e50da2630ca0fb7d9220192d47f99b43ef32d625ed4d053a543fab17
data/README.md CHANGED
@@ -33,6 +33,14 @@ In order to use this library, you first need to go through the following steps:
33
33
  1. [Enable the API.](https://console.cloud.google.com/apis/library/devicestreaming.googleapis.com)
34
34
  1. {file:AUTHENTICATION.md Set up authentication.}
35
35
 
36
+ ```ruby
37
+ require "google/cloud/device_streaming"
38
+
39
+ client = Google::Cloud::DeviceStreaming.direct_access_service
40
+ request = ::Google::Cloud::DeviceStreaming::V1::CreateDeviceSessionRequest.new # (request fields as keyword arguments...)
41
+ response = client.create_device_session request
42
+ ```
43
+
36
44
  ## Debug Logging
37
45
 
38
46
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module DeviceStreaming
23
- VERSION = "0.1.0"
23
+ VERSION = "0.2.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-device_streaming
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -67,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: '3.0'
70
+ version: '3.2'
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="