google-cloud-video-live_stream-v1 0.3.0 → 0.4.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.
@@ -49,7 +49,8 @@ module Google
49
49
  # @!attribute [r] uri
50
50
  # @return [::String]
51
51
  # Output only. URI to push the input stream to.
52
- # Its format depends on the input {::Google::Cloud::Video::LiveStream::V1::Input#type type}, for example:
52
+ # Its format depends on the input
53
+ # {::Google::Cloud::Video::LiveStream::V1::Input#type type}, for example:
53
54
  #
54
55
  # * `RTMP_PUSH`: `rtmp://1.2.3.4/live/{STREAM-ID}`
55
56
  # * `SRT_PUSH`: `srt://1.2.3.4:4201?streamid={STREAM-ID}`
@@ -61,8 +62,8 @@ module Google
61
62
  # Security rule for access control.
62
63
  # @!attribute [r] input_stream_property
63
64
  # @return [::Google::Cloud::Video::LiveStream::V1::InputStreamProperty]
64
- # Output only. The information for the input stream. This field will be present only when
65
- # this input receives the input stream.
65
+ # Output only. The information for the input stream. This field will be
66
+ # present only when this input receives the input stream.
66
67
  class Input
67
68
  include ::Google::Protobuf::MessageExts
68
69
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -142,12 +143,15 @@ module Google
142
143
  # input can be selected as the input source at one time.
143
144
  # @!attribute [r] active_input
144
145
  # @return [::String]
145
- # Output only. The {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key InputAttachment.key} that serves as the current input source. The
146
- # first input in the {::Google::Cloud::Video::LiveStream::V1::Channel#input_attachments input_attachments} is the initial input source.
146
+ # Output only. The
147
+ # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key InputAttachment.key}
148
+ # that serves as the current input source. The first input in the
149
+ # {::Google::Cloud::Video::LiveStream::V1::Channel#input_attachments input_attachments}
150
+ # is the initial input source.
147
151
  # @!attribute [rw] output
148
152
  # @return [::Google::Cloud::Video::LiveStream::V1::Channel::Output]
149
- # Required. Information about the output (that is, the Cloud Storage bucket to store
150
- # the generated live stream).
153
+ # Required. Information about the output (that is, the Cloud Storage bucket
154
+ # to store the generated live stream).
151
155
  # @!attribute [rw] elementary_streams
152
156
  # @return [::Array<::Google::Cloud::Video::LiveStream::V1::ElementaryStream>]
153
157
  # List of elementary streams.
@@ -165,12 +169,26 @@ module Google
165
169
  # Output only. State of the streaming operation.
166
170
  # @!attribute [r] streaming_error
167
171
  # @return [::Google::Rpc::Status]
168
- # Output only. A description of the reason for the streaming error. This property is
169
- # always present when {::Google::Cloud::Video::LiveStream::V1::Channel#streaming_state streaming_state} is
172
+ # Output only. A description of the reason for the streaming error. This
173
+ # property is always present when
174
+ # {::Google::Cloud::Video::LiveStream::V1::Channel#streaming_state streaming_state}
175
+ # is
170
176
  # {::Google::Cloud::Video::LiveStream::V1::Channel::StreamingState::STREAMING_ERROR STREAMING_ERROR}.
171
177
  # @!attribute [rw] log_config
172
178
  # @return [::Google::Cloud::Video::LiveStream::V1::LogConfig]
173
179
  # Configuration of platform logs for this channel.
180
+ # @!attribute [rw] timecode_config
181
+ # @return [::Google::Cloud::Video::LiveStream::V1::TimecodeConfig]
182
+ # Configuration of timecode for this channel.
183
+ # @!attribute [rw] encryptions
184
+ # @return [::Array<::Google::Cloud::Video::LiveStream::V1::Encryption>]
185
+ # Encryption configurations for this channel. Each configuration has an ID
186
+ # which is referred to by each MuxStream to indicate which configuration is
187
+ # used for that output.
188
+ # @!attribute [rw] input_config
189
+ # @return [::Google::Cloud::Video::LiveStream::V1::InputConfig]
190
+ # The configuration for input sources defined in
191
+ # {::Google::Cloud::Video::LiveStream::V1::Channel#input_attachments input_attachments}.
174
192
  class Channel
