google-cloud-video-live_stream-v1 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 258c051b3100fe1c7d72dc4dfe5478640e7b13666f9c2bf07397b6c7cd8de2ef
4
- data.tar.gz: c0318c2e52322e47def2ea9c41c81ec82dfd1caf51f828d7068f537880318227
3
+ metadata.gz: 5eb3f6afc12939ced53c48282ba302e9d998ea3d3d9fda5c9f2d3a8da89a42e8
4
+ data.tar.gz: 6d49d9b358eeb54db9e21b8f4af27660719a57d1b6485e59364fd33cc6f969e5
5
5
  SHA512:
6
- metadata.gz: 222805d85ed7a84a32d7a2a03e660ffa9e05ce816f8b72fb4ee3e7a08f0a6b5674654a6c59a62ad963a7ce2858efde724658fa42dd1991588384b713cb081e2d
7
- data.tar.gz: 1c3421034ab538d5f38f199963de1c0da62296a017479b2527a43c05086759305648aa417722703543ed35de9e27048e22724d4c52f2e81ba3666ea40898509f
6
+ metadata.gz: e52a0ecdc3d4fc16d47008d0090a059a92740c54d1f8c782360d1f1cdee6118e57bcf520a8983451cddef7feb8b1919d83f50575e4dc566c6a69bb4a8959efac
7
+ data.tar.gz: 91155587d631a7e7fab68a8c90d0bb3df22e8d73f4031ff336a39eef402bce110ea3d790668f05baa048e1955fb0fb82fd1213180635df78f3dd3f80a0cc0c48
@@ -22,7 +22,7 @@ module Google
22
22
  module Video
23
23
  module LiveStream
24
24
  module V1
25
- VERSION = "0.4.0"
25
+ VERSION = "0.5.0"
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/livestream/v1/outputs.proto
3
4
 
@@ -7,125 +8,33 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/protobuf/duration_pb'
8
9
  require 'google/type/datetime_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/video/livestream/v1/outputs.proto", :syntax => :proto3) do
12
- add_message "google.cloud.video.livestream.v1.ElementaryStream" do
13
- optional :key, :string, 4
14
- oneof :elementary_stream do
15
- optional :video_stream, :message, 1, "google.cloud.video.livestream.v1.VideoStream"
16
- optional :audio_stream, :message, 2, "google.cloud.video.livestream.v1.AudioStream"
17
- optional :text_stream, :message, 3, "google.cloud.video.livestream.v1.TextStream"
18
- end
19
- end
20
- add_message "google.cloud.video.livestream.v1.MuxStream" do
21
- optional :key, :string, 1
22
- optional :container, :string, 3
23
- repeated :elementary_streams, :string, 4
24
- optional :segment_settings, :message, 5, "google.cloud.video.livestream.v1.SegmentSettings"
25
- optional :encryption_id, :string, 6
26
- end
27
- add_message "google.cloud.video.livestream.v1.Manifest" do
28
- optional :file_name, :string, 1
29
- optional :type, :enum, 2, "google.cloud.video.livestream.v1.Manifest.ManifestType"
30
- repeated :mux_streams, :string, 3
31
- optional :max_segment_count, :int32, 4
32
- optional :segment_keep_duration, :message, 5, "google.protobuf.Duration"
33
- optional :use_timecode_as_timeline, :bool, 6
34
- end
35
- add_enum "google.cloud.video.livestream.v1.Manifest.ManifestType" do
36
- value :MANIFEST_TYPE_UNSPECIFIED, 0
37
- value :HLS, 1
38
- value :DASH, 2
39
- end
40
- add_message "google.cloud.video.livestream.v1.SpriteSheet" do
41
- optional :format, :string, 1
42
- optional :file_prefix, :string, 2
43
- optional :sprite_width_pixels, :int32, 3
44
- optional :sprite_height_pixels, :int32, 4
45
- optional :column_count, :int32, 5
46
- optional :row_count, :int32, 6
47
- optional :interval, :message, 7, "google.protobuf.Duration"
48
- optional :quality, :int32, 8
49
- end
50
- add_message "google.cloud.video.livestream.v1.PreprocessingConfig" do
51
- optional :audio, :message, 1, "google.cloud.video.livestream.v1.PreprocessingConfig.Audio"
52
- optional :crop, :message, 2, "google.cloud.video.livestream.v1.PreprocessingConfig.Crop"
53
- optional :pad, :message, 3, "google.cloud.video.livestream.v1.PreprocessingConfig.Pad"
54
- end
55
- add_message "google.cloud.video.livestream.v1.PreprocessingConfig.Audio" do
56
- optional :lufs, :double, 1
57
- end
58
- add_message "google.cloud.video.livestream.v1.PreprocessingConfig.Crop" do
59
- optional :top_pixels, :int32, 1
60
- optional :bottom_pixels, :int32, 2
61
- optional :left_pixels, :int32, 3
62
- optional :right_pixels, :int32, 4
63
- end
64
- add_message "google.cloud.video.livestream.v1.PreprocessingConfig.Pad" do
65
- optional :top_pixels, :int32, 1
66
- optional :bottom_pixels, :int32, 2
67
- optional :left_pixels, :int32, 3
68
- optional :right_pixels, :int32, 4
69
- end
70
- add_message "google.cloud.video.livestream.v1.VideoStream" do
71
- oneof :codec_settings do
72
- optional :h264, :message, 20, "google.cloud.video.livestream.v1.VideoStream.H264CodecSettings"
73
- end
74
- end
75
- add_message "google.cloud.video.livestream.v1.VideoStream.H264CodecSettings" do
76
- optional :width_pixels, :int32, 1
77
- optional :height_pixels, :int32, 2
78
- optional :frame_rate, :double, 3
79
- optional :bitrate_bps, :int32, 4
80
- optional :allow_open_gop, :bool, 6
81
- optional :vbv_size_bits, :int32, 9
82
- optional :vbv_fullness_bits, :int32, 10
83
- optional :entropy_coder, :string, 11
84
- optional :b_pyramid, :bool, 12
85
- optional :b_frame_count, :int32, 13
86
- optional :aq_strength, :double, 14
87
- optional :profile, :string, 15
88
- optional :tune, :string, 16
89
- oneof :gop_mode do
90
- optional :gop_frame_count, :int32, 7
91
- optional :gop_duration, :message, 8, "google.protobuf.Duration"
92
- end
93
- end
94
- add_message "google.cloud.video.livestream.v1.AudioStream" do
95
- optional :transmux, :bool, 8
96
- optional :codec, :string, 1
97
- optional :bitrate_bps, :int32, 2
98
- optional :channel_count, :int32, 3
99
- repeated :channel_layout, :string, 4
100
- repeated :mapping, :message, 5, "google.cloud.video.livestream.v1.AudioStream.AudioMapping"
101
- optional :sample_rate_hertz, :int32, 6
102
- end
103
- add_message "google.cloud.video.livestream.v1.AudioStream.AudioMapping" do
104
- optional :input_key, :string, 6
105
- optional :input_track, :int32, 2
106
- optional :input_channel, :int32, 3
107
- optional :output_channel, :int32, 4
108
- optional :gain_db, :double, 5
109
- end
110
- add_message "google.cloud.video.livestream.v1.TextStream" do
111
- optional :codec, :string, 1
112
- end
113
- add_message "google.cloud.video.livestream.v1.SegmentSettings" do
114
- optional :segment_duration, :message, 1, "google.protobuf.Duration"
115
- end
116
- add_message "google.cloud.video.livestream.v1.TimecodeConfig" do
117
- optional :source, :enum, 1, "google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource"
118
- oneof :time_offset do
119
- optional :utc_offset, :message, 2, "google.protobuf.Duration"
120
- optional :time_zone, :message, 3, "google.type.TimeZone"
121
- end
122
- end
123
- add_enum "google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource" do
124
- value :TIMECODE_SOURCE_UNSPECIFIED, 0
125
- value :MEDIA_TIMESTAMP, 1
126
- value :EMBEDDED_TIMECODE, 2
11
+
12
+ descriptor_data = "\n.google/cloud/video/livestream/v1/outputs.proto\x12 google.cloud.video.livestream.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1agoogle/type/datetime.proto\"\x87\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12\x45\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32-.google.cloud.video.livestream.v1.VideoStreamH\x00\x12\x45\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32-.google.cloud.video.livestream.v1.AudioStreamH\x00\x12\x43\n\x0btext_stream\x18\x03 \x01(\x0b\x32,.google.cloud.video.livestream.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xab\x01\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12K\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x31.google.cloud.video.livestream.v1.SegmentSettings\x12\x15\n\rencryption_id\x18\x06 \x01(\t\"\xbc\x02\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12J\n\x04type\x18\x02 \x01(\x0e\x32\x37.google.cloud.video.livestream.v1.Manifest.ManifestTypeB\x03\xe0\x41\x02\x12\x18\n\x0bmux_streams\x18\x03 \x03(\tB\x03\xe0\x41\x02\x12\x19\n\x11max_segment_count\x18\x04 \x01(\x05\x12\x38\n\x15segment_keep_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12 \n\x18use_timecode_as_timeline\x18\x06 \x01(\x08\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\"\xe3\x01\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x18\n\x0b\x66ile_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12 \n\x13sprite_width_pixels\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12!\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12+\n\x08interval\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0f\n\x07quality\x18\x08 \x01(\x05\"\xc5\x03\n\x13PreprocessingConfig\x12J\n\x05\x61udio\x18\x01 \x01(\x0b\x32;.google.cloud.video.livestream.v1.PreprocessingConfig.Audio\x12H\n\x04\x63rop\x18\x02 \x01(\x0b\x32:.google.cloud.video.livestream.v1.PreprocessingConfig.Crop\x12\x46\n\x03pad\x18\x03 \x01(\x0b\x32\x39.google.cloud.video.livestream.v1.PreprocessingConfig.Pad\x1a\x15\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\"\xff\x03\n\x0bVideoStream\x12O\n\x04h264\x18\x14 \x01(\x0b\x32?.google.cloud.video.livestream.v1.VideoStream.H264CodecSettingsH\x00\x1a\x8c\x03\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x17\n\nframe_rate\x18\x03 \x01(\x01\x42\x03\xe0\x41\x02\x12\x18\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\x0e\x61llow_open_gop\x18\x06 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\x07 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\x08 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x15\n\rvbv_size_bits\x18\t \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\n \x01(\x05\x12\x15\n\rentropy_coder\x18\x0b \x01(\t\x12\x11\n\tb_pyramid\x18\x0c \x01(\x08\x12\x15\n\rb_frame_count\x18\r \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x0e \x01(\x01\x12\x0f\n\x07profile\x18\x0f \x01(\t\x12\x0c\n\x04tune\x18\x10 \x01(\tB\n\n\x08gop_modeB\x10\n\x0e\x63odec_settings\"\xec\x02\n\x0b\x41udioStream\x12\x10\n\x08transmux\x18\x08 \x01(\x08\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x18\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12K\n\x07mapping\x18\x05 \x03(\x0b\x32:.google.cloud.video.livestream.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x1a\x8a\x01\n\x0c\x41udioMapping\x12\x16\n\tinput_key\x18\x06 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binput_track\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1a\n\rinput_channel\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0eoutput_channel\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x0f\n\x07gain_db\x18\x05 \x01(\x01\" \n\nTextStream\x12\x12\n\x05\x63odec\x18\x01 \x01(\tB\x03\xe0\x41\x02\"F\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xac\x02\n\x0eTimecodeConfig\x12O\n\x06source\x18\x01 \x01(\x0e\x32?.google.cloud.video.livestream.v1.TimecodeConfig.TimecodeSource\x12/\n\nutc_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12*\n\ttime_zone\x18\x03 \x01(\x0b\x32\x15.google.type.TimeZoneH\x00\"]\n\x0eTimecodeSource\x12\x1f\n\x1bTIMECODE_SOURCE_UNSPECIFIED\x10\x00\x12\x13\n\x0fMEDIA_TIMESTAMP\x10\x01\x12\x15\n\x11\x45MBEDDED_TIMECODE\x10\x02\x42\r\n\x0btime_offsetB\xe9\x01\n$com.google.cloud.video.livestream.v1B\x0cOutputsProtoP\x01ZDcloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb\xaa\x02 Google.Cloud.Video.LiveStream.V1\xca\x02 Google\\Cloud\\Video\\LiveStream\\V1\xea\x02$Google::Cloud::Video::LiveStream::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
28
+ ["google.type.TimeZone", "google/type/datetime.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
127
34
  end
128
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
129
38
  end
130
39
 
131
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/livestream/v1/resources.proto
3
4
 
@@ -10,193 +11,35 @@ require 'google/protobuf/duration_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
  require 'google/rpc/status_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/video/livestream/v1/resources.proto", :syntax => :proto3) do
15
- add_message "google.cloud.video.livestream.v1.Input" do
16
- optional :name, :string, 1
17
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
18
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
19
- map :labels, :string, :string, 4
20
- optional :type, :enum, 5, "google.cloud.video.livestream.v1.Input.Type"
21
- optional :tier, :enum, 14, "google.cloud.video.livestream.v1.Input.Tier"
22
- optional :uri, :string, 6
23
- optional :preprocessing_config, :message, 9, "google.cloud.video.livestream.v1.PreprocessingConfig"
24
- optional :security_rules, :message, 12, "google.cloud.video.livestream.v1.Input.SecurityRule"
25
- optional :input_stream_property, :message, 15, "google.cloud.video.livestream.v1.InputStreamProperty"
26
- end
27
- add_message "google.cloud.video.livestream.v1.Input.SecurityRule" do
28
- repeated :ip_ranges, :string, 1
29
- end
30
- add_enum "google.cloud.video.livestream.v1.Input.Type" do
31
- value :TYPE_UNSPECIFIED, 0
32
- value :RTMP_PUSH, 1
33
- value :SRT_PUSH, 2
34
- end
35
- add_enum "google.cloud.video.livestream.v1.Input.Tier" do
36
- value :TIER_UNSPECIFIED, 0
37
- value :SD, 1
38
- value :HD, 2
39
- value :UHD, 3
40
- end
41
- add_message "google.cloud.video.livestream.v1.Channel" do
42
- optional :name, :string, 1
43
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
44
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
45
- map :labels, :string, :string, 4
46
- repeated :input_attachments, :message, 16, "google.cloud.video.livestream.v1.InputAttachment"
47
- optional :active_input, :string, 6
48
- optional :output, :message, 9, "google.cloud.video.livestream.v1.Channel.Output"
49
- repeated :elementary_streams, :message, 10, "google.cloud.video.livestream.v1.ElementaryStream"
50
- repeated :mux_streams, :message, 11, "google.cloud.video.livestream.v1.MuxStream"
51
- repeated :manifests, :message, 12, "google.cloud.video.livestream.v1.Manifest"
52
- repeated :sprite_sheets, :message, 13, "google.cloud.video.livestream.v1.SpriteSheet"
53
- optional :streaming_state, :enum, 14, "google.cloud.video.livestream.v1.Channel.StreamingState"
54
- optional :streaming_error, :message, 18, "google.rpc.Status"
55
- optional :log_config, :message, 19, "google.cloud.video.livestream.v1.LogConfig"
56
- optional :timecode_config, :message, 21, "google.cloud.video.livestream.v1.TimecodeConfig"
57
- repeated :encryptions, :message, 24, "google.cloud.video.livestream.v1.Encryption"
58
- optional :input_config, :message, 25, "google.cloud.video.livestream.v1.InputConfig"
59
- end
60
- add_message "google.cloud.video.livestream.v1.Channel.Output" do
61
- optional :uri, :string, 1
62
- end
63
- add_enum "google.cloud.video.livestream.v1.Channel.StreamingState" do
64
- value :STREAMING_STATE_UNSPECIFIED, 0
65
- value :STREAMING, 1
66
- value :AWAITING_INPUT, 2
67
- value :STREAMING_ERROR, 4
68
- value :STREAMING_NO_INPUT, 5
69
- value :STOPPED, 6
70
- value :STARTING, 7
71
- value :STOPPING, 8
72
- end
73
- add_message "google.cloud.video.livestream.v1.InputConfig" do
74
- optional :input_switch_mode, :enum, 1, "google.cloud.video.livestream.v1.InputConfig.InputSwitchMode"
75
- end
76
- add_enum "google.cloud.video.livestream.v1.InputConfig.InputSwitchMode" do
77
- value :INPUT_SWITCH_MODE_UNSPECIFIED, 0
78
- value :FAILOVER_PREFER_PRIMARY, 1
79
- value :MANUAL, 3
80
- end
81
- add_message "google.cloud.video.livestream.v1.LogConfig" do
82
- optional :log_severity, :enum, 1, "google.cloud.video.livestream.v1.LogConfig.LogSeverity"
83
- end
84
- add_enum "google.cloud.video.livestream.v1.LogConfig.LogSeverity" do
85
- value :LOG_SEVERITY_UNSPECIFIED, 0
86
- value :OFF, 1
87
- value :DEBUG, 100
88
- value :INFO, 200
89
- value :WARNING, 400
90
- value :ERROR, 500
91
- end
92
- add_message "google.cloud.video.livestream.v1.InputStreamProperty" do
93
- optional :last_establish_time, :message, 1, "google.protobuf.Timestamp"
94
- repeated :video_streams, :message, 2, "google.cloud.video.livestream.v1.VideoStreamProperty"
95
- repeated :audio_streams, :message, 3, "google.cloud.video.livestream.v1.AudioStreamProperty"
96
- end
97
- add_message "google.cloud.video.livestream.v1.VideoStreamProperty" do
98
- optional :index, :int32, 1
99
- optional :video_format, :message, 2, "google.cloud.video.livestream.v1.VideoFormat"
100
- end
101
- add_message "google.cloud.video.livestream.v1.VideoFormat" do
102
- optional :codec, :string, 1
103
- optional :width_pixels, :int32, 2
104
- optional :height_pixels, :int32, 3
105
- optional :frame_rate, :double, 4
106
- end
107
- add_message "google.cloud.video.livestream.v1.AudioStreamProperty" do
108
- optional :index, :int32, 1
109
- optional :audio_format, :message, 2, "google.cloud.video.livestream.v1.AudioFormat"
110
- end
111
- add_message "google.cloud.video.livestream.v1.AudioFormat" do
112
- optional :codec, :string, 1
113
- optional :channel_count, :int32, 2
114
- repeated :channel_layout, :string, 3
115
- end
116
- add_message "google.cloud.video.livestream.v1.InputAttachment" do
117
- optional :key, :string, 1
118
- optional :input, :string, 2
119
- optional :automatic_failover, :message, 3, "google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover"
120
- end
121
- add_message "google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover" do
122
- repeated :input_keys, :string, 1
123
- end
124
- add_message "google.cloud.video.livestream.v1.Event" do
125
- optional :name, :string, 1
126
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
127
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
128
- map :labels, :string, :string, 4
129
- optional :execute_now, :bool, 9
130
- optional :execution_time, :message, 10, "google.protobuf.Timestamp"
131
- optional :state, :enum, 11, "google.cloud.video.livestream.v1.Event.State"
132
- optional :error, :message, 12, "google.rpc.Status"
133
- oneof :task do
134
- optional :input_switch, :message, 5, "google.cloud.video.livestream.v1.Event.InputSwitchTask"
135
- optional :ad_break, :message, 6, "google.cloud.video.livestream.v1.Event.AdBreakTask"
136
- optional :return_to_program, :message, 13, "google.cloud.video.livestream.v1.Event.ReturnToProgramTask"
137
- optional :mute, :message, 15, "google.cloud.video.livestream.v1.Event.MuteTask"
138
- optional :unmute, :message, 16, "google.cloud.video.livestream.v1.Event.UnmuteTask"
139
- end
140
- end
141
- add_message "google.cloud.video.livestream.v1.Event.InputSwitchTask" do
142
- optional :input_key, :string, 1
143
- end
144
- add_message "google.cloud.video.livestream.v1.Event.AdBreakTask" do
145
- optional :duration, :message, 1, "google.protobuf.Duration"
146
- end
147
- add_message "google.cloud.video.livestream.v1.Event.ReturnToProgramTask" do
148
- end
149
- add_message "google.cloud.video.livestream.v1.Event.MuteTask" do
150
- optional :duration, :message, 1, "google.protobuf.Duration"
151
- end
152
- add_message "google.cloud.video.livestream.v1.Event.UnmuteTask" do
153
- end
154
- add_enum "google.cloud.video.livestream.v1.Event.State" do
155
- value :STATE_UNSPECIFIED, 0
156
- value :SCHEDULED, 1
157
- value :RUNNING, 2
158
- value :SUCCEEDED, 3
159
- value :FAILED, 4
160
- value :PENDING, 5
161
- value :STOPPED, 6
162
- end
163
- add_message "google.cloud.video.livestream.v1.Encryption" do
164
- optional :id, :string, 1
165
- optional :drm_systems, :message, 3, "google.cloud.video.livestream.v1.Encryption.DrmSystems"
166
- oneof :secret_source do
167
- optional :secret_manager_key_source, :message, 7, "google.cloud.video.livestream.v1.Encryption.SecretManagerSource"
168
- end
169
- oneof :encryption_mode do
170
- optional :aes128, :message, 4, "google.cloud.video.livestream.v1.Encryption.Aes128Encryption"
171
- optional :sample_aes, :message, 5, "google.cloud.video.livestream.v1.Encryption.SampleAesEncryption"
172
- optional :mpeg_cenc, :message, 6, "google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption"
173
- end
174
- end
175
- add_message "google.cloud.video.livestream.v1.Encryption.SecretManagerSource" do
176
- optional :secret_version, :string, 1
177
- end
178
- add_message "google.cloud.video.livestream.v1.Encryption.Widevine" do
179
- end
180
- add_message "google.cloud.video.livestream.v1.Encryption.Fairplay" do
181
- end
182
- add_message "google.cloud.video.livestream.v1.Encryption.Playready" do
183
- end
184
- add_message "google.cloud.video.livestream.v1.Encryption.Clearkey" do
185
- end
186
- add_message "google.cloud.video.livestream.v1.Encryption.DrmSystems" do
187
- optional :widevine, :message, 1, "google.cloud.video.livestream.v1.Encryption.Widevine"
188
- optional :fairplay, :message, 2, "google.cloud.video.livestream.v1.Encryption.Fairplay"
189
- optional :playready, :message, 3, "google.cloud.video.livestream.v1.Encryption.Playready"
190
- optional :clearkey, :message, 4, "google.cloud.video.livestream.v1.Encryption.Clearkey"
191
- end
192
- add_message "google.cloud.video.livestream.v1.Encryption.Aes128Encryption" do
193
- end
194
- add_message "google.cloud.video.livestream.v1.Encryption.SampleAesEncryption" do
195
- end
196
- add_message "google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption" do
197
- optional :scheme, :string, 1
14
+
15
+ descriptor_data = "\n0google/cloud/video/livestream/v1/resources.proto\x12 google.cloud.video.livestream.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/video/livestream/v1/outputs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xf0\x06\n\x05Input\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x04 \x03(\x0b\x32\x33.google.cloud.video.livestream.v1.Input.LabelsEntry\x12:\n\x04type\x18\x05 \x01(\x0e\x32,.google.cloud.video.livestream.v1.Input.Type\x12:\n\x04tier\x18\x0e \x01(\x0e\x32,.google.cloud.video.livestream.v1.Input.Tier\x12\x10\n\x03uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12S\n\x14preprocessing_config\x18\t \x01(\x0b\x32\x35.google.cloud.video.livestream.v1.PreprocessingConfig\x12L\n\x0esecurity_rules\x18\x0c \x01(\x0b\x32\x34.google.cloud.video.livestream.v1.Input.SecurityRule\x12Y\n\x15input_stream_property\x18\x0f \x01(\x0b\x32\x35.google.cloud.video.livestream.v1.InputStreamPropertyB\x03\xe0\x41\x03\x1a!\n\x0cSecurityRule\x12\x11\n\tip_ranges\x18\x01 \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"9\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tRTMP_PUSH\x10\x01\x12\x0c\n\x08SRT_PUSH\x10\x02\"5\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\x06\n\x02SD\x10\x01\x12\x06\n\x02HD\x10\x02\x12\x07\n\x03UHD\x10\x03:\\\xea\x41Y\n\x1flivestream.googleapis.com/Input\x12\x36projects/{project}/locations/{location}/inputs/{input}\"\x86\x0b\n\x07\x43hannel\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.video.livestream.v1.Channel.LabelsEntry\x12L\n\x11input_attachments\x18\x10 \x03(\x0b\x32\x31.google.cloud.video.livestream.v1.InputAttachment\x12\x19\n\x0c\x61\x63tive_input\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x45\n\x06output\x18\t \x01(\x0b\x32\x30.google.cloud.video.livestream.v1.Channel.OutputB\x03\xe0\x41\x02\x12N\n\x12\x65lementary_streams\x18\n \x03(\x0b\x32\x32.google.cloud.video.livestream.v1.ElementaryStream\x12@\n\x0bmux_streams\x18\x0b \x03(\x0b\x32+.google.cloud.video.livestream.v1.MuxStream\x12=\n\tmanifests\x18\x0c \x03(\x0b\x32*.google.cloud.video.livestream.v1.Manifest\x12\x44\n\rsprite_sheets\x18\r \x03(\x0b\x32-.google.cloud.video.livestream.v1.SpriteSheet\x12V\n\x0fstreaming_state\x18\x0e \x01(\x0e\x32\x38.google.cloud.video.livestream.v1.Channel.StreamingStateB\x03\xe0\x41\x03\x12\x30\n\x0fstreaming_error\x18\x12 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12?\n\nlog_config\x18\x13 \x01(\x0b\x32+.google.cloud.video.livestream.v1.LogConfig\x12I\n\x0ftimecode_config\x18\x15 \x01(\x0b\x32\x30.google.cloud.video.livestream.v1.TimecodeConfig\x12\x41\n\x0b\x65ncryptions\x18\x18 \x03(\x0b\x32,.google.cloud.video.livestream.v1.Encryption\x12\x43\n\x0cinput_config\x18\x19 \x01(\x0b\x32-.google.cloud.video.livestream.v1.InputConfig\x1a\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xaa\x01\n\x0eStreamingState\x12\x1f\n\x1bSTREAMING_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSTREAMING\x10\x01\x12\x12\n\x0e\x41WAITING_INPUT\x10\x02\x12\x13\n\x0fSTREAMING_ERROR\x10\x04\x12\x16\n\x12STREAMING_NO_INPUT\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07\x12\x0c\n\x08STOPPING\x10\x08:b\xea\x41_\n!livestream.googleapis.com/Channel\x12:projects/{project}/locations/{location}/channels/{channel}\"\xc6\x01\n\x0bInputConfig\x12X\n\x11input_switch_mode\x18\x01 \x01(\x0e\x32=.google.cloud.video.livestream.v1.InputConfig.InputSwitchMode\"]\n\x0fInputSwitchMode\x12!\n\x1dINPUT_SWITCH_MODE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x46\x41ILOVER_PREFER_PRIMARY\x10\x01\x12\n\n\x06MANUAL\x10\x03\"\xc0\x01\n\tLogConfig\x12M\n\x0clog_severity\x18\x01 \x01(\x0e\x32\x37.google.cloud.video.livestream.v1.LogConfig.LogSeverity\"d\n\x0bLogSeverity\x12\x1c\n\x18LOG_SEVERITY_UNSPECIFIED\x10\x00\x12\x07\n\x03OFF\x10\x01\x12\t\n\x05\x44\x45\x42UG\x10\x64\x12\t\n\x04INFO\x10\xc8\x01\x12\x0c\n\x07WARNING\x10\x90\x03\x12\n\n\x05\x45RROR\x10\xf4\x03\"\xea\x01\n\x13InputStreamProperty\x12\x37\n\x13last_establish_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12L\n\rvideo_streams\x18\x02 \x03(\x0b\x32\x35.google.cloud.video.livestream.v1.VideoStreamProperty\x12L\n\raudio_streams\x18\x03 \x03(\x0b\x32\x35.google.cloud.video.livestream.v1.AudioStreamProperty\"i\n\x13VideoStreamProperty\x12\r\n\x05index\x18\x01 \x01(\x05\x12\x43\n\x0cvideo_format\x18\x02 \x01(\x0b\x32-.google.cloud.video.livestream.v1.VideoFormat\"]\n\x0bVideoFormat\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x14\n\x0cwidth_pixels\x18\x02 \x01(\x05\x12\x15\n\rheight_pixels\x18\x03 \x01(\x05\x12\x12\n\nframe_rate\x18\x04 \x01(\x01\"i\n\x13\x41udioStreamProperty\x12\r\n\x05index\x18\x01 \x01(\x05\x12\x43\n\x0c\x61udio_format\x18\x02 \x01(\x0b\x32-.google.cloud.video.livestream.v1.AudioFormat\"K\n\x0b\x41udioFormat\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rchannel_count\x18\x02 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x03 \x03(\t\"\xdd\x01\n\x0fInputAttachment\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05input\x18\x02 \x01(\tB$\xfa\x41!\n\x1flivestream.googleapis.com/Input\x12_\n\x12\x61utomatic_failover\x18\x03 \x01(\x0b\x32\x43.google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover\x1a\'\n\x11\x41utomaticFailover\x12\x12\n\ninput_keys\x18\x01 \x03(\t\"\xe8\t\n\x05\x45vent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x43\n\x06labels\x18\x04 \x03(\x0b\x32\x33.google.cloud.video.livestream.v1.Event.LabelsEntry\x12T\n\x0cinput_switch\x18\x05 \x01(\x0b\x32\x37.google.cloud.video.livestream.v1.Event.InputSwitchTaskB\x03\xe0\x41\x02H\x00\x12L\n\x08\x61\x64_break\x18\x06 \x01(\x0b\x32\x33.google.cloud.video.livestream.v1.Event.AdBreakTaskB\x03\xe0\x41\x02H\x00\x12]\n\x11return_to_program\x18\r \x01(\x0b\x32;.google.cloud.video.livestream.v1.Event.ReturnToProgramTaskB\x03\xe0\x41\x02H\x00\x12\x45\n\x04mute\x18\x0f \x01(\x0b\x32\x30.google.cloud.video.livestream.v1.Event.MuteTaskB\x03\xe0\x41\x02H\x00\x12I\n\x06unmute\x18\x10 \x01(\x0b\x32\x32.google.cloud.video.livestream.v1.Event.UnmuteTaskB\x03\xe0\x41\x02H\x00\x12\x13\n\x0b\x65xecute_now\x18\t \x01(\x08\x12\x32\n\x0e\x65xecution_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x05state\x18\x0b \x01(\x0e\x32-.google.cloud.video.livestream.v1.Event.StateB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\x0c \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x1a$\n\x0fInputSwitchTask\x12\x11\n\tinput_key\x18\x01 \x01(\t\x1a:\n\x0b\x41\x64\x42reakTask\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x15\n\x13ReturnToProgramTask\x1a\x37\n\x08MuteTask\x12+\n\x08\x64uration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x0c\n\nUnmuteTask\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0b\n\x07PENDING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06:o\xea\x41l\n\x1flivestream.googleapis.com/Event\x12Iprojects/{project}/locations/{location}/channels/{channel}/events/{event}B\x06\n\x04task\"\x9d\x08\n\nEncryption\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x19secret_manager_key_source\x18\x07 \x01(\x0b\x32@.google.cloud.video.livestream.v1.Encryption.SecretManagerSourceH\x00\x12Q\n\x0b\x64rm_systems\x18\x03 \x01(\x0b\x32\x37.google.cloud.video.livestream.v1.Encryption.DrmSystemsB\x03\xe0\x41\x02\x12O\n\x06\x61\x65s128\x18\x04 \x01(\x0b\x32=.google.cloud.video.livestream.v1.Encryption.Aes128EncryptionH\x01\x12V\n\nsample_aes\x18\x05 \x01(\x0b\x32@.google.cloud.video.livestream.v1.Encryption.SampleAesEncryptionH\x01\x12V\n\tmpeg_cenc\x18\x06 \x01(\x0b\x32\x41.google.cloud.video.livestream.v1.Encryption.MpegCommonEncryptionH\x01\x1a\x61\n\x13SecretManagerSource\x12J\n\x0esecret_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x1a\n\n\x08Widevine\x1a\n\n\x08\x46\x61irplay\x1a\x0b\n\tPlayready\x1a\n\n\x08\x43learkey\x1a\xb2\x02\n\nDrmSystems\x12G\n\x08widevine\x18\x01 \x01(\x0b\x32\x35.google.cloud.video.livestream.v1.Encryption.Widevine\x12G\n\x08\x66\x61irplay\x18\x02 \x01(\x0b\x32\x35.google.cloud.video.livestream.v1.Encryption.Fairplay\x12I\n\tplayready\x18\x03 \x01(\x0b\x32\x36.google.cloud.video.livestream.v1.Encryption.Playready\x12G\n\x08\x63learkey\x18\x04 \x01(\x0b\x32\x35.google.cloud.video.livestream.v1.Encryption.Clearkey\x1a\x12\n\x10\x41\x65s128Encryption\x1a\x15\n\x13SampleAesEncryption\x1a+\n\x14MpegCommonEncryption\x12\x13\n\x06scheme\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x0f\n\rsecret_sourceB\x11\n\x0f\x65ncryption_modeB\xeb\x01\n$com.google.cloud.video.livestream.v1B\x0eResourcesProtoP\x01ZDcloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb\xaa\x02 Google.Cloud.Video.LiveStream.V1\xca\x02 Google\\Cloud\\Video\\LiveStream\\V1\xea\x02$Google::Cloud::Video::LiveStream::V1b\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+
19
+ begin
20
+ pool.add_serialized_file(descriptor_data)
21
+ rescue TypeError => e
22
+ # Compatibility code: will be removed in the next major version.
23
+ require 'google/protobuf/descriptor_pb'
24
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
25
+ parsed.clear_dependency
26
+ serialized = parsed.class.encode(parsed)
27
+ file = pool.add_serialized_file(serialized)
28
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
29
+ imports = [
30
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
31
+ ["google.cloud.video.livestream.v1.PreprocessingConfig", "google/cloud/video/livestream/v1/outputs.proto"],
32
+ ["google.rpc.Status", "google/rpc/status.proto"],
33
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
198
39
  end
199
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
200
43
  end
201
44
 
202
45
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/video/livestream/v1/service.proto
3
4
 
@@ -13,113 +14,34 @@ require 'google/protobuf/empty_pb'
13
14
  require 'google/protobuf/field_mask_pb'
14
15
  require 'google/protobuf/timestamp_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/video/livestream/v1/service.proto", :syntax => :proto3) do
18
- add_message "google.cloud.video.livestream.v1.CreateChannelRequest" do
19
- optional :parent, :string, 1
20
- optional :channel, :message, 2, "google.cloud.video.livestream.v1.Channel"
21
- optional :channel_id, :string, 3
22
- optional :request_id, :string, 4
23
- end
24
- add_message "google.cloud.video.livestream.v1.ListChannelsRequest" do
25
- optional :parent, :string, 1
26
- optional :page_size, :int32, 2
27
- optional :page_token, :string, 3
28
- optional :filter, :string, 4
29
- optional :order_by, :string, 5
30
- end
31
- add_message "google.cloud.video.livestream.v1.ListChannelsResponse" do
32
- repeated :channels, :message, 1, "google.cloud.video.livestream.v1.Channel"
33
- optional :next_page_token, :string, 2
34
- repeated :unreachable, :string, 3
35
- end
36
- add_message "google.cloud.video.livestream.v1.GetChannelRequest" do
37
- optional :name, :string, 1
38
- end
39
- add_message "google.cloud.video.livestream.v1.DeleteChannelRequest" do
40
- optional :name, :string, 1
41
- optional :request_id, :string, 2
42
- optional :force, :bool, 3
43
- end
44
- add_message "google.cloud.video.livestream.v1.UpdateChannelRequest" do
45
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
46
- optional :channel, :message, 2, "google.cloud.video.livestream.v1.Channel"
47
- optional :request_id, :string, 3
48
- end
49
- add_message "google.cloud.video.livestream.v1.StartChannelRequest" do
50
- optional :name, :string, 1
51
- optional :request_id, :string, 2
52
- end
53
- add_message "google.cloud.video.livestream.v1.StopChannelRequest" do
54
- optional :name, :string, 1
55
- optional :request_id, :string, 2
56
- end
57
- add_message "google.cloud.video.livestream.v1.CreateInputRequest" do
58
- optional :parent, :string, 1
59
- optional :input, :message, 2, "google.cloud.video.livestream.v1.Input"
60
- optional :input_id, :string, 3
61
- optional :request_id, :string, 4
62
- end
63
- add_message "google.cloud.video.livestream.v1.ListInputsRequest" do
64
- optional :parent, :string, 1
65
- optional :page_size, :int32, 2
66
- optional :page_token, :string, 3
67
- optional :filter, :string, 4
68
- optional :order_by, :string, 5
69
- end
70
- add_message "google.cloud.video.livestream.v1.ListInputsResponse" do
71
- repeated :inputs, :message, 1, "google.cloud.video.livestream.v1.Input"
72
- optional :next_page_token, :string, 2
73
- repeated :unreachable, :string, 3
74
- end
75
- add_message "google.cloud.video.livestream.v1.GetInputRequest" do
76
- optional :name, :string, 1
77
- end
78
- add_message "google.cloud.video.livestream.v1.DeleteInputRequest" do
79
- optional :name, :string, 1
80
- optional :request_id, :string, 2
81
- end
82
- add_message "google.cloud.video.livestream.v1.UpdateInputRequest" do
83
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
84
- optional :input, :message, 2, "google.cloud.video.livestream.v1.Input"
85
- optional :request_id, :string, 3
86
- end
87
- add_message "google.cloud.video.livestream.v1.CreateEventRequest" do
88
- optional :parent, :string, 1
89
- optional :event, :message, 2, "google.cloud.video.livestream.v1.Event"
90
- optional :event_id, :string, 3
91
- optional :request_id, :string, 4
92
- end
93
- add_message "google.cloud.video.livestream.v1.ListEventsRequest" do
94
- optional :parent, :string, 1
95
- optional :page_size, :int32, 2
96
- optional :page_token, :string, 3
97
- optional :filter, :string, 4
98
- optional :order_by, :string, 5
99
- end
100
- add_message "google.cloud.video.livestream.v1.ListEventsResponse" do
101
- repeated :events, :message, 1, "google.cloud.video.livestream.v1.Event"
102
- optional :next_page_token, :string, 2
103
- repeated :unreachable, :string, 3
104
- end
105
- add_message "google.cloud.video.livestream.v1.GetEventRequest" do
106
- optional :name, :string, 1
107
- end
108
- add_message "google.cloud.video.livestream.v1.DeleteEventRequest" do
109
- optional :name, :string, 1
110
- optional :request_id, :string, 2
111
- end
112
- add_message "google.cloud.video.livestream.v1.ChannelOperationResponse" do
113
- end
114
- add_message "google.cloud.video.livestream.v1.OperationMetadata" do
115
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
116
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
117
- optional :target, :string, 3
118
- optional :verb, :string, 4
119
- optional :requested_cancellation, :bool, 5
120
- optional :api_version, :string, 6
17
+
18
+ descriptor_data = "\n.google/cloud/video/livestream/v1/service.proto\x12 google.cloud.video.livestream.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/video/livestream/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbf\x01\n\x14\x43reateChannelRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!livestream.googleapis.com/Channel\x12?\n\x07\x63hannel\x18\x02 \x01(\x0b\x32).google.cloud.video.livestream.v1.ChannelB\x03\xe0\x41\x02\x12\x17\n\nchannel_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x99\x01\n\x13ListChannelsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!livestream.googleapis.com/Channel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x81\x01\n\x14ListChannelsResponse\x12;\n\x08\x63hannels\x18\x01 \x03(\x0b\x32).google.cloud.video.livestream.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"L\n\x11GetChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\"r\n\x14\x44\x65leteChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\r\n\x05\x66orce\x18\x03 \x01(\x08\"\x9c\x01\n\x14UpdateChannelRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12?\n\x07\x63hannel\x18\x02 \x01(\x0b\x32).google.cloud.video.livestream.v1.ChannelB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"b\n\x13StartChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"a\n\x12StopChannelRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!livestream.googleapis.com/Channel\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\xb5\x01\n\x12\x43reateInputRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Input\x12;\n\x05input\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.InputB\x03\xe0\x41\x02\x12\x15\n\x08input_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x95\x01\n\x11ListInputsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Input\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListInputsResponse\x12\x37\n\x06inputs\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Input\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetInputRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Input\"_\n\x12\x44\x65leteInputRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Input\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x96\x01\n\x12UpdateInputRequest\x12/\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12;\n\x05input\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.InputB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"\xb5\x01\n\x12\x43reateEventRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Event\x12;\n\x05\x65vent\x18\x02 \x01(\x0b\x32\'.google.cloud.video.livestream.v1.EventB\x03\xe0\x41\x02\x12\x15\n\x08\x65vent_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"\x95\x01\n\x11ListEventsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1flivestream.googleapis.com/Event\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"{\n\x12ListEventsResponse\x12\x37\n\x06\x65vents\x18\x01 \x03(\x0b\x32\'.google.cloud.video.livestream.v1.Event\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"H\n\x0fGetEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Event\"_\n\x12\x44\x65leteEventRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1flivestream.googleapis.com/Event\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\x1a\n\x18\x43hannelOperationResponse\"\xe3\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x06 \x01(\tB\x03\xe0\x41\x03\x32\xd5\x19\n\x11LivestreamService\x12\xe0\x01\n\rCreateChannel\x12\x36.google.cloud.video.livestream.v1.CreateChannelRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/channels:\x07\x63hannel\xda\x41\x19parent,channel,channel_id\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\x12\xbc\x01\n\x0cListChannels\x12\x35.google.cloud.video.livestream.v1.ListChannelsRequest\x1a\x36.google.cloud.video.livestream.v1.ListChannelsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\xda\x41\x06parent\x12\xa9\x01\n\nGetChannel\x12\x33.google.cloud.video.livestream.v1.GetChannelRequest\x1a).google.cloud.video.livestream.v1.Channel\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\xda\x41\x04name\x12\xd0\x01\n\rDeleteChannel\x12\x36.google.cloud.video.livestream.v1.DeleteChannelRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\rUpdateChannel\x12\x36.google.cloud.video.livestream.v1.UpdateChannelRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07\x63hannel\xda\x41\x13\x63hannel,update_mask\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\x12\xda\x01\n\x0cStartChannel\x12\x35.google.cloud.video.livestream.v1.StartChannelRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/channels/*}:start:\x01*\xda\x41\x04name\xca\x41-\n\x18\x43hannelOperationResponse\x12\x11OperationMetadata\x12\xd7\x01\n\x0bStopChannel\x12\x34.google.cloud.video.livestream.v1.StopChannelRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/channels/*}:stop:\x01*\xda\x41\x04name\xca\x41-\n\x18\x43hannelOperationResponse\x12\x11OperationMetadata\x12\xd2\x01\n\x0b\x43reateInput\x12\x34.google.cloud.video.livestream.v1.CreateInputRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02\x33\"*/v1/{parent=projects/*/locations/*}/inputs:\x05input\xda\x41\x15parent,input,input_id\xca\x41\x1a\n\x05Input\x12\x11OperationMetadata\x12\xb4\x01\n\nListInputs\x12\x33.google.cloud.video.livestream.v1.ListInputsRequest\x1a\x34.google.cloud.video.livestream.v1.ListInputsResponse\";\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/inputs\xda\x41\x06parent\x12\xa1\x01\n\x08GetInput\x12\x31.google.cloud.video.livestream.v1.GetInputRequest\x1a\'.google.cloud.video.livestream.v1.Input\"9\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/locations/*/inputs/*}\xda\x41\x04name\x12\xca\x01\n\x0b\x44\x65leteInput\x12\x34.google.cloud.video.livestream.v1.DeleteInputRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02,**/v1/{name=projects/*/locations/*/inputs/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xd4\x01\n\x0bUpdateInput\x12\x34.google.cloud.video.livestream.v1.UpdateInputRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x39\x32\x30/v1/{input.name=projects/*/locations/*/inputs/*}:\x05input\xda\x41\x11input,update_mask\xca\x41\x1a\n\x05Input\x12\x11OperationMetadata\x12\xca\x01\n\x0b\x43reateEvent\x12\x34.google.cloud.video.livestream.v1.CreateEventRequest\x1a\'.google.cloud.video.livestream.v1.Event\"\\\x82\xd3\xe4\x93\x02>\"5/v1/{parent=projects/*/locations/*/channels/*}/events:\x05\x65vent\xda\x41\x15parent,event,event_id\x12\xbf\x01\n\nListEvents\x12\x33.google.cloud.video.livestream.v1.ListEventsRequest\x1a\x34.google.cloud.video.livestream.v1.ListEventsResponse\"F\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{parent=projects/*/locations/*/channels/*}/events\xda\x41\x06parent\x12\xac\x01\n\x08GetEvent\x12\x31.google.cloud.video.livestream.v1.GetEventRequest\x1a\'.google.cloud.video.livestream.v1.Event\"D\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/channels/*/events/*}\xda\x41\x04name\x12\xa1\x01\n\x0b\x44\x65leteEvent\x12\x34.google.cloud.video.livestream.v1.DeleteEventRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\x37*5/v1/{name=projects/*/locations/*/channels/*/events/*}\xda\x41\x04name\x1aM\xca\x41\x19livestream.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd0\x02\n$com.google.cloud.video.livestream.v1B\x0cServiceProtoP\x01ZDcloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb\xaa\x02 Google.Cloud.Video.LiveStream.V1\xca\x02 Google\\Cloud\\Video\\LiveStream\\V1\xea\x02$Google::Cloud::Video::LiveStream::V1\xea\x41\x64\n*secretmanager.googleapis.com/SecretVersion\x12\x36projects/{project}/secrets/{secret}/versions/{version}b\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.cloud.video.livestream.v1.Channel", "google/cloud/video/livestream/v1/resources.proto"],
34
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
35
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
121
41
  end
122
42
  end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
123
45
  end
124
46
 
125
47
  module Google
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -209,9 +209,57 @@ module Google
209
209
  # @!attribute [rw] common
210
210
  # @return [::Google::Api::CommonLanguageSettings]
211
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
212
242
  class DotnetSettings
213
243
  include ::Google::Protobuf::MessageExts
214
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
215
263
  end
216
264
 
217
265
  # Settings for Ruby client libraries.
@@ -305,6 +353,15 @@ module Google
305
353
 
306
354
  # Street View Org.
307
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
308
365
  end
309
366
 
310
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.4.0
4
+ version: 0.5.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-21 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.18.0
19
+ version: 0.19.0
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.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a