google-cloud-video-live_stream-v1 0.5.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eb3f6afc12939ced53c48282ba302e9d998ea3d3d9fda5c9f2d3a8da89a42e8
4
- data.tar.gz: 6d49d9b358eeb54db9e21b8f4af27660719a57d1b6485e59364fd33cc6f969e5
3
+ metadata.gz: 2f544b436f624d35687bb25cbc29acde814010c0deb1e7394a9931e40265110c
4
+ data.tar.gz: 4285859c816e3b7eda25816bc710ee6df3bbbc5d71ea2b4f398183e2b2f04431
5
5
  SHA512:
6
- metadata.gz: e52a0ecdc3d4fc16d47008d0090a059a92740c54d1f8c782360d1f1cdee6118e57bcf520a8983451cddef7feb8b1919d83f50575e4dc566c6a69bb4a8959efac
7
- data.tar.gz: 91155587d631a7e7fab68a8c90d0bb3df22e8d73f4031ff336a39eef402bce110ea3d790668f05baa048e1955fb0fb82fd1213180635df78f3dd3f80a0cc0c48
6
+ metadata.gz: fc004711b39057a542515621925d96c957b1d648b784e1da43dcb05e06d702785da72856e2f26e04e8cc3caaf3701a0f9da407f3532c5d2d0e53f373bb3f7038
7
+ data.tar.gz: e533d52101422759c0e756c0deaef5d65e6285990e63bcb250618ab278c998288015fa30a11db8e110bd8710f72095cc9385777b44ed9127f74b64859b3d6ab6
@@ -179,7 +179,7 @@ module Google
179
179
  credentials = @config.credentials
180
180
  # Use self-signed JWT if the endpoint is unchanged from default,
181
181
  # but only if the default endpoint does not have a region prefix.
182
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
182
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
183
183
  !@config.endpoint.split(".").first.include?("-")
184
184
  credentials ||= Credentials.default scope: @config.scope,
185
185
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -2000,7 +2000,9 @@ module Google
2000
2000
  class Configuration
2001
2001
  extend ::Gapic::Config
2002
2002
 
2003
- config_attr :endpoint, "livestream.googleapis.com", ::String
2003
+ DEFAULT_ENDPOINT = "livestream.googleapis.com"
2004
+
2005
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
2004
2006
  config_attr :credentials, nil do |value|
2005
2007
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2006
2008
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -665,7 +665,9 @@ module Google
665
665
  class Configuration
666
666
  extend ::Gapic::Config
667
667
 
668
- config_attr :endpoint, "livestream.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "livestream.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
669
671
  config_attr :credentials, nil do |value|
670
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
671
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -175,7 +175,7 @@ module Google
175
175
  credentials = @config.credentials
176
176
  # Use self-signed JWT if the endpoint is unchanged from default,
177
177
  # but only if the default endpoint does not have a region prefix.
178
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
178
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
179
179
  !@config.endpoint.split(".").first.include?("-")
180
180
  credentials ||= Credentials.default scope: @config.scope,
181
181
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1544,7 +1544,9 @@ module Google
1544
1544
  class Configuration
1545
1545
  extend ::Gapic::Config
1546
1546
 
1547
- config_attr :endpoint, "livestream.googleapis.com", ::String
1547
+ DEFAULT_ENDPOINT = "livestream.googleapis.com"
1548
+
1549
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1548
1550
  config_attr :credentials, nil do |value|
1549
1551
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1550
1552
  allowed.any? { |klass| klass === value }
@@ -447,7 +447,9 @@ module Google
447
447
  class Configuration
448
448
  extend ::Gapic::Config
449
449
 
450
- config_attr :endpoint, "livestream.googleapis.com", ::String
450
+ DEFAULT_ENDPOINT = "livestream.googleapis.com"
451
+
452
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
451
453
  config_attr :credentials, nil do |value|
452
454
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
453
455
  allowed.any? { |klass| klass === value }