175
193
  include ::Google::Protobuf::MessageExts
176
194
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -226,6 +244,35 @@ module Google
226
244
  end
227
245
  end
228
246
 
247
+ # Configuration for the input sources of a channel.
248
+ # @!attribute [rw] input_switch_mode
249
+ # @return [::Google::Cloud::Video::LiveStream::V1::InputConfig::InputSwitchMode]
250
+ # Input switch mode. Default mode is `FAILOVER_PREFER_PRIMARY`.
251
+ class InputConfig
252
+ include ::Google::Protobuf::MessageExts
253
+ extend ::Google::Protobuf::MessageExts::ClassMethods
254
+
255
+ # Input switch mode.
256
+ module InputSwitchMode
257
+ # The input switch mode is not specified.
258
+ INPUT_SWITCH_MODE_UNSPECIFIED = 0
259
+
260
+ # Automatic failover is enabled. The primary input stream is always
261
+ # preferred over its backup input streams configured using the
262
+ # {::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover AutomaticFailover}
263
+ # field.
264
+ FAILOVER_PREFER_PRIMARY = 1
265
+
266
+ # Automatic failover is disabled. You must use the
267
+ # {::Google::Cloud::Video::LiveStream::V1::Event#input_switch inputSwitch} event
268
+ # to switch the active input source for the channel to stream from. When
269
+ # this mode is chosen, the
270
+ # {::Google::Cloud::Video::LiveStream::V1::InputAttachment::AutomaticFailover AutomaticFailover}
271
+ # field is ignored.
272
+ MANUAL = 3
273
+ end
274
+ end
275
+
229
276
  # Configuration of platform logs.
230
277
  # See [Using and managing platform
231
278
  # logs](https://cloud.google.com/logging/docs/api/platform-logs#managing-logs)
@@ -357,8 +404,10 @@ module Google
357
404
  # Configurations to follow when automatic failover happens.
358
405
  # @!attribute [rw] input_keys
359
406
  # @return [::Array<::String>]
360
- # The {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key InputAttachment.key}s of inputs to failover to when this input is
361
- # disconnected. Currently, only up to one backup input is supported.
407
+ # The
408
+ # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key InputAttachment.key}s
409
+ # of inputs to failover to when this input is disconnected. Currently, only
410
+ # up to one backup input is supported.
362
411
  class AutomaticFailover
363
412
  include ::Google::Protobuf::MessageExts
364
413
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -380,19 +429,37 @@ module Google
380
429
  # @!attribute [rw] labels
381
430
  # @return [::Google::Protobuf::Map{::String => ::String}]
382
431
  # User-defined key/value metadata.
432
+ # @!attribute [rw] input_switch
433
+ # @return [::Google::Cloud::Video::LiveStream::V1::Event::InputSwitchTask]
434
+ # Required. Switches to another input stream.
383
435
  # @!attribute [rw] ad_break
384
436
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::AdBreakTask]
385
437
  # Required. Inserts a new ad opportunity.
438
+ # @!attribute [rw] return_to_program
439
+ # @return [::Google::Cloud::Video::LiveStream::V1::Event::ReturnToProgramTask]
440
+ # Required. Stops any running ad break.
441
+ # @!attribute [rw] mute
442
+ # @return [::Google::Cloud::Video::LiveStream::V1::Event::MuteTask]
443
+ # Required. Mutes the stream.
444
+ # @!attribute [rw] unmute
445
+ # @return [::Google::Cloud::Video::LiveStream::V1::Event::UnmuteTask]
446
+ # Required. Unmutes the stream.
386
447
  # @!attribute [rw] execute_now
387
448
  # @return [::Boolean]
388
449
  # When this field is set to true, the event will be executed at the earliest
