google-cloud-video-live_stream-v1 0.2.0 → 0.3.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: c8d45c11cb22727fac334c4ce14ee63344d584da5f9c086d0a1b3675c4c06e98
4
- data.tar.gz: bf76494ca24bf2b8b075c556e4658441a225c9f065c131c4aaf519bf7c51e53d
3
+ metadata.gz: 335800f66cbab8eb96937f2a2b30f67d98f1fb406524ed5aee96d0cad93af800
4
+ data.tar.gz: 8f6eb801f7b71a50f91c4aaf78cbe03d20b9f4a0bc876dd22699cc0d12e89042
5
5
  SHA512:
6
- metadata.gz: 547f1c4cb01ed5d7eccb0daf33dedfbbbf9f3981ee4807b51ecc9ff4f5d5bb90147535b8b4cfd65fbbab7a9d0039aa854fd2775b51297ad677b56aa6af5cd6e6
7
- data.tar.gz: 787e346868943c39decc492a257fd60452014430c0d04450618f295ce72acf559168337b0e6dc56e4eac3e449bd69074c536f482c4ffbb2ff7b5572b21059716
6
+ metadata.gz: 4dd076aedef42281c62bc714622aca73169e6dc6528fdd4776c63596467823d8db02afb1e9495b03f2466fbca386d8d8473a20c40847f43d843e1c86cede2048
7
+ data.tar.gz: 651ec92784c62a50a96df9d3a1ba7c9211911a061a3d7ebf3906173720edf86279f3c49def86167a76e535762d5424d76cf4cac50f90119f35bab8433d76d5f7
data/AUTHENTICATION.md CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
112
112
  To configure your system for this, simply:
113
113
 
114
114
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
115
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
115
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
116
116
  3. Write code as if already authenticated.
117
117
 
118
118
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -275,14 +275,14 @@ module Google
275
275
  # # Call the create_channel method.
276
276
  # result = client.create_channel request
277
277
  #
278
- # # The returned object is of type Gapic::Operation. You can use this
279
- # # object to check the status of an operation, cancel it, or wait
280
- # # for results. Here is how to block until completion:
278
+ # # The returned object is of type Gapic::Operation. You can use it to
279
+ # # check the status of an operation, cancel it, or wait for results.
280
+ # # Here is how to wait for a response.
281
281
  # result.wait_until_done! timeout: 60
282
282
  # if result.response?
283
283
  # p result.response
284
284
  # else
285
- # puts "Error!"
285
+ # puts "No response received."
286
286
  # end
287
287
  #
288
288
  def create_channel request, options = nil
@@ -382,13 +382,11 @@ module Google
382
382
  # # Call the list_channels method.
383
383
  # result = client.list_channels request
384
384
  #
385
- # # The returned object is of type Gapic::PagedEnumerable. You can
386
- # # iterate over all elements by calling #each, and the enumerable
387
- # # will lazily make API calls to fetch subsequent pages. Other
388
- # # methods are also available for managing paging directly.
389
- # result.each do |response|
385
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
386
+ # # over elements, and API calls will be issued to fetch pages as needed.
387
+ # result.each do |item|
390
388
  # # Each element is of type ::Google::Cloud::Video::LiveStream::V1::Channel.
391
- # p response
389
+ # p item
392
390
  # end
393
391
  #
394
392
  def list_channels request, options = nil
@@ -580,14 +578,14 @@ module Google
580
578
  # # Call the delete_channel method.
581
579
  # result = client.delete_channel request
582
580
  #
583
- # # The returned object is of type Gapic::Operation. You can use this
584
- # # object to check the status of an operation, cancel it, or wait
585
- # # for results. Here is how to block until completion:
581
+ # # The returned object is of type Gapic::Operation. You can use it to
582
+ # # check the status of an operation, cancel it, or wait for results.
583
+ # # Here is how to wait for a response.
586
584
  # result.wait_until_done! timeout: 60
587
585
  # if result.response?
588
586
  # p result.response
589
587
  # else
590
- # puts "Error!"
588
+ # puts "No response received."
591
589
  # end
592
590
  #
593
591
  def delete_channel request, options = nil
@@ -700,14 +698,14 @@ module Google
700
698
  # # Call the update_channel method.
701
699
  # result = client.update_channel request
702
700
  #
