google-cloud-video-live_stream-v1 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,88 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 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 Api
22
+ # Rich semantic information of an API field beyond basic typing.
23
+ # @!attribute [rw] format
24
+ # @return [::Google::Api::FieldInfo::Format]
25
+ # The standard format of a field value. This does not explicitly configure
26
+ # any API consumer, just documents the API's format for the field it is
27
+ # applied to.
28
+ # @!attribute [rw] referenced_types
29
+ # @return [::Array<::Google::Api::TypeReference>]
30
+ # The type(s) that the annotated, generic field may represent.
31
+ #
32
+ # Currently, this must only be used on fields of type `google.protobuf.Any`.
33
+ # Supporting other generic types may be considered in the future.
34
+ class FieldInfo
35
+ include ::Google::Protobuf::MessageExts
36
+ extend ::Google::Protobuf::MessageExts::ClassMethods
37
+
38
+ # The standard format of a field value. The supported formats are all backed
39
+ # by either an RFC defined by the IETF or a Google-defined AIP.
40
+ module Format
41
+ # Default, unspecified value.
42
+ FORMAT_UNSPECIFIED = 0
43
+
44
+ # Universally Unique Identifier, version 4, value as defined by
45
+ # https://datatracker.ietf.org/doc/html/rfc4122. The value may be
46
+ # normalized to entirely lowercase letters. For example, the value
47
+ # `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
48
+ # `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
49
+ UUID4 = 1
50
+
51
+ # Internet Protocol v4 value as defined by [RFC
52
+ # 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
53
+ # condensed, with leading zeros in each octet stripped. For example,
54
+ # `001.022.233.040` would be condensed to `1.22.233.40`.
55
+ IPV4 = 2
56
+
57
+ # Internet Protocol v6 value as defined by [RFC
58
+ # 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
59
+ # normalized to entirely lowercase letters with zeros compressed, following
60
+ # [RFC 5952](https://datatracker.ietf.org/doc/html/rfc5952). For example,
61
+ # the value `2001:0DB8:0::0` would be normalized to `2001:db8::`.
62
+ IPV6 = 3
63
+
64
+ # An IP address in either v4 or v6 format as described by the individual
65
+ # values defined herein. See the comments on the IPV4 and IPV6 types for
66
+ # allowed normalizations of each.
67
+ IPV4_OR_IPV6 = 4
68
+ end
69
+ end
70
+
71
+ # A reference to a message type, for use in {::Google::Api::FieldInfo FieldInfo}.
72
+ # @!attribute [rw] type_name
73
+ # @return [::String]
74
+ # The name of the type that the annotated, generic field may represent.
75
+ # If the type is in the same protobuf package, the value can be the simple
76
+ # message name e.g., `"MyMessage"`. Otherwise, the value must be the
77
+ # fully-qualified message name e.g., `"google.library.v1.Book"`.
78
+ #
79
+ # If the type(s) are unknown to the service (e.g. the field accepts generic
80
+ # user input), use the wildcard `"*"` to denote this behavior.
81
+ #
82
+ # See [AIP-202](https://google.aip.dev/202#type-references) for more details.
83
+ class TypeReference
84
+ include ::Google::Protobuf::MessageExts
85
+ extend ::Google::Protobuf::MessageExts::ClassMethods
86
+ end
87
+ end
88
+ end
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
@@ -27,7 +27,9 @@ module Google
27
27
  # different output formats.
28
28
  # @!attribute [rw] key
29
29
  # @return [::String]
30
- # A unique key for this elementary stream.
30
+ # A unique key for this elementary stream. The key must be 1-63
31
+ # characters in length. The key must begin and end with a letter (regardless
32
+ # of case) or a number, but can contain dashes or underscores in between.
31
33
  # @!attribute [rw] video_stream
32
34
  # @return [::Google::Cloud::Video::LiveStream::V1::VideoStream]
