diff --git a/samples/analyze/video_detect_person_beta.py b/samples/analyze/video_detect_person.py similarity index 96% rename from samples/analyze/video_detect_person_beta.py rename to samples/analyze/video_detect_person.py index 143d1b7d..aea812c5 100644 --- a/samples/analyze/video_detect_person_beta.py +++ b/samples/analyze/video_detect_person.py @@ -12,10 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -# [START video_detect_person_beta] +# [START video_detect_person] import io -from google.cloud import videointelligence_v1p3beta1 as videointelligence +from google.cloud import videointelligence_v1 as videointelligence def detect_person(local_file_path="path/to/your/video-file.mp4"): @@ -98,4 +98,4 @@ def detect_person(local_file_path="path/to/your/video-file.mp4"): ) -# [END video_detect_person_beta] +# [END video_detect_person] diff --git a/samples/analyze/video_detect_person_gcs_beta.py b/samples/analyze/video_detect_person_gcs.py similarity index 95% rename from samples/analyze/video_detect_person_gcs_beta.py rename to samples/analyze/video_detect_person_gcs.py index 7496fd25..ebc63c19 100644 --- a/samples/analyze/video_detect_person_gcs_beta.py +++ b/samples/analyze/video_detect_person_gcs.py @@ -12,8 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# [START video_detect_person_gcs_beta] -from google.cloud import videointelligence_v1p3beta1 as videointelligence +# [START video_detect_person_gcs] +from google.cloud import videointelligence_v1 as videointelligence def detect_person(gcs_uri="gs://YOUR_BUCKET_ID/path/to/your/video.mp4"): @@ -93,4 +93,4 @@ def detect_person(gcs_uri="gs://YOUR_BUCKET_ID/path/to/your/video.mp4"): ) -# [END video_detect_person_gcs_beta] +# [END video_detect_person_gcs] diff --git a/samples/analyze/video_detect_person_gcs_beta_test.py b/samples/analyze/video_detect_person_gcs_test.py similarity index 90% rename from samples/analyze/video_detect_person_gcs_beta_test.py rename to samples/analyze/video_detect_person_gcs_test.py index 629e141a..739c3980 100644 --- a/samples/analyze/video_detect_person_gcs_beta_test.py +++ b/samples/analyze/video_detect_person_gcs_test.py @@ -16,7 +16,7 @@ import pytest -import video_detect_person_gcs_beta +import video_detect_person_gcs RESOURCES = os.path.join(os.path.dirname(__file__), "resources") @@ -25,7 +25,7 @@ def test_detect_person(capsys): input_uri = "gs://cloud-samples-data/video/googlework_tiny.mp4" - video_detect_person_gcs_beta.detect_person(gcs_uri=input_uri) + video_detect_person_gcs.detect_person(gcs_uri=input_uri) out, _ = capsys.readouterr() diff --git a/samples/analyze/video_detect_person_beta_test.py b/samples/analyze/video_detect_person_test.py similarity index 89% rename from samples/analyze/video_detect_person_beta_test.py rename to samples/analyze/video_detect_person_test.py index 4b7ce2ae..fcf7eb79 100644 --- a/samples/analyze/video_detect_person_beta_test.py +++ b/samples/analyze/video_detect_person_test.py @@ -16,7 +16,7 @@ import pytest -import video_detect_person_beta +import video_detect_person RESOURCES = os.path.join(os.path.dirname(__file__), "resources") @@ -25,7 +25,7 @@ def test_detect_person(capsys): local_file_path = os.path.join(RESOURCES, "googlework_tiny.mp4") - video_detect_person_beta.detect_person(local_file_path=local_file_path) + video_detect_person.detect_person(local_file_path=local_file_path) out, _ = capsys.readouterr()