703
- # # The returned object is of type Gapic::Operation. You can use this
704
- # # object to check the status of an operation, cancel it, or wait
705
- # # for results. Here is how to block until completion:
701
+ # # The returned object is of type Gapic::Operation. You can use it to
702
+ # # check the status of an operation, cancel it, or wait for results.
703
+ # # Here is how to wait for a response.
706
704
  # result.wait_until_done! timeout: 60
707
705
  # if result.response?
708
706
  # p result.response
709
707
  # else
710
- # puts "Error!"
708
+ # puts "No response received."
711
709
  # end
712
710
  #
713
711
  def update_channel request, options = nil
@@ -809,14 +807,14 @@ module Google
809
807
  # # Call the start_channel method.
810
808
  # result = client.start_channel request
811
809
  #
812
- # # The returned object is of type Gapic::Operation. You can use this
813
- # # object to check the status of an operation, cancel it, or wait
814
- # # for results. Here is how to block until completion:
810
+ # # The returned object is of type Gapic::Operation. You can use it to
811
+ # # check the status of an operation, cancel it, or wait for results.
812
+ # # Here is how to wait for a response.
815
813
  # result.wait_until_done! timeout: 60
816
814
  # if result.response?
817
815
  # p result.response
818
816
  # else
819
- # puts "Error!"
817
+ # puts "No response received."
820
818
  # end
821
819
  #
822
820
  def start_channel request, options = nil
@@ -918,14 +916,14 @@ module Google
918
916
  # # Call the stop_channel method.
919
917
  # result = client.stop_channel request
920
918
  #
921
- # # The returned object is of type Gapic::Operation. You can use this
922
- # # object to check the status of an operation, cancel it, or wait
923
- # # for results. Here is how to block until completion:
919
+ # # The returned object is of type Gapic::Operation. You can use it to
920
+ # # check the status of an operation, cancel it, or wait for results.
921
+ # # Here is how to wait for a response.
924
922
  # result.wait_until_done! timeout: 60
925
923
  # if result.response?
926
924
  # p result.response
927
925
  # else
928
- # puts "Error!"
926
+ # puts "No response received."
929
927
  # end
930
928
  #
931
929
  def stop_channel request, options = nil
@@ -1032,14 +1030,14 @@ module Google
1032
1030
  # # Call the create_input method.
1033
1031
  # result = client.create_input request
1034
1032
  #
1035
- # # The returned object is of type Gapic::Operation. You can use this
1036
- # # object to check the status of an operation, cancel it, or wait
1037
- # # for results. Here is how to block until completion:
1033
+ # # The returned object is of type Gapic::Operation. You can use it to
1034
+ # # check the status of an operation, cancel it, or wait for results.
1035
+ # # Here is how to wait for a response.
1038
1036
  # result.wait_until_done! timeout: 60
1039
1037
  # if result.response?
1040
1038
  # p result.response
1041
1039
  # else
1042
- # puts "Error!"
1040
+ # puts "No response received."
1043
1041
  # end
1044
1042
  #
1045
1043
  def create_input request, options = nil
@@ -1139,13 +1137,11 @@ module Google
1139
1137
  # # Call the list_inputs method.
1140
1138
  # result = client.list_inputs request
1141
1139
  #
1142
- # # The returned object is of type Gapic::PagedEnumerable. You can
1143
- # # iterate over all elements by calling #each, and the enumerable
1144
- # # will lazily make API calls to fetch subsequent pages. Other
1145
- # # methods are also available for managing paging directly.
1146
- # result.each do |response|
1140
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1141
+ # # over elements, and API calls will be issued to fetch pages as needed.
1142
+ # result.each do |item|
1147
1143
  # # Each element is of type ::Google::Cloud::Video::LiveStream::V1::Input.
1148
- # p response
1144
+ # p item
1149
1145
  # end
1150
1146
  #
1151
1147
  def list_inputs request, options = nil
@@ -1332,14 +1328,14 @@ module Google
1332
1328
  # # Call the delete_input method.
1333
1329
  # result = client.delete_input request
1334
1330
  #
1335
- # # The returned object is of type Gapic::Operation. You can use this
1336
- # # object to check the status of an operation, cancel it, or wait
1337
- # # for results. Here is how to block until completion:
1331
+ # # The returned object is of type Gapic::Operation. You can use it to
1332
+ # # check the status of an operation, cancel it, or wait for results.
1333
+ # # Here is how to wait for a response.
1338
1334
  # result.wait_until_done! timeout: 60