33
35
  # Encoding of a video stream.
@@ -45,7 +47,9 @@ module Google
45
47
  # Multiplexing settings for output stream.
46
48
  # @!attribute [rw] key
47
49
  # @return [::String]
48
- # A unique key for this multiplexed stream.
50
+ # A unique key for this multiplexed stream. The key must be 1-63
51
+ # characters in length. The key must begin and end with a letter (regardless
52
+ # of case) or a number, but can contain dashes or underscores in between.
49
53
  # @!attribute [rw] container
50
54
  # @return [::String]
51
55
  # The container format. The default is `fmp4`.
@@ -108,6 +112,12 @@ module Google
108
112
  # errors while accessing segments which are listed in the manifest that the
109
113
  # player has, but were already deleted from the output Google Cloud Storage
110
114
  # bucket. Default value is `60s`.
115
+ #
116
+ # If both segment_keep_duration and
117
+ # {::Google::Cloud::Video::LiveStream::V1::RetentionConfig#retention_window_duration RetentionConfig.retention_window_duration}
118
+ # are set,
119
+ # {::Google::Cloud::Video::LiveStream::V1::RetentionConfig#retention_window_duration RetentionConfig.retention_window_duration}
120
+ # is used and segment_keep_duration is ignored.
111
121
  # @!attribute [rw] use_timecode_as_timeline
112
122
  # @return [::Boolean]
113
123
  # Whether to use the timecode, as specified in timecode config, when setting:
@@ -117,6 +127,9 @@ module Google
117
127
  #
118
128
  # If false, ignore the input timecode and use the time from system clock
119
129
  # when the manifest is first generated. This is the default behavior.
130
+ # @!attribute [rw] key
131
+ # @return [::String]
132
+ # Optional. A unique key for this manifest.
120
133
  class Manifest
121
134
  include ::Google::Protobuf::MessageExts
122
135
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -189,6 +189,13 @@ module Google
189
189
  # @return [::Google::Cloud::Video::LiveStream::V1::InputConfig]
190
190
  # The configuration for input sources defined in
191
191
  # {::Google::Cloud::Video::LiveStream::V1::Channel#input_attachments input_attachments}.
192
+ # @!attribute [rw] retention_config
193
+ # @return [::Google::Cloud::Video::LiveStream::V1::RetentionConfig]
194
+ # Optional. Configuration for retention of output files for this channel.
195
+ # @!attribute [rw] static_overlays
196
+ # @return [::Array<::Google::Cloud::Video::LiveStream::V1::StaticOverlay>]
197
+ # Optional. List of static overlay images. Those images display over the
198
+ # output content for the whole duration of the live stream.
192
199
  class Channel
193
200
  include ::Google::Protobuf::MessageExts
194
201
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -244,6 +251,59 @@ module Google
244
251
  end
245
252
  end
246
253
 