@@ -568,7 +570,7 @@ module Google
568
570
 
569
571
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
570
572
  query_string_params = if query_string_params.any?
571
- query_string_params.to_h { |p| p.split("=", 2) }
573
+ query_string_params.to_h { |p| p.split "=", 2 }
572
574
  else
573
575
  {}
574
576
  end
@@ -606,7 +608,7 @@ module Google
606
608
 
607
609
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
608
610
  query_string_params = if query_string_params.any?
609
- query_string_params.to_h { |p| p.split("=", 2) }
611
+ query_string_params.to_h { |p| p.split "=", 2 }
610
612
  else
611
613
  {}
612
614
  end
@@ -644,7 +646,7 @@ module Google
644
646
 
645
647
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
646
648
  query_string_params = if query_string_params.any?
647
- query_string_params.to_h { |p| p.split("=", 2) }
649
+ query_string_params.to_h { |p| p.split "=", 2 }
648
650
  else
649
651
  {}
650
652
  end
@@ -682,7 +684,7 @@ module Google
682
684
 
683
685
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
684
686
  query_string_params = if query_string_params.any?
685
- query_string_params.to_h { |p| p.split("=", 2) }
687
+ query_string_params.to_h { |p| p.split "=", 2 }
686
688
  else
687
689
  {}
688
690
  end
@@ -60,7 +60,7 @@ module Google
60
60
 
61
61
  verb, uri, query_string_params, body = ServiceStub.transcode_create_channel_request request_pb
62
62
  query_string_params = if query_string_params.any?
63
- query_string_params.to_h { |p| p.split("=", 2) }
63
+ query_string_params.to_h { |p| p.split "=", 2 }
64
64
  else
65
65
  {}
66
66
  end
@@ -98,7 +98,7 @@ module Google
98
98
 
99
99
  verb, uri, query_string_params, body = ServiceStub.transcode_list_channels_request request_pb
100
100
  query_string_params = if query_string_params.any?
101
- query_string_params.to_h { |p| p.split("=", 2) }
101
+ query_string_params.to_h { |p| p.split "=", 2 }
102
102
  else
103
103
  {}
104
104
  end
@@ -136,7 +136,7 @@ module Google
136
136
 
137
137
  verb, uri, query_string_params, body = ServiceStub.transcode_get_channel_request request_pb
138
138
  query_string_params = if query_string_params.any?
139
- query_string_params.to_h { |p| p.split("=", 2) }
139
+ query_string_params.to_h { |p| p.split "=", 2 }
140
140
  else
141
141
  {}
142
142
  end
@@ -174,7 +174,7 @@ module Google
174
174
 
175
175
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_channel_request request_pb
176
176
  query_string_params = if query_string_params.any?
177
- query_string_params.to_h { |p| p.split("=", 2) }
177
+ query_string_params.to_h { |p| p.split "=", 2 }
178
178
  else
179
179
  {}
180
180
  end
@@ -212,7 +212,7 @@ module Google
212
212
 
213
213
  verb, uri, query_string_params, body = ServiceStub.transcode_update_channel_request request_pb
214
214
  query_string_params = if query_string_params.any?
215
- query_string_params.to_h { |p| p.split("=", 2) }
215
+ query_string_params.to_h { |p| p.split "=", 2 }
216
216
  else
217
217
  {}
218
218
  end
@@ -250,7 +250,7 @@ module Google
250
250
 
251
251
  verb, uri, query_string_params, body = ServiceStub.transcode_start_channel_request request_pb
252
252
  query_string_params = if query_string_params.any?
253
- query_string_params.to_h { |p| p.split("=", 2) }
253
+ query_string_params.to_h { |p| p.split "=", 2 }
254
254
  else
255
255
  {}
256
256
  end
@@ -288,7 +288,7 @@ module Google
288
288
 
289
289
  verb, uri, query_string_params, body = ServiceStub.transcode_stop_channel_request request_pb
290
290
  query_string_params = if query_string_params.any?