389
- # time that the server can schedule the event and {::Google::Cloud::Video::LiveStream::V1::Event#execution_time execution_time} will be
390
- # populated with the time that the server actually schedules the event.
450
+ # time that the server can schedule the event and
451
+ # {::Google::Cloud::Video::LiveStream::V1::Event#execution_time execution_time}
452
+ # will be populated with the time that the server actually schedules the
453
+ # event.
391
454
  # @!attribute [rw] execution_time
392
455
  # @return [::Google::Protobuf::Timestamp]
393
- # The time when the event should be executed. When {::Google::Cloud::Video::LiveStream::V1::Event#execute_now execute_now} is set to
394
- # `true`, this field should not be set in `CreateEvent` request and will be
395
- # populated with the time that the server schedules the event.
456
+ # The time to execute the event. If you set
457
+ # {::Google::Cloud::Video::LiveStream::V1::Event#execute_now execute_now} to
458
+ # `true`, then do not set this field in the `CreateEvent` request. In
459
+ # this case, the server schedules the event and populates this field. If you
460
+ # set {::Google::Cloud::Video::LiveStream::V1::Event#execute_now execute_now} to
461
+ # `false`, then you must set this field to at least 10 seconds in the future
462
+ # or else the event can't be created.
396
463
  # @!attribute [r] state
397
464
  # @return [::Google::Cloud::Video::LiveStream::V1::Event::State]
398
465
  # Output only. The state of the event.
@@ -404,6 +471,17 @@ module Google
404
471
  include ::Google::Protobuf::MessageExts
405
472
  extend ::Google::Protobuf::MessageExts::ClassMethods
406
473
 
474
+ # Switches to another input stream. Automatic failover is then disabled.
475
+ # @!attribute [rw] input_key
476
+ # @return [::String]
477
+ # The
478
+ # {::Google::Cloud::Video::LiveStream::V1::InputAttachment#key InputAttachment.key}
479
+ # of the input to switch to.
480
+ class InputSwitchTask
481
+ include ::Google::Protobuf::MessageExts
482
+ extend ::Google::Protobuf::MessageExts::ClassMethods
483
+ end
484
+
407
485
  # Inserts a new ad opportunity.
408
486
  # @!attribute [rw] duration
409
487
  # @return [::Google::Protobuf::Duration]
@@ -413,6 +491,30 @@ module Google
413
491
  extend ::Google::Protobuf::MessageExts::ClassMethods
414
492
  end
415
493
 
494
+ # Stops any events which are currently running. This only applies to events
495
+ # with a duration.
496
+ class ReturnToProgramTask
497
+ include ::Google::Protobuf::MessageExts
498
+ extend ::Google::Protobuf::MessageExts::ClassMethods
499
+ end
500
+
501
+ # Mutes the stream.
502
+ # @!attribute [rw] duration
503
+ # @return [::Google::Protobuf::Duration]
504
+ # Duration for which the stream should be muted. If omitted, the stream
505
+ # will be muted until an UnmuteTask event is sent.
506
+ class MuteTask
507
+ include ::Google::Protobuf::MessageExts
508
+ extend ::Google::Protobuf::MessageExts::ClassMethods
509
+ end
510
+
511
+ # Unmutes the stream. The task will fail if the stream is not
512
+ # currently muted.
513
+ class UnmuteTask
514
+ include ::Google::Protobuf::MessageExts
515
+ extend ::Google::Protobuf::MessageExts::ClassMethods
516
+ end
517
+
416
518
  # @!attribute [rw] key
417
519
  # @return [::String]
418
520
  # @!attribute [rw] value
@@ -446,6 +548,106 @@ module Google
446
548
  STOPPED = 6
447
549
  end
448
550
  end
