Skip to content

Commit

Permalink
chore(migration): Migrate code from googleapis/python-video-live-stre…
Browse files Browse the repository at this point in the history
…am into packages/google-cloud-video-live-stream (#11679)

See #10966. 

This PR should be merged with a merge-commit, not a squash-commit, in
order to preserve the git history.
  • Loading branch information
parthea authored Sep 20, 2023
2 parents 3a1e8ff + 84713d2 commit 63b8171
Show file tree
Hide file tree
Showing 72 changed files with 36,492 additions and 0 deletions.
23 changes: 23 additions & 0 deletions packages/google-cloud-video-live-stream/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2022 Google LLC
#
# 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.


deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/video/livestream/(v.*)/.*-py
dest: /owl-bot-staging/google-cloud-video-live-stream/$1

begin-after-commit-hash: 70f7f0525414fe4dfeb2fc2e81546b073f83a621
13 changes: 13 additions & 0 deletions packages/google-cloud-video-live-stream/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True

[report]
show_missing = True
omit =
google/cloud/video/live_stream/__init__.py
google/cloud/video/live_stream/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
33 changes: 33 additions & 0 deletions packages/google-cloud-video-live-stream/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Copyright 2023 Google LLC
#
# 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
#
# https://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.

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E231, E266, E501, W503
exclude =
# Exclude generated code.
**/proto/**
**/gapic/**
**/services/**
**/types/**
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
conf.py
63 changes: 63 additions & 0 deletions packages/google-cloud-video-live-stream/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
*.py[cod]
*.sw[op]

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
.eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.nox
.cache
.pytest_cache


# Mac
.DS_Store

# JetBrains
.idea

# VS Code
.vscode

# emacs
*~

# Built documentation
docs/_build
bigquery/docs/generated
docs.metadata

# Virtual environment
env/

# Test logs
coverage.xml
*sponge_log.xml

# System test environment variables.
system_tests/local_test_setup

# Make sure a generated file isn't accidentally committed.
pylintrc
pylintrc.test
31 changes: 31 additions & 0 deletions packages/google-cloud-video-live-stream/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2023 Google LLC
#
# 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.
#
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.5.2"
}
17 changes: 17 additions & 0 deletions packages/google-cloud-video-live-stream/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "livestream",
"name_pretty": "Live Stream",
"product_documentation": "https://cloud.google.com/livestream/docs",
"client_documentation": "https://cloud.google.com/python/docs/reference/livestream/latest",
"issue_tracker": "",
"release_level": "stable",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/python-video-live-stream",
"distribution_name": "google-cloud-video-live-stream",
"api_id": "livestream.googleapis.com",
"default_version": "v1",
"codeowner_team": "",
"api_shortname": "livestream",
"api_description": "transcodes mezzanine live signals into direct-to-consumer streaming formats, including Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live Streaming (HLS), for multiple device platforms."
}
198 changes: 198 additions & 0 deletions packages/google-cloud-video-live-stream/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
# Changelog

## [1.5.2](https://github.com/googleapis/python-video-live-stream/compare/v1.5.1...v1.5.2) (2023-09-19)


### Documentation

* Minor formatting ([39eb5b3](https://github.com/googleapis/python-video-live-stream/commit/39eb5b313967dfeb47cbaeb99e5b64030c53afae))
* Remove migrated samples ([#187](https://github.com/googleapis/python-video-live-stream/issues/187)) ([0988a81](https://github.com/googleapis/python-video-live-stream/commit/0988a81ddc2f7bab18186604d28c030be646bf09))

## [1.5.1](https://github.com/googleapis/python-video-live-stream/compare/v1.5.0...v1.5.1) (2023-08-11)


### Documentation

* **samples:** Add samples and tests for pools and assets ([#180](https://github.com/googleapis/python-video-live-stream/issues/180)) ([95977cc](https://github.com/googleapis/python-video-live-stream/commit/95977cc61c207db463675aae969e8b28e0173c7d))

## [1.5.0](https://github.com/googleapis/python-video-live-stream/compare/v1.4.1...v1.5.0) (2023-08-09)


### Features

* Added a new asset resource which can be used as the content of slate events ([825eedf](https://github.com/googleapis/python-video-live-stream/commit/825eedff15c4bb036cbcd2fe52bf7ae0fa4c9c46))
* Added a new pool resource for protecting input endpoints within a VPC Service Controls perimeter ([825eedf](https://github.com/googleapis/python-video-live-stream/commit/825eedff15c4bb036cbcd2fe52bf7ae0fa4c9c46))
* Added support for slate events which allow users to create and insert a slate into a live stream to replace the main live stream content ([825eedf](https://github.com/googleapis/python-video-live-stream/commit/825eedff15c4bb036cbcd2fe52bf7ae0fa4c9c46))

## [1.4.1](https://github.com/googleapis/python-video-live-stream/compare/v1.4.0...v1.4.1) (2023-07-04)


### Bug Fixes

* Add async context manager return types ([#167](https://github.com/googleapis/python-video-live-stream/issues/167)) ([f010478](https://github.com/googleapis/python-video-live-stream/commit/f0104783006f7816b5f79816ee9c3019e1c9a29c))

## [1.4.0](https://github.com/googleapis/python-video-live-stream/compare/v1.3.0...v1.4.0) (2023-03-23)


### Features

* Added Encryption for enabling output encryption with DRM systems ([638bd0a](https://github.com/googleapis/python-video-live-stream/commit/638bd0ac4008b5b2004067dbcd7307899e700f27))
* Added InputConfig to allow enabling/disabling automatic failover ([638bd0a](https://github.com/googleapis/python-video-live-stream/commit/638bd0ac4008b5b2004067dbcd7307899e700f27))
* Added new tasks to Event: inputSwitch, returnToProgram, mute, unmute ([638bd0a](https://github.com/googleapis/python-video-live-stream/commit/638bd0ac4008b5b2004067dbcd7307899e700f27))
* Added support for audio normalization and audio gain ([638bd0a](https://github.com/googleapis/python-video-live-stream/commit/638bd0ac4008b5b2004067dbcd7307899e700f27))
* Added TimecodeConfig for specifying the source of timecode used in media workflow synchronization ([638bd0a](https://github.com/googleapis/python-video-live-stream/commit/638bd0ac4008b5b2004067dbcd7307899e700f27))


### Documentation

* Clarify behavior when update_mask is omitted in PATCH requests ([638bd0a](https://github.com/googleapis/python-video-live-stream/commit/638bd0ac4008b5b2004067dbcd7307899e700f27))
* Fix formatting of request arg in docstring ([#154](https://github.com/googleapis/python-video-live-stream/issues/154)) ([c41b461](https://github.com/googleapis/python-video-live-stream/commit/c41b4613db09b35c92b3f18d09591755ea7039be))

## [1.3.0](https://github.com/googleapis/python-video-live-stream/compare/v1.2.1...v1.3.0) (2023-02-28)


### Features

* Enable "rest" transport in Python for services supporting numeric enums ([#145](https://github.com/googleapis/python-video-live-stream/issues/145)) ([f0cb14c](https://github.com/googleapis/python-video-live-stream/commit/f0cb14c02276e10720da178ff05d63287f39b90e))

## [1.2.1](https://github.com/googleapis/python-video-live-stream/compare/v1.2.0...v1.2.1) (2023-01-23)


### Bug Fixes

* Add context manager return types ([379c135](https://github.com/googleapis/python-video-live-stream/commit/379c1353e33a2625912f7f4e489f17faf8dd1bb8))


### Documentation

* Add documentation for enums ([379c135](https://github.com/googleapis/python-video-live-stream/commit/379c1353e33a2625912f7f4e489f17faf8dd1bb8))

## [1.2.0](https://github.com/googleapis/python-video-live-stream/compare/v1.1.0...v1.2.0) (2023-01-10)


### Features

* Add support for python 3.11 ([#133](https://github.com/googleapis/python-video-live-stream/issues/133)) ([e6ca5aa](https://github.com/googleapis/python-video-live-stream/commit/e6ca5aabc80f70430dc36a35181d8a50d976af78))

## [1.1.0](https://github.com/googleapis/python-video-live-stream/compare/v1.0.4...v1.1.0) (2022-12-15)


### Features

* Add support for `google.cloud.video.live_stream.__version__` ([714cbd4](https://github.com/googleapis/python-video-live-stream/commit/714cbd4098cca36a7768f5c8d99b426e58ebc0a7))
* Add typing to proto.Message based class attributes ([714cbd4](https://github.com/googleapis/python-video-live-stream/commit/714cbd4098cca36a7768f5c8d99b426e58ebc0a7))


### Bug Fixes

* Add dict typing for client_options ([714cbd4](https://github.com/googleapis/python-video-live-stream/commit/714cbd4098cca36a7768f5c8d99b426e58ebc0a7))
* **deps:** Require google-api-core >=1.34.0, >=2.11.0 ([b836b51](https://github.com/googleapis/python-video-live-stream/commit/b836b51773c80bc25599d53d56bed3a88e68ad25))
* Drop usage of pkg_resources ([b836b51](https://github.com/googleapis/python-video-live-stream/commit/b836b51773c80bc25599d53d56bed3a88e68ad25))
* Fix timeout default values ([b836b51](https://github.com/googleapis/python-video-live-stream/commit/b836b51773c80bc25599d53d56bed3a88e68ad25))


### Documentation

* **samples:** Snippetgen handling of repeated enum field ([714cbd4](https://github.com/googleapis/python-video-live-stream/commit/714cbd4098cca36a7768f5c8d99b426e58ebc0a7))
* **samples:** Snippetgen should call await on the operation coroutine before calling result ([b836b51](https://github.com/googleapis/python-video-live-stream/commit/b836b51773c80bc25599d53d56bed3a88e68ad25))

## [1.0.4](https://github.com/googleapis/python-video-live-stream/compare/v1.0.3...v1.0.4) (2022-10-07)


### Bug Fixes

* **deps:** Allow protobuf 3.19.5 ([#116](https://github.com/googleapis/python-video-live-stream/issues/116)) ([db8e690](https://github.com/googleapis/python-video-live-stream/commit/db8e690192ef15766f1bab49d68d25a518c875f5))

## [1.0.3](https://github.com/googleapis/python-video-live-stream/compare/v1.0.2...v1.0.3) (2022-09-29)


### Bug Fixes

* **deps:** Require protobuf >= 3.20.2 ([#113](https://github.com/googleapis/python-video-live-stream/issues/113)) ([1c7d6ff](https://github.com/googleapis/python-video-live-stream/commit/1c7d6ff672487d4e5c79034a41cc053390ca2ac7))

## [1.0.2](https://github.com/googleapis/python-video-live-stream/compare/v1.0.1...v1.0.2) (2022-08-11)


### Bug Fixes

* **deps:** allow protobuf < 5.0.0 ([#91](https://github.com/googleapis/python-video-live-stream/issues/91)) ([7493188](https://github.com/googleapis/python-video-live-stream/commit/749318882fade03988ef26f7dde297e9301fb6fd))
* **deps:** require proto-plus >= 1.22.0 ([7493188](https://github.com/googleapis/python-video-live-stream/commit/749318882fade03988ef26f7dde297e9301fb6fd))

## [1.0.1](https://github.com/googleapis/python-video-live-stream/compare/v1.0.0...v1.0.1) (2022-08-02)


### Documentation

* **samples:** fix timeout for create input and start channel LROs; first call can take up to 15 minutes ([#86](https://github.com/googleapis/python-video-live-stream/issues/86)) ([6062208](https://github.com/googleapis/python-video-live-stream/commit/60622087d88be430cce2ef9c77ffe58b15af24e7))

## [1.0.0](https://github.com/googleapis/python-video-live-stream/compare/v0.2.0...v1.0.0) (2022-07-18)


### Features

* bump release level to production/stable ([#31](https://github.com/googleapis/python-video-live-stream/issues/31)) ([b52dbc7](https://github.com/googleapis/python-video-live-stream/commit/b52dbc7c518dd338bdc221558fc433e5f5057535))

## [0.2.0](https://github.com/googleapis/python-video-live-stream/compare/v0.1.5...v0.2.0) (2022-07-16)


### Features

* add audience parameter ([f8824ce](https://github.com/googleapis/python-video-live-stream/commit/f8824ce3ca3055939a6d2ce407c414e21e140e4b))


### Bug Fixes

* **deps:** require google-api-core>=1.32.0,>=2.8.0 ([#78](https://github.com/googleapis/python-video-live-stream/issues/78)) ([e2f1b17](https://github.com/googleapis/python-video-live-stream/commit/e2f1b17565d44f34b33d8881243fb683fba3f37f))
* require python 3.7+ ([#77](https://github.com/googleapis/python-video-live-stream/issues/77)) ([a4e7d42](https://github.com/googleapis/python-video-live-stream/commit/a4e7d427c504ac1f39e64f7417731832926a2500))


### Documentation

* align channel config with best practices ([#71](https://github.com/googleapis/python-video-live-stream/issues/71)) ([2a1a5b2](https://github.com/googleapis/python-video-live-stream/commit/2a1a5b20f6ecb9530fa48ba22f384d266301a825))

## [0.1.5](https://github.com/googleapis/python-video-live-stream/compare/v0.1.4...v0.1.5) (2022-06-03)


### Bug Fixes

* **deps:** require protobuf <4.0.0dev ([#65](https://github.com/googleapis/python-video-live-stream/issues/65)) ([a072bbf](https://github.com/googleapis/python-video-live-stream/commit/a072bbf7d411b4595e5f915866a839eb52e3d208))


### Documentation

* fix changelog header to consistent size ([#66](https://github.com/googleapis/python-video-live-stream/issues/66)) ([fbc3528](https://github.com/googleapis/python-video-live-stream/commit/fbc3528b4d2f22751c0f5a99bae513668fcb3db5))

## [0.1.4](https://github.com/googleapis/python-video-live-stream/compare/v0.1.3...v0.1.4) (2022-05-22)


### Documentation

* updated comments to match API behaviors ([#45](https://github.com/googleapis/python-video-live-stream/issues/45)) ([bdc9463](https://github.com/googleapis/python-video-live-stream/commit/bdc9463156a63439ef41621405394042d01f3cb9))

## [0.1.3](https://github.com/googleapis/python-video-live-stream/compare/v0.1.2...v0.1.3) (2022-05-03)


### Documentation

* **samples:** add sample for creating a channel with a failover backup input ([#37](https://github.com/googleapis/python-video-live-stream/issues/37)) ([9587382](https://github.com/googleapis/python-video-live-stream/commit/958738237c7c055a3a656ce2c3a7964e49d6b6b1))

## [0.1.2](https://github.com/googleapis/python-video-live-stream/compare/v0.1.1...v0.1.2) (2022-04-28)


### Documentation

* **samples:** add code samples ([#21](https://github.com/googleapis/python-video-live-stream/issues/21)) ([484271d](https://github.com/googleapis/python-video-live-stream/commit/484271de8790e2d9d0d4ea02feb344398317ffe5))

## [0.1.1](https://github.com/googleapis/python-video-live-stream/compare/v0.1.0...v0.1.1) (2022-03-05)


### Bug Fixes

* **deps:** require google-api-core>=1.31.5, >=2.3.2 ([#13](https://github.com/googleapis/python-video-live-stream/issues/13)) ([471eb70](https://github.com/googleapis/python-video-live-stream/commit/471eb700a7c6d928f4d03e9c438be6fa81d85a52))

## 0.1.0 (2022-02-15)


### Features

* generate v1 ([9ea3475](https://github.com/googleapis/python-video-live-stream/commit/9ea347500bc80bb43d8f30d559cfa6b9838ffc46))
Loading

0 comments on commit 63b8171

Please sign in to comment.