1339
1335
  # if result.response?
1340
1336
  # p result.response
1341
1337
  # else
1342
- # puts "Error!"
1338
+ # puts "No response received."
1343
1339
  # end
1344
1340
  #
1345
1341
  def delete_input request, options = nil
@@ -1448,14 +1444,14 @@ module Google
1448
1444
  # # Call the update_input method.
1449
1445
  # result = client.update_input request
1450
1446
  #
1451
- # # The returned object is of type Gapic::Operation. You can use this
1452
- # # object to check the status of an operation, cancel it, or wait
1453
- # # for results. Here is how to block until completion:
1447
+ # # The returned object is of type Gapic::Operation. You can use it to
1448
+ # # check the status of an operation, cancel it, or wait for results.
1449
+ # # Here is how to wait for a response.
1454
1450
  # result.wait_until_done! timeout: 60
1455
1451
  # if result.response?
1456
1452
  # p result.response
1457
1453
  # else
1458
- # puts "Error!"
1454
+ # puts "No response received."
1459
1455
  # end
1460
1456
  #
1461
1457
  def update_input request, options = nil
@@ -1661,13 +1657,11 @@ module Google
1661
1657
  # # Call the list_events method.
1662
1658
  # result = client.list_events request
1663
1659
  #
1664
- # # The returned object is of type Gapic::PagedEnumerable. You can
1665
- # # iterate over all elements by calling #each, and the enumerable
1666
- # # will lazily make API calls to fetch subsequent pages. Other
1667
- # # methods are also available for managing paging directly.
1668
- # result.each do |response|
1660
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1661
+ # # over elements, and API calls will be issued to fetch pages as needed.
1662
+ # result.each do |item|
1669
1663
  # # Each element is of type ::Google::Cloud::Video::LiveStream::V1::Event.
1670
- # p response
1664
+ # p item
1671
1665
  # end
1672
1666
  #
1673
1667
  def list_events request, options = nil
@@ -159,13 +159,11 @@ module Google
159
159
  # # Call the list_operations method.
160
160
  # result = client.list_operations request
161
161
  #
162
- # # The returned object is of type Gapic::PagedEnumerable. You can
163
- # # iterate over all elements by calling #each, and the enumerable
164
- # # will lazily make API calls to fetch subsequent pages. Other
165
- # # methods are also available for managing paging directly.
166
- # result.each do |response|
162
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
163
+ # # over elements, and API calls will be issued to fetch pages as needed.
164
+ # result.each do |item|
167
165
  # # Each element is of type ::Google::Longrunning::Operation.
168
- # p response
166
+ # p item
169
167
  # end
170
168
  #
171
169
  def list_operations request, options = nil
@@ -254,14 +252,14 @@ module Google
254
252
  # # Call the get_operation method.
255
253
  # result = client.get_operation request
256
254
  #
257
- # # The returned object is of type Gapic::Operation. You can use this
258
- # # object to check the status of an operation, cancel it, or wait
259
- # # for results. Here is how to block until completion:
255
+ # # The returned object is of type Gapic::Operation. You can use it to
256
+ # # check the status of an operation, cancel it, or wait for results.
257
+ # # Here is how to wait for a response.
260
258
  # result.wait_until_done! timeout: 60
261
259
  # if result.response?
262
260
  # p result.response
263
261
  # else
264
- # puts "Error!"
262
+ # puts "No response received."
265
263
  # end
266
264
  #
267
265
  def get_operation request, options = nil
@@ -541,14 +539,14 @@ module Google
541
539
  # # Call the wait_operation method.
542
540
  # result = client.wait_operation request
543
541
  #
544
- # # The returned object is of type Gapic::Operation. You can use this
545
- # # object to check the status of an operation, cancel it, or wait
546
- # # for results. Here is how to block until completion:
542
+ # # The returned object is of type Gapic::Operation. You can use it to
543
+ # # check the status of an operation, cancel it, or wait for results.
544
+ # # Here is how to wait for a response.
547
545
  # result.wait_until_done! timeout: 60
548
546
  # if result.response?
549
547
  # p result.response
550
548
  # else
551
- # puts "Error!"
549
+ # puts "No response received."
552
550
  # end
553
551
  #
554
552
  def wait_operation request, options = nil