291
- query_string_params.to_h { |p| p.split("=", 2) }
291
+ query_string_params.to_h { |p| p.split "=", 2 }
292
292
  else
293
293
  {}
294
294
  end
@@ -326,7 +326,7 @@ module Google
326
326
 
327
327
  verb, uri, query_string_params, body = ServiceStub.transcode_create_input_request request_pb
328
328
  query_string_params = if query_string_params.any?
329
- query_string_params.to_h { |p| p.split("=", 2) }
329
+ query_string_params.to_h { |p| p.split "=", 2 }
330
330
  else
331
331
  {}
332
332
  end
@@ -364,7 +364,7 @@ module Google
364
364
 
365
365
  verb, uri, query_string_params, body = ServiceStub.transcode_list_inputs_request request_pb
366
366
  query_string_params = if query_string_params.any?
367
- query_string_params.to_h { |p| p.split("=", 2) }
367
+ query_string_params.to_h { |p| p.split "=", 2 }
368
368
  else
369
369
  {}
370
370
  end
@@ -402,7 +402,7 @@ module Google
402
402
 
403
403
  verb, uri, query_string_params, body = ServiceStub.transcode_get_input_request request_pb
404
404
  query_string_params = if query_string_params.any?
405
- query_string_params.to_h { |p| p.split("=", 2) }
405
+ query_string_params.to_h { |p| p.split "=", 2 }
406
406
  else
407
407
  {}
408
408
  end
@@ -440,7 +440,7 @@ module Google
440
440
 
441
441
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_input_request request_pb
442
442
  query_string_params = if query_string_params.any?
443
- query_string_params.to_h { |p| p.split("=", 2) }
443
+ query_string_params.to_h { |p| p.split "=", 2 }
444
444
  else
445
445
  {}
446
446
  end
@@ -478,7 +478,7 @@ module Google
478
478
 
479
479
  verb, uri, query_string_params, body = ServiceStub.transcode_update_input_request request_pb
480
480
  query_string_params = if query_string_params.any?
481
- query_string_params.to_h { |p| p.split("=", 2) }
481
+ query_string_params.to_h { |p| p.split "=", 2 }
482
482
  else
483
483
  {}
484
484
  end
@@ -516,7 +516,7 @@ module Google
516
516
 
517
517
  verb, uri, query_string_params, body = ServiceStub.transcode_create_event_request request_pb
518
518
  query_string_params = if query_string_params.any?
519
- query_string_params.to_h { |p| p.split("=", 2) }
519
+ query_string_params.to_h { |p| p.split "=", 2 }
520
520
  else
521
521
  {}
522
522
  end
@@ -554,7 +554,7 @@ module Google
554
554
 
555
555
  verb, uri, query_string_params, body = ServiceStub.transcode_list_events_request request_pb
556
556
  query_string_params = if query_string_params.any?
557
- query_string_params.to_h { |p| p.split("=", 2) }
557
+ query_string_params.to_h { |p| p.split "=", 2 }
558
558
  else
559
559
  {}
560
560
  end
@@ -592,7 +592,7 @@ module Google
592
592
 
593
593
  verb, uri, query_string_params, body = ServiceStub.transcode_get_event_request request_pb
594
594
  query_string_params = if query_string_params.any?
595
- query_string_params.to_h { |p| p.split("=", 2) }
595
+ query_string_params.to_h { |p| p.split "=", 2 }
596
596
  else
597
597
  {}
598
598
  end
@@ -630,7 +630,7 @@ module Google
630
630
 
631
631
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_event_request request_pb
632
632
  query_string_params = if query_string_params.any?
633
- query_string_params.to_h { |p| p.split("=", 2) }
633
+ query_string_params.to_h { |p| p.split "=", 2 }
634
634
  else
635
635
  {}
636
636
  end
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module LiveStream
24
24
  module V1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.5.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-video-live_stream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.19.0
19
+ version: 0.19.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.19.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a