551
+
552
+ # Encryption settings.
553
+ # @!attribute [rw] id
554
+ # @return [::String]
555
+ # Required. Identifier for this set of encryption options.
556
+ # @!attribute [rw] secret_manager_key_source
557
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::SecretManagerSource]
558
+ # For keys stored in Google Secret Manager.
559
+ # @!attribute [rw] drm_systems
560
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::DrmSystems]
561
+ # Required. Configuration for DRM systems.
562
+ # @!attribute [rw] aes128
563
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Aes128Encryption]
564
+ # Configuration for HLS AES-128 encryption.
565
+ # @!attribute [rw] sample_aes
566
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::SampleAesEncryption]
567
+ # Configuration for HLS SAMPLE-AES encryption.
568
+ # @!attribute [rw] mpeg_cenc
569
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::MpegCommonEncryption]
570
+ # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
571
+ class Encryption
572
+ include ::Google::Protobuf::MessageExts
573
+ extend ::Google::Protobuf::MessageExts::ClassMethods
574
+
575
+ # Configuration for secrets stored in Google Secret Manager.
576
+ # @!attribute [rw] secret_version
577
+ # @return [::String]
578
+ # Required. The name of the Secret Version containing the encryption key.
579
+ # `projects/{project}/secrets/{secret_id}/versions/{version_number}`
580
+ class SecretManagerSource
581
+ include ::Google::Protobuf::MessageExts
582
+ extend ::Google::Protobuf::MessageExts::ClassMethods
583
+ end
584
+
585
+ # Widevine configuration.
586
+ class Widevine
587
+ include ::Google::Protobuf::MessageExts
588
+ extend ::Google::Protobuf::MessageExts::ClassMethods
589
+ end
590
+
591
+ # Fairplay configuration.
592
+ class Fairplay
593
+ include ::Google::Protobuf::MessageExts
594
+ extend ::Google::Protobuf::MessageExts::ClassMethods
595
+ end
596
+
597
+ # Playready configuration.
598
+ class Playready
599
+ include ::Google::Protobuf::MessageExts
600
+ extend ::Google::Protobuf::MessageExts::ClassMethods
601
+ end
602
+
603
+ # Clearkey configuration.
604
+ class Clearkey
605
+ include ::Google::Protobuf::MessageExts
606
+ extend ::Google::Protobuf::MessageExts::ClassMethods
607
+ end
608
+
609
+ # Defines configuration for DRM systems in use. If a field is omitted,
610
+ # that DRM system will be considered to be disabled.
611
+ # @!attribute [rw] widevine
612
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Widevine]
613
+ # Widevine configuration.
614
+ # @!attribute [rw] fairplay
615
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Fairplay]
616
+ # Fairplay configuration.
617
+ # @!attribute [rw] playready
618
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Playready]
619
+ # Playready configuration.
620
+ # @!attribute [rw] clearkey
621
+ # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Clearkey]
622
+ # Clearkey configuration.
623
+ class DrmSystems
624
+ include ::Google::Protobuf::MessageExts
625
+ extend ::Google::Protobuf::MessageExts::ClassMethods
626
+ end
627
+
628
+ # Configuration for HLS AES-128 encryption.
629
+ class Aes128Encryption
630
+ include ::Google::Protobuf::MessageExts
631
+ extend ::Google::Protobuf::MessageExts::ClassMethods
632
+ end
633
+
634
+ # Configuration for HLS SAMPLE-AES encryption.
635
+ class SampleAesEncryption
636
+ include ::Google::Protobuf::MessageExts
637
+ extend ::Google::Protobuf::MessageExts::ClassMethods
638
+ end
639
+
640
+ # Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
641
+ # @!attribute [rw] scheme
642
+ # @return [::String]
643
+ # Required. Specify the encryption scheme, supported schemes:
644
+ # - `cenc` - AES-CTR subsample
645
+ # - `cbcs`- AES-CBC subsample pattern
646
+ class MpegCommonEncryption
647
+ include ::Google::Protobuf::MessageExts
648
+ extend ::Google::Protobuf::MessageExts::ClassMethods
649
+ end
650
+ end
449
651
  end
450
652
  end
451
653
  end
@@ -65,8 +65,8 @@ module Google
65
65
  # The maximum number of items to return. If unspecified, server
66
66
  # will pick an appropriate default. Server may return fewer items than
67
67
  # requested. A caller should only rely on response's
68
- # {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token} to
69
- # determine if there are more items left to be queried.
68
+ # {::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse#next_page_token next_page_token}
69
+ # to determine if there are more items left to be queried.
70
70
  # @!attribute [rw] page_token
71
71
  # @return [::String]
72
72
  # The next_page_token value returned from a previous List request, if any.
@@ -146,14 +146,22 @@ module Google
146
146
  # resource by the update. You can only update the following fields:
147
147
  #
148
148
  # * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment)
149
+ # * [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig)
149
150
  # * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output)
150
- # * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream)
151
+ # * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream)
151
152
  # * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream)
152
- # * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest)
153
- # * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
153
+ # * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest)
154
+ # * [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet)
155
+ # * [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig)
156
+ # * [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig)
157
+ # * [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption)
154
158
  #
155
159
  # The fields specified in the update_mask are relative to the resource, not
156
160
  # the full request. A field will be overwritten if it is in the mask.
161
+ #
162
+ # If the mask is not present, then each field from the list above is updated
163
+ # if the field appears in the request payload. To unset a field, add the
164
+ # field to the update mask and remove it from the request payload.
157
165
  # @!attribute [rw] channel
158
166
  # @return [::Google::Cloud::Video::LiveStream::V1::Channel]
159
167
  # Required. The channel resource to be updated.
@@ -270,8 +278,8 @@ module Google
270
278
  # The maximum number of items to return. If unspecified, server
271
279
  # will pick an appropriate default. Server may return fewer items than
272
280
  # requested. A caller should only rely on response's
273
- # {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token} to
274
- # determine if there are more items left to be queried.
281
+ # {::Google::Cloud::Video::LiveStream::V1::ListInputsResponse#next_page_token next_page_token}
282
+ # to determine if there are more items left to be queried.
275
283
  # @!attribute [rw] page_token
276
284
  # @return [::String]
277
285
  # The next_page_token value returned from a previous List request, if any.
@@ -349,6 +357,10 @@ module Google
349
357
  #
350
358
  # The fields specified in the update_mask are relative to the resource, not
351
359
  # the full request. A field will be overwritten if it is in the mask.
360
+ #
361
+ # If the mask is not present, then each field from the list above is updated
362
+ # if the field appears in the request payload. To unset a field, add the
363
+ # field to the update mask and remove it from the request payload.
352
364
  # @!attribute [rw] input
353
365
  # @return [::Google::Cloud::Video::LiveStream::V1::Input]
354
366
  # Required. The input resource to be updated.
@@ -415,8 +427,8 @@ module Google
415
427
  # The maximum number of items to return. If unspecified, server
416
428
  # will pick an appropriate default. Server may return fewer items than
417
429
  # requested. A caller should only rely on response's
418
- # {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token} to
419
- # determine if there are more items left to be queried.
430
+ # {::Google::Cloud::Video::LiveStream::V1::ListEventsResponse#next_page_token next_page_token}
431
+ # to determine if there are more items left to be queried.
420
432
  # @!attribute [rw] page_token
421
433
  # @return [::String]
422
434
  # The next_page_token value returned from a previous List request, if any.
@@ -0,0 +1,99 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents civil time (or occasionally physical time).
23
+ #
24
+ # This type can represent a civil time in one of a few possible ways:
25
+ #
26
+ # * When utc_offset is set and time_zone is unset: a civil time on a calendar
27
+ # day with a particular offset from UTC.
28
+ # * When time_zone is set and utc_offset is unset: a civil time on a calendar
29
+ # day in a particular time zone.
30
+ # * When neither time_zone nor utc_offset is set: a civil time on a calendar
31
+ # day in local time.
32
+ #
33
+ # The date is relative to the Proleptic Gregorian Calendar.
34
+ #
35
+ # If year is 0, the DateTime is considered not to have a specific year. month
36
+ # and day must have valid, non-zero values.
37
+ #
38
+ # This type may also be used to represent a physical time if all the date and
39
+ # time fields are set and either case of the `time_offset` oneof is set.
40
+ # Consider using `Timestamp` message for physical time instead. If your use
41
+ # case also would like to store the user's timezone, that can be done in
42
+ # another field.
43
+ #
44
+ # This type is more flexible than some applications may want. Make sure to
45
+ # document and validate your application's limitations.
46
+ # @!attribute [rw] year
47
+ # @return [::Integer]
48
+ # Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
49
+ # datetime without a year.
50
+ # @!attribute [rw] month
51
+ # @return [::Integer]
52
+ # Required. Month of year. Must be from 1 to 12.
53
+ # @!attribute [rw] day
54
+ # @return [::Integer]
55
+ # Required. Day of month. Must be from 1 to 31 and valid for the year and
56
+ # month.
57
+ # @!attribute [rw] hours
58
+ # @return [::Integer]
59
+ # Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
60
+ # may choose to allow the value "24:00:00" for scenarios like business
61
+ # closing time.
62
+ # @!attribute [rw] minutes
63
+ # @return [::Integer]
64
+ # Required. Minutes of hour of day. Must be from 0 to 59.
65
+ # @!attribute [rw] seconds
66
+ # @return [::Integer]
67
+ # Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
68
+ # API may allow the value 60 if it allows leap-seconds.
69
+ # @!attribute [rw] nanos
70
+ # @return [::Integer]
71
+ # Required. Fractions of seconds in nanoseconds. Must be from 0 to
72
+ # 999,999,999.
73
+ # @!attribute [rw] utc_offset
74
+ # @return [::Google::Protobuf::Duration]
75
+ # UTC offset. Must be whole seconds, between -18 hours and +18 hours.
76
+ # For example, a UTC offset of -4:00 would be represented as
77
+ # { seconds: -14400 }.
78
+ # @!attribute [rw] time_zone
79
+ # @return [::Google::Type::TimeZone]
80
+ # Time zone.
81
+ class DateTime
82
+ include ::Google::Protobuf::MessageExts
83
+ extend ::Google::Protobuf::MessageExts::ClassMethods
84
+ end
85
+
86
+ # Represents a time zone from the
87
+ # [IANA Time Zone Database](https://www.iana.org/time-zones).
88
+ # @!attribute [rw] id
89
+ # @return [::String]
90
+ # IANA Time Zone Database time zone, e.g. "America/New_York".
91
+ # @!attribute [rw] version
92
+ # @return [::String]
93
+ # Optional. IANA Time Zone Database version number, e.g. "2019a".
94
+ class TimeZone
95
+ include ::Google::Protobuf::MessageExts
96
+ extend ::Google::Protobuf::MessageExts::ClassMethods
97
+ end
98
+ end
99
+ 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.3.0
4
+ version: 0.4.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,6 +44,26 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: google-cloud-location
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0.4'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.a
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0.4'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: 2.a
47
67
  - !ruby/object:Gem::Dependency
48
68
  name: google-style
49
69
  requirement: !ruby/object:Gem::Requirement
@@ -173,6 +193,7 @@ files:
173
193
  - README.md
174
194
  - lib/google-cloud-video-live_stream-v1.rb
175
195
  - lib/google/cloud/video/live_stream/v1.rb
196
+ - lib/google/cloud/video/live_stream/v1/bindings_override.rb
176
197
  - lib/google/cloud/video/live_stream/v1/livestream_service.rb
177
198
  - lib/google/cloud/video/live_stream/v1/livestream_service/client.rb
178
199
  - lib/google/cloud/video/live_stream/v1/livestream_service/credentials.rb
@@ -203,6 +224,7 @@ files:
203
224
  - proto_docs/google/protobuf/field_mask.rb
204
225
  - proto_docs/google/protobuf/timestamp.rb
205
226
  - proto_docs/google/rpc/status.rb
227
+ - proto_docs/google/type/datetime.rb
206
228
  homepage: https://github.com/googleapis/google-cloud-ruby
207
229
  licenses:
208
230
  - Apache-2.0