254
+ # 2D normalized coordinates.
255
+ # @!attribute [rw] x
256
+ # @return [::Float]
257
+ # Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.
258
+ # @!attribute [rw] y
259
+ # @return [::Float]
260
+ # Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.
261
+ class NormalizedCoordinate
262
+ include ::Google::Protobuf::MessageExts
263
+ extend ::Google::Protobuf::MessageExts::ClassMethods
264
+ end
265
+
266
+ # Normalized resolution.
267
+ # @!attribute [rw] w
268
+ # @return [::Float]
269
+ # Optional. Normalized width. Valid range is [0.0, 1.0]. Default is 0.
270
+ # @!attribute [rw] h
271
+ # @return [::Float]
272
+ # Optional. Normalized height. Valid range is [0.0, 1.0]. Default is 0.
273
+ class NormalizedResolution
274
+ include ::Google::Protobuf::MessageExts
275
+ extend ::Google::Protobuf::MessageExts::ClassMethods
276
+ end
277
+
278
+ # Configuration for the static overlay.
279
+ # @!attribute [rw] asset
280
+ # @return [::String]
281
+ # Required. Asset to use for the overlaid image.
282
+ # The asset must be represented in the form of:
283
+ # `projects/{project}/locations/{location}/assets/{assetId}`.
284
+ # The asset's resource type must be image.
285
+ # @!attribute [rw] resolution
286
+ # @return [::Google::Cloud::Video::LiveStream::V1::NormalizedResolution]
287
+ # Optional. Normalized image resolution, based on output video resolution.
288
+ # Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
289
+ # set either `w` or `h` to 0. To use the original image resolution, set both
290
+ # `w` and `h` to 0. The default is \\{0, 0}.
291
+ # @!attribute [rw] position
292
+ # @return [::Google::Cloud::Video::LiveStream::V1::NormalizedCoordinate]
293
+ # Optional. Position of the image in terms of normalized coordinates of the
294
+ # upper-left corner of the image, based on output video resolution. For
295
+ # example, use the x and y coordinates \\{0, 0} to position the top-left corner
296
+ # of the overlay animation in the top-left corner of the output video.
297
+ # @!attribute [rw] opacity
298
+ # @return [::Float]
299
+ # Optional. Target image opacity. Valid values are from `1.0` (solid,
300
+ # default) to `0.0` (transparent), exclusive. Set this to a value greater
301
+ # than `0.0`.
302
+ class StaticOverlay
303
+ include ::Google::Protobuf::MessageExts
304
+ extend ::Google::Protobuf::MessageExts::ClassMethods
305
+ end
306
+
247
307
  # Configuration for the input sources of a channel.
248
308
  # @!attribute [rw] input_switch_mode
249
309
  # @return [::Google::Cloud::Video::LiveStream::V1::InputConfig::InputSwitchMode]
@@ -313,6 +373,31 @@ module Google
313
373
  end
314
374
  end
315
375
 
376
+ # Configuration for retention of output files.
377
+ # @!attribute [rw] retention_window_duration
378
+ # @return [::Google::Protobuf::Duration]
379
+ # The minimum duration for which the output files from the channel will
380
+ # remain in the output bucket. After this duration, output files are
381
+ # deleted asynchronously.
382
+ #
383
+ # When the channel is deleted, all output files are deleted from the output
384
+ # bucket asynchronously.
385
+ #
386
+ # If omitted or set to zero, output files will remain in the output bucket
387
+ # based on
388
+ # {::Google::Cloud::Video::LiveStream::V1::Manifest#segment_keep_duration Manifest.segment_keep_duration},
389
+ # which defaults to 60s.
390
+ #
391
+ # If both retention_window_duration and
392
+ # {::Google::Cloud::Video::LiveStream::V1::Manifest#segment_keep_duration Manifest.segment_keep_duration}
393
+ # are set, retention_window_duration is used and
394
+ # {::Google::Cloud::Video::LiveStream::V1::Manifest#segment_keep_duration Manifest.segment_keep_duration}
395
+ # is ignored.
396
+ class RetentionConfig
397
+ include ::Google::Protobuf::MessageExts
398
+ extend ::Google::Protobuf::MessageExts::ClassMethods
399
+ end
400
+
316
401
  # Properties of the input stream.
317
402
  # @!attribute [rw] last_establish_time
318
403
  # @return [::Google::Protobuf::Timestamp]
@@ -389,7 +474,9 @@ module Google
389
474
  # A group of information for attaching an input resource to this channel.
390
475
  # @!attribute [rw] key
391
476
  # @return [::String]
392
- # A unique key for this input attachment.
477
+ # A unique key for this input attachment. The key must be 1-63
478
+ # characters in length. The key must begin and end with a letter (regardless
479
+ # of case) or a number, but can contain dashes or underscores in between.
393
480
  # @!attribute [rw] input
394
481
  # @return [::String]
395
482
  # The resource name of an existing input, in the form of:
@@ -502,7 +589,7 @@ module Google
502
589
  # @!attribute [rw] asset
503
590
  # @return [::String]
504
591
  # Slate asset to use for the duration. If its duration is less than the
505
- # duration of the SlateTask, then it will be looped. The slate must be
592
+ # duration of the SlateTask, then the slate loops. The slate must be
506
593
  # represented in the form of:
507
594
  # `projects/{project}/locations/{location}/assets/{assetId}`.
508
595
  class SlateTask
@@ -527,8 +614,7 @@ module Google
527
614
  extend ::Google::Protobuf::MessageExts::ClassMethods
528
615
  end
529
616
 
530
- # Unmutes the stream. The task will fail if the stream is not
531
- # currently muted.
617
+ # Unmutes the stream. The task fails if the stream is not currently muted.
532
618
  class UnmuteTask
533
619
  include ::Google::Protobuf::MessageExts
534
620
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -568,6 +654,130 @@ module Google
568
654
  end
569
655
  end
570
656
 
657
+ # Clip is a sub-resource under channel. Each clip represents a clipping
658
+ # operation that generates a VOD playlist from its channel given a set of
659
+ # timestamp ranges.
660
+ # @!attribute [rw] name
661
+ # @return [::String]
662
+ # The resource name of the clip, in the following format:
663
+ # `projects/{project}/locations/{location}/channels/{c}/clips/{clipId}`.
664
+ # `{clipId}` is a user-specified resource id that conforms to the following
665
+ # criteria:
666
+ #
667
+ # 1. 1 character minimum, 63 characters maximum
668
+ # 2. Only contains letters, digits, underscores, and hyphens
669
+ # @!attribute [r] create_time
670
+ # @return [::Google::Protobuf::Timestamp]
671
+ # Output only. The creation timestamp of the clip resource.
672
+ # @!attribute [r] start_time
673
+ # @return [::Google::Protobuf::Timestamp]
674
+ # Output only. The timestamp when the clip request starts to be processed.
675
+ # @!attribute [r] update_time
676
+ # @return [::Google::Protobuf::Timestamp]
677
+ # Output only. The update timestamp of the clip resource.
678
+ # @!attribute [rw] labels
679
+ # @return [::Google::Protobuf::Map{::String => ::String}]
680
+ # The labels associated with this resource. Each label is a key-value pair.
681
+ # @!attribute [r] state
682
+ # @return [::Google::Cloud::Video::LiveStream::V1::Clip::State]
683
+ # Output only. The state of the clip.
684
+ # @!attribute [rw] output_uri
685
+ # @return [::String]
686
+ # Specify the `output_uri` to determine where to place the clip segments and
687
+ # clip manifest files in Cloud Storage. The manifests specified in
688
+ # `clip_manifests` fields will be placed under this URI. The exact URI of the
689
+ # generated manifests will be provided in `clip_manifests.output_uri` for
690
+ # each manifest.
691
+ # Example:
692
+ # "output_uri": "gs://my-bucket/clip-outputs"
693
+ # "clip_manifests.output_uri": "gs://my-bucket/clip-outputs/main.m3u8"
694
+ # @!attribute [r] error
695
+ # @return [::Google::Rpc::Status]
696
+ # Output only. An error object that describes the reason for the failure.
697
+ # This property only presents when `state` is `FAILED`.
698
+ # @!attribute [rw] slices
699
+ # @return [::Array<::Google::Cloud::Video::LiveStream::V1::Clip::Slice>]
700
+ # The specified ranges of segments to generate a clip.
701
+ # @!attribute [rw] clip_manifests
702
+ # @return [::Array<::Google::Cloud::Video::LiveStream::V1::Clip::ClipManifest>]
703
+ # Required. A list of clip manifests. Currently only one clip manifest is
704
+ # allowed.
705
+ class Clip
706
+ include ::Google::Protobuf::MessageExts
707
+ extend ::Google::Protobuf::MessageExts::ClassMethods
708
+
709
+ # TimeSlice represents a tuple of Unix epoch timestamps that specifies a time
710
+ # range.
711
+ # @!attribute [rw] markin_time
712
+ # @return [::Google::Protobuf::Timestamp]
713
+ # The mark-in Unix epoch time in the original live stream manifest.
714
+ # @!attribute [rw] markout_time
715
+ # @return [::Google::Protobuf::Timestamp]
716
+ # The mark-out Unix epoch time in the original live stream manifest.
717
+ class TimeSlice
718
+ include ::Google::Protobuf::MessageExts
719
+ extend ::Google::Protobuf::MessageExts::ClassMethods
720
+ end
721
+
722
+ # Slice represents a slice of the requested clip.
723
+ # @!attribute [rw] time_slice
724
+ # @return [::Google::Cloud::Video::LiveStream::V1::Clip::TimeSlice]
725
+ # A slice in form of a tuple of Unix epoch time.
726
+ class Slice
727
+ include ::Google::Protobuf::MessageExts
728
+ extend ::Google::Protobuf::MessageExts::ClassMethods
729
+ end
730
+
731
+ # ClipManifest identifies a source manifest for the generated clip manifest.
732
+ # @!attribute [rw] manifest_key
733
+ # @return [::String]
734
+ # Required. A unique key that identifies a manifest config in the parent
735
+ # channel. This key is the same as `channel.manifests.key` for the selected
736
+ # manifest.
737
+ # @!attribute [r] output_uri
738
+ # @return [::String]
739
+ # Output only. The output URI of the generated clip manifest. This field
740
+ # will be populated when the CreateClip request is accepted. Current output
741
+ # format is provided below but may change in the future. Please read this
742
+ # field to get the uri to the generated clip manifest. Format:
743
+ # \\{clip.output_uri}/\\{channel.manifest.fileName} Example:
744
+ # gs://my-bucket/clip-outputs/main.m3u8
745
+ class ClipManifest
746
+ include ::Google::Protobuf::MessageExts
747
+ extend ::Google::Protobuf::MessageExts::ClassMethods
748
+ end
749
+
750
+ # @!attribute [rw] key
751
+ # @return [::String]
752
+ # @!attribute [rw] value
753
+ # @return [::String]
754
+ class LabelsEntry
755
+ include ::Google::Protobuf::MessageExts
756
+ extend ::Google::Protobuf::MessageExts::ClassMethods
757
+ end
758
+
759
+ # State of clipping operation.
760
+ module State
761
+ # State is not specified.
762
+ STATE_UNSPECIFIED = 0
763
+
764
+ # The operation is pending to be picked up by the server.
765
+ PENDING = 1
766
+
767
+ # The server admitted this create clip request, and
768
+ # outputs are under processing.
769
+ CREATING = 2
770
+
771
+ # Outputs are available in the specified Cloud Storage bucket. For
772
+ # additional information, see the `outputs` field.
773
+ SUCCEEDED = 3
774
+
775
+ # The operation has failed. For additional information, see the `error`
776
+ # field.
777
+ FAILED = 4
778
+ end
779
+ end
780
+
571
781
  # An asset represents a video or an image.
572
782
  # @!attribute [rw] name
573
783
  # @return [::String]
@@ -595,10 +805,12 @@ module Google
595
805
  # resource](https://cloud.google.com/storage/docs/json_api/v1/objects).
596
806
  # If crc32c is omitted or left empty when the asset is created, this field is
597
807
  # filled by the crc32c checksum of the Cloud Storage object indicated by
598
- # [VideoAsset.uri] or [ImageAsset.uri].
599
- # If crc32c is set, the asset can't be created if the crc32c value does not
808
+ # {::Google::Cloud::Video::LiveStream::V1::Asset::VideoAsset#uri VideoAsset.uri} or
809
+ # {::Google::Cloud::Video::LiveStream::V1::Asset::ImageAsset#uri ImageAsset.uri}. If
810
+ # crc32c is set, the asset can't be created if the crc32c value does not
600
811
  # match with the crc32c checksum of the Cloud Storage object indicated by
601
- # [VideoAsset.uri] or [ImageAsset.uri].
812
+ # {::Google::Cloud::Video::LiveStream::V1::Asset::VideoAsset#uri VideoAsset.uri} or
813
+ # {::Google::Cloud::Video::LiveStream::V1::Asset::ImageAsset#uri ImageAsset.uri}.
602
814
  # @!attribute [r] state
603
815
  # @return [::Google::Cloud::Video::LiveStream::V1::Asset::State]
604
816
  # Output only. The state of the asset resource.
@@ -621,7 +833,7 @@ module Google
621
833
  extend ::Google::Protobuf::MessageExts::ClassMethods
622
834
  end
623
835
 
624
- # Image represents an image. The supported format is JPEG.
836
+ # Image represents an image. The supported formats are JPEG, PNG.
625
837
  # @!attribute [rw] uri
626
838
  # @return [::String]
627
839
  # Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`.
@@ -661,7 +873,10 @@ module Google
661
873
  # Encryption settings.
662
874
  # @!attribute [rw] id
663
875
  # @return [::String]
664
- # Required. Identifier for this set of encryption options.
876
+ # Required. Identifier for this set of encryption options. The ID must be
877
+ # 1-63 characters in length. The ID must begin and end with a letter
878
+ # (regardless of case) or a number, but can contain dashes or underscores in
879
+ # between.
665
880
  # @!attribute [rw] secret_manager_key_source
666
881
  # @return [::Google::Cloud::Video::LiveStream::V1::Encryption::SecretManagerSource]
667
882
  # For keys stored in Google Secret Manager.
@@ -607,6 +607,112 @@ module Google
607
607
  extend ::Google::Protobuf::MessageExts::ClassMethods
608
608
  end
609
609
 
610
+ # Request message for "LivestreamService.ListClips".
611
+ # @!attribute [rw] parent
612
+ # @return [::String]
613
+ # Required. Parent value for ListClipsRequest
614
+ # @!attribute [rw] page_size
615
+ # @return [::Integer]
616
+ # Requested page size. Server may return fewer items than requested.
617
+ # If unspecified, server will pick an appropriate default.
618
+ # @!attribute [rw] page_token
619
+ # @return [::String]
620
+ # A token identifying a page of results the server should return.
621
+ # @!attribute [rw] filter
622
+ # @return [::String]
623
+ # Filtering results
624
+ # @!attribute [rw] order_by
625
+ # @return [::String]
626
+ # Hint for how to order the results
627
+ class ListClipsRequest
628
+ include ::Google::Protobuf::MessageExts
629
+ extend ::Google::Protobuf::MessageExts::ClassMethods
630
+ end
631
+
632
+ # Response message for "LivestreamService.ListClips".
633
+ # @!attribute [rw] clips
634
+ # @return [::Array<::Google::Cloud::Video::LiveStream::V1::Clip>]
635
+ # The list of Clip
636
+ # @!attribute [rw] next_page_token
637
+ # @return [::String]
638
+ # A token identifying a page of results the server should return.
639
+ # @!attribute [rw] unreachable
640
+ # @return [::Array<::String>]
641
+ # Locations that could not be reached.
642
+ class ListClipsResponse
643
+ include ::Google::Protobuf::MessageExts
644
+ extend ::Google::Protobuf::MessageExts::ClassMethods
645
+ end
646
+
647
+ # Request message for "LivestreamService.GetClip".
648
+ # @!attribute [rw] name
649
+ # @return [::String]
650
+ # Required. Name of the resource, in the following form:
651
+ # `projects/{project}/locations/{location}/channels/{channel}/clips/{clip}`.
652
+ class GetClipRequest
653
+ include ::Google::Protobuf::MessageExts
654
+ extend ::Google::Protobuf::MessageExts::ClassMethods
655
+ end
656
+
657
+ # Request message for "LivestreamService.CreateClip".
658
+ # @!attribute [rw] parent
659
+ # @return [::String]
660
+ # Required. The parent resource name, in the following form:
661
+ # `projects/{project}/locations/{location}/channels/{channel}`.
662
+ # @!attribute [rw] clip_id
663
+ # @return [::String]
664
+ # Required. Id of the requesting object in the following form:
665
+ #
666
+ # 1. 1 character minimum, 63 characters maximum
667
+ # 2. Only contains letters, digits, underscores, and hyphens
668
+ # @!attribute [rw] clip
669
+ # @return [::Google::Cloud::Video::LiveStream::V1::Clip]
670
+ # Required. The resource being created
671
+ # @!attribute [rw] request_id
672
+ # @return [::String]
673
+ # Optional. An optional request ID to identify requests. Specify a unique
674
+ # request ID so that if you must retry your request, the server will know to
675
+ # ignore the request if it has already been completed. The server will
676
+ # guarantee that for at least 60 minutes since the first request.
677
+ #
678
+ # For example, consider a situation where you make an initial request and
679
+ # the request times out. If you make the request again with the same request
680
+ # ID, the server can check if original operation with the same request ID
681
+ # was received, and if so, will ignore the second request. This prevents
682
+ # clients from accidentally creating duplicate commitments.
683
+ #
684
+ # The request ID must be a valid UUID with the exception that zero UUID is
685
+ # not supported (00000000-0000-0000-0000-000000000000).
686
+ class CreateClipRequest
687
+ include ::Google::Protobuf::MessageExts
688
+ extend ::Google::Protobuf::MessageExts::ClassMethods
689
+ end
690
+
691
+ # Request message for "LivestreamService.DeleteClip".
692
+ # @!attribute [rw] name
693
+ # @return [::String]
694
+ # Required. The name of the clip resource, in the form of:
695
+ # `projects/{project}/locations/{location}/channels/{channelId}/clips/{clipId}`.
696
+ # @!attribute [rw] request_id
697
+ # @return [::String]
698
+ # Optional. A request ID to identify requests. Specify a unique request ID
699
+ # so that if you must retry your request, the server will know to ignore
700
+ # the request if it has already been completed. The server will guarantee
701
+ # that for at least 60 minutes since the first request.
702
+ #
703
+ # For example, consider a situation where you make an initial request and the
704
+ # request times out. If you make the request again with the same request ID,
705
+ # the server can check if original operation with the same request ID was
706
+ # received, and if so, will ignore the second request. This prevents clients
707
+ # from accidentally creating duplicate commitments.
708
+ #
709
+ # The request ID must be a valid UUID with the exception that zero UUID is
710
+ # not supported `(00000000-0000-0000-0000-000000000000)`.
711
+ class DeleteClipRequest
712
+ include ::Google::Protobuf::MessageExts
713
+ extend ::Google::Protobuf::MessageExts::ClassMethods
714
+ end
715
+
610
716
  # Represents the metadata of the long-running operation.
611
717
  # @!attribute [r] create_time
612
718
  # @return [::Google::Protobuf::Timestamp]
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: 1.0.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: 2024-07-10 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -100,6 +100,7 @@ files:
100
100
  - proto_docs/README.md
101
101
  - proto_docs/google/api/client.rb
102
102
  - proto_docs/google/api/field_behavior.rb
103
+ - proto_docs/google/api/field_info.rb
103
104
  - proto_docs/google/api/launch_stage.rb
104
105
  - proto_docs/google/api/resource.rb
105
106
  - proto_docs/google/cloud/video/livestream/v1/outputs.rb