diff --git a/video/live-stream/asset_test.py b/video/live-stream/asset_test.py index df6d1d4881c3..857d08fc69ee 100644 --- a/video/live-stream/asset_test.py +++ b/video/live-stream/asset_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/channel_event_test.py b/video/live-stream/channel_event_test.py index bb44c9e39202..41c793302425 100644 --- a/video/live-stream/channel_event_test.py +++ b/video/live-stream/channel_event_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/channel_test.py b/video/live-stream/channel_test.py index 99416ce9cf71..47790b96db57 100644 --- a/video/live-stream/channel_test.py +++ b/video/live-stream/channel_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/create_asset.py b/video/live-stream/create_asset.py index b76e1f52c307..f282eef3f5b8 100644 --- a/video/live-stream/create_asset.py +++ b/video/live-stream/create_asset.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/create_channel.py b/video/live-stream/create_channel.py index 41ccab51407b..20c3c3a3e94b 100644 --- a/video/live-stream/create_channel.py +++ b/video/live-stream/create_channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/create_channel_event.py b/video/live-stream/create_channel_event.py index c4ac5c1a3bd7..a1cc885f1648 100644 --- a/video/live-stream/create_channel_event.py +++ b/video/live-stream/create_channel_event.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/create_channel_with_backup_input.py b/video/live-stream/create_channel_with_backup_input.py index 0fda7a75f12c..79256385be6d 100644 --- a/video/live-stream/create_channel_with_backup_input.py +++ b/video/live-stream/create_channel_with_backup_input.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/create_input.py b/video/live-stream/create_input.py index 4481ce52c0c6..31d0b9ac33ab 100644 --- a/video/live-stream/create_input.py +++ b/video/live-stream/create_input.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/delete_asset.py b/video/live-stream/delete_asset.py index c5c9c19b5990..1215756bd6a4 100644 --- a/video/live-stream/delete_asset.py +++ b/video/live-stream/delete_asset.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/delete_channel.py b/video/live-stream/delete_channel.py index a7ae03f6e509..3f608b241783 100644 --- a/video/live-stream/delete_channel.py +++ b/video/live-stream/delete_channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/delete_channel_event.py b/video/live-stream/delete_channel_event.py index 040f712b7d7f..f8f920480318 100644 --- a/video/live-stream/delete_channel_event.py +++ b/video/live-stream/delete_channel_event.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/delete_input.py b/video/live-stream/delete_input.py index 0278082afe4d..c2751196c842 100644 --- a/video/live-stream/delete_input.py +++ b/video/live-stream/delete_input.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/get_asset.py b/video/live-stream/get_asset.py index 66d9b25d367b..a2606eb238eb 100644 --- a/video/live-stream/get_asset.py +++ b/video/live-stream/get_asset.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/get_channel.py b/video/live-stream/get_channel.py index bf9a39f650b9..03ee0d19188f 100644 --- a/video/live-stream/get_channel.py +++ b/video/live-stream/get_channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/get_channel_event.py b/video/live-stream/get_channel_event.py index 59adc03ebcae..81d01844dd1b 100644 --- a/video/live-stream/get_channel_event.py +++ b/video/live-stream/get_channel_event.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/get_input.py b/video/live-stream/get_input.py index 21cdbbbdd56d..bc4e2d4b468c 100644 --- a/video/live-stream/get_input.py +++ b/video/live-stream/get_input.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/get_pool.py b/video/live-stream/get_pool.py index db56c1181759..8b48e7c1302f 100644 --- a/video/live-stream/get_pool.py +++ b/video/live-stream/get_pool.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/input_test.py b/video/live-stream/input_test.py index 63f7b02ec836..585c3dc7bfae 100644 --- a/video/live-stream/input_test.py +++ b/video/live-stream/input_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/list_assets.py b/video/live-stream/list_assets.py index 7136cab5822c..6e5bb4731c95 100644 --- a/video/live-stream/list_assets.py +++ b/video/live-stream/list_assets.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/list_channel_events.py b/video/live-stream/list_channel_events.py index ab3cfc961dcc..cd3c96d6d47f 100644 --- a/video/live-stream/list_channel_events.py +++ b/video/live-stream/list_channel_events.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/list_channels.py b/video/live-stream/list_channels.py index 731c04eda181..d31969c830eb 100644 --- a/video/live-stream/list_channels.py +++ b/video/live-stream/list_channels.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/list_inputs.py b/video/live-stream/list_inputs.py index e273d7eccc60..f72da76a2bde 100644 --- a/video/live-stream/list_inputs.py +++ b/video/live-stream/list_inputs.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/pool_test.py b/video/live-stream/pool_test.py index 315c327f0201..8b157a155034 100644 --- a/video/live-stream/pool_test.py +++ b/video/live-stream/pool_test.py @@ -1,4 +1,4 @@ -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/start_channel.py b/video/live-stream/start_channel.py index 8bb9204ee98e..afcd385b4849 100644 --- a/video/live-stream/start_channel.py +++ b/video/live-stream/start_channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/stop_channel.py b/video/live-stream/stop_channel.py index c7ccff2ae8bb..41f641672aa7 100644 --- a/video/live-stream/stop_channel.py +++ b/video/live-stream/stop_channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/update_channel.py b/video/live-stream/update_channel.py index b1179433cc18..6bc606005644 100644 --- a/video/live-stream/update_channel.py +++ b/video/live-stream/update_channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/update_input.py b/video/live-stream/update_input.py index 04236b0d797a..f270d5fe5972 100644 --- a/video/live-stream/update_input.py +++ b/video/live-stream/update_input.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2022 Google Inc. All Rights Reserved. +# Copyright 2022 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/update_pool.py b/video/live-stream/update_pool.py index 26d0839520d6..6ed9a4ce3cbd 100644 --- a/video/live-stream/update_pool.py +++ b/video/live-stream/update_pool.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Copyright 2023 Google Inc. All Rights Reserved. +# Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/video/live-stream/utils.py b/video/live-stream/utils.py index e0221d9c6225..30d34f3c1612 100644 --- a/video/live-stream/utils.py +++ b/video/live-stream/utils.py @@ -1,3 +1,17 @@ +# Copyright 2023 Google LLC. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + from google.protobuf import timestamp_pb2 seconds_per_hour = 3600