From 1786b36077b1e3c655685e02a6d9f61a1bb42930 Mon Sep 17 00:00:00 2001 From: Kayla Nguyen Date: Tue, 16 Nov 2021 20:56:57 -0800 Subject: [PATCH 1/2] refactor: update gcs sample --- functions/v2/storage/main.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/functions/v2/storage/main.py b/functions/v2/storage/main.py index 7828b19e2c9..cf55c180d04 100644 --- a/functions/v2/storage/main.py +++ b/functions/v2/storage/main.py @@ -12,14 +12,17 @@ # See the License for the specific language governing permissions and # limitations under the License. +import functions_framework + # [START functions_helloworld_storage] # Triggered by a change in a storage bucket -def hello_gcs(cloudevent): - data = cloudevent.data +@functions_framework.cloud_event +def hello_gcs(cloud_event): + data = cloud_event.data - event_id = cloudevent["id"] - event_type = cloudevent["type"] + event_id = cloud_event["id"] + event_type = cloud_event["type"] bucket = data["bucket"] name = data["name"] From edf19a4f8bc660b5b3557b80ab64d6f66cce1ecb Mon Sep 17 00:00:00 2001 From: Dan Lee <71398022+dandhlee@users.noreply.github.com> Date: Tue, 23 Nov 2021 13:08:21 -0500 Subject: [PATCH 2/2] fix rebase --- .kokoro/tests/run_single_test.sh | 2 +- .kokoro/tests/run_tests_orig.sh | 2 +- AUTHORING_GUIDE.md | 4 ++-- .../endpoints-frameworks-v2/iata/requirements.txt | 3 ++- asset/README.rst | 2 +- automl/README.rst | 2 +- bigquery/cloud-client/README.rst | 2 +- bigquery_storage/to_dataframe/README.rst | 2 +- cloud-sql/mysql/client-side-encryption/README.md | 2 +- cloud-sql/postgres/client-side-encryption/README.md | 2 +- cloud-sql/sql-server/client-side-encryption/README.md | 2 +- ....py => clear_file_system_caches_dag_composer_v1.py} | 10 ++++++---- ...> clear_file_system_caches_dag_composer_v1_test.py} | 0 compute/encryption/requirements.txt | 2 +- container_registry/container_analysis/README.md | 4 +++- datacatalog/cloud-client/README.rst | 2 +- datalabeling/README.md | 2 +- dataproc/README.md | 2 +- dialogflow/cloud-client/README.rst | 2 +- dlp/README.md | 2 +- document/README.rst | 2 +- error_reporting/README.md | 2 +- functions/v2/storage/requirements.txt | 1 + iam/api-client/requirements.txt | 2 +- iap/requirements.txt | 2 +- iot/api-client/codelabs/requirements.txt | 2 +- iot/api-client/end_to_end_example/requirements.txt | 2 +- iot/api-client/gcs_file_to_device/requirements.txt | 2 +- iot/api-client/http_example/requirements.txt | 2 +- iot/api-client/manager/README.md | 2 +- iot/api-client/mqtt_example/requirements.txt | 2 +- jobs/v4beta1/README.rst | 2 +- kms/README.rst | 2 +- language/README.md | 2 +- logging/cloud-client/README.rst | 2 +- monitoring/api/v3/alerts-client/README.md | 2 +- monitoring/api/v3/cloud-client/README.md | 2 +- monitoring/api/v3/uptime-check-client/README.md | 2 +- pubsub/cloud-client/README.rst | 2 +- scheduler/README.md | 2 +- secretmanager/README.md | 2 +- speech/README.rst | 2 +- tables/README.rst | 2 +- tasks/README.md | 2 +- texttospeech/cloud-client/README.rst | 2 +- translate/automl/README.rst | 2 +- translate/cloud-client/README.rst | 2 +- video/cloud-client/README.rst | 2 +- vision/cloud-client/README.md | 2 +- 49 files changed, 57 insertions(+), 51 deletions(-) rename composer/workflows/{clear_file_system_caches_dag.py => clear_file_system_caches_dag_composer_v1.py} (91%) rename composer/workflows/{clear_file_system_caches_dag_test.py => clear_file_system_caches_dag_composer_v1_test.py} (100%) diff --git a/.kokoro/tests/run_single_test.sh b/.kokoro/tests/run_single_test.sh index ed1b5beae68..1afbddd26b8 100755 --- a/.kokoro/tests/run_single_test.sh +++ b/.kokoro/tests/run_single_test.sh @@ -90,7 +90,7 @@ set -e # If REPORT_TO_BUILD_COP_BOT is set to "true", send the test log # to the FlakyBot. # See: -# https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot. +# https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot. if [[ "${REPORT_TO_BUILD_COP_BOT:-}" == "true" ]]; then chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot $KOKORO_GFILE_DIR/linux_amd64/flakybot diff --git a/.kokoro/tests/run_tests_orig.sh b/.kokoro/tests/run_tests_orig.sh index bfde6b70339..a00bfacdb08 100755 --- a/.kokoro/tests/run_tests_orig.sh +++ b/.kokoro/tests/run_tests_orig.sh @@ -179,7 +179,7 @@ for file in **/requirements.txt; do # If REPORT_TO_BUILD_COP_BOT is set to "true", send the test log # to the FlakyBot. # See: - # https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot. + # https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot. if [[ "${REPORT_TO_BUILD_COP_BOT:-}" == "true" ]]; then chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot $KOKORO_GFILE_DIR/linux_amd64/flakybot diff --git a/AUTHORING_GUIDE.md b/AUTHORING_GUIDE.md index 5bd07d0b520..d6853d8e94b 100644 --- a/AUTHORING_GUIDE.md +++ b/AUTHORING_GUIDE.md @@ -73,7 +73,7 @@ client library repository `googleapis/python-{api}`. Other samples should be pla `python-docs-samples`. **Library repositories:** Each sample should be in a folder under the top-level samples folder `samples` -in the client library repository. See the [Text-to-Speech samples](https://github.com/googleapis/python-texttospeech/tree/master/samples) +in the client library repository. See the [Text-to-Speech samples](https://github.com/googleapis/python-texttospeech/tree/main/samples) for an example. **python-docs-samples:** Each sample should be in a folder under the top-level folder of @@ -788,7 +788,7 @@ environment variable. The resources required by tests can usually be found in the `./resources` folder inside the `samples/snippets` directory in client libraries, as in -[this example](https://github.com/googleapis/python-automl/tree/master/samples/snippets/resources). +[this example](https://github.com/googleapis/python-automl/tree/main/samples/snippets/resources). You can upload those resources to your own GCS bucket to run the tests with [gsutil](https://cloud.google.com/storage/docs/gsutil). For example: diff --git a/appengine/standard/endpoints-frameworks-v2/iata/requirements.txt b/appengine/standard/endpoints-frameworks-v2/iata/requirements.txt index 9916c3d385e..72158a6de0d 100644 --- a/appengine/standard/endpoints-frameworks-v2/iata/requirements.txt +++ b/appengine/standard/endpoints-frameworks-v2/iata/requirements.txt @@ -1,3 +1,4 @@ google-endpoints==4.8.0 google-endpoints-api-management==1.11.1 -rsa==4.5 +rsa==4.8; python_version > "3.0" +rsa==4.5; python_version < "3.0" diff --git a/asset/README.rst b/asset/README.rst index a6c8b35f0f1..d0adca59a09 100644 --- a/asset/README.rst +++ b/asset/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-asset/tree/master/samples +https://github.com/googleapis/python-asset/tree/main/samples diff --git a/automl/README.rst b/automl/README.rst index bd03c2b92b8..9de68506aa2 100644 --- a/automl/README.rst +++ b/automl/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-automl/tree/master/samples +https://github.com/googleapis/python-automl/tree/main/samples diff --git a/bigquery/cloud-client/README.rst b/bigquery/cloud-client/README.rst index ae3027f050d..1690fb0a11e 100644 --- a/bigquery/cloud-client/README.rst +++ b/bigquery/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-bigquery/tree/master/samples/snippets +https://github.com/googleapis/python-bigquery/tree/main/samples/snippets diff --git a/bigquery_storage/to_dataframe/README.rst b/bigquery_storage/to_dataframe/README.rst index b27e3cebb2a..1e6bb90e7c4 100644 --- a/bigquery_storage/to_dataframe/README.rst +++ b/bigquery_storage/to_dataframe/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-bigquery-storage/tree/master/samples/to_dataframe +https://github.com/googleapis/python-bigquery-storage/tree/main/samples/to_dataframe diff --git a/cloud-sql/mysql/client-side-encryption/README.md b/cloud-sql/mysql/client-side-encryption/README.md index f77aeaf9998..4ad03b22736 100644 --- a/cloud-sql/mysql/client-side-encryption/README.md +++ b/cloud-sql/mysql/client-side-encryption/README.md @@ -23,7 +23,7 @@ Download a JSON key to use to authenticate your connection. 1. **macOS / Windows only**: Configure gRPC Root Certificates: On some platforms you may need to accept the Google server certificates, see instructions for setting up -[root certs](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates). +[root certs](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates). ## Running locally diff --git a/cloud-sql/postgres/client-side-encryption/README.md b/cloud-sql/postgres/client-side-encryption/README.md index d9a340a337e..483dbaed52e 100644 --- a/cloud-sql/postgres/client-side-encryption/README.md +++ b/cloud-sql/postgres/client-side-encryption/README.md @@ -23,7 +23,7 @@ Download a JSON key to use to authenticate your connection. 1. **macOS / Windows only**: Configure gRPC Root Certificates: On some platforms you may need to accept the Google server certificates, see instructions for setting up -[root certs](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates). +[root certs](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates). ## Running locally diff --git a/cloud-sql/sql-server/client-side-encryption/README.md b/cloud-sql/sql-server/client-side-encryption/README.md index 66d21442601..c319b39ef8a 100644 --- a/cloud-sql/sql-server/client-side-encryption/README.md +++ b/cloud-sql/sql-server/client-side-encryption/README.md @@ -23,7 +23,7 @@ Download a JSON key to use to authenticate your connection. 1. **macOS / Windows only**: Configure gRPC Root Certificates: On some platforms you may need to accept the Google server certificates, see instructions for setting up -[root certs](https://github.com/googleapis/google-cloud-cpp/blob/master/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates). +[root certs](https://github.com/googleapis/google-cloud-cpp/blob/main/google/cloud/bigtable/examples/README.md#configure-grpc-root-certificates). ## Running locally diff --git a/composer/workflows/clear_file_system_caches_dag.py b/composer/workflows/clear_file_system_caches_dag_composer_v1.py similarity index 91% rename from composer/workflows/clear_file_system_caches_dag.py rename to composer/workflows/clear_file_system_caches_dag_composer_v1.py index 4269eb93ade..66be8ceed5f 100644 --- a/composer/workflows/clear_file_system_caches_dag.py +++ b/composer/workflows/clear_file_system_caches_dag_composer_v1.py @@ -11,8 +11,6 @@ # 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. - -"""A dag that prevents memory leaks on scheduler and workers.""" from datetime import timedelta import os @@ -20,9 +18,13 @@ from airflow import DAG from airflow.operators.bash_operator import BashOperator + +"""A dag that prevents memory leaks on scheduler and workers.""" +"""This DAG is unsupported for usage in Composer v2""" + dag = DAG( - 'clear_file_system_caches_dag', - description='clear file system caches on scheduler and workers', + 'clear_file_system_caches_dag_composer_v1', + description='clear file system caches on scheduler and workers in Composer v1', schedule_interval='*/30 * * * *', dagrun_timeout=timedelta(minutes=20), start_date=airflow.utils.dates.days_ago(1), diff --git a/composer/workflows/clear_file_system_caches_dag_test.py b/composer/workflows/clear_file_system_caches_dag_composer_v1_test.py similarity index 100% rename from composer/workflows/clear_file_system_caches_dag_test.py rename to composer/workflows/clear_file_system_caches_dag_composer_v1_test.py diff --git a/compute/encryption/requirements.txt b/compute/encryption/requirements.txt index fdd2c47596a..229779e0dda 100644 --- a/compute/encryption/requirements.txt +++ b/compute/encryption/requirements.txt @@ -1,4 +1,4 @@ -cryptography==35.0.0 +cryptography==36.0.0 requests==2.26.0 google-api-python-client==2.31.0 google-auth==2.3.3 diff --git a/container_registry/container_analysis/README.md b/container_registry/container_analysis/README.md index a30c53f6a01..68aaa646aaa 100644 --- a/container_registry/container_analysis/README.md +++ b/container_registry/container_analysis/README.md @@ -1 +1,3 @@ -These samples have been moved to https://github.com/googleapis/python-containeranalysis/tree/master/samples +These samples have been moved. + +https://github.com/googleapis/python-containeranalysis/tree/main/samples diff --git a/datacatalog/cloud-client/README.rst b/datacatalog/cloud-client/README.rst index 051b279924d..28054c6a1b0 100644 --- a/datacatalog/cloud-client/README.rst +++ b/datacatalog/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-datacatalog/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-datacatalog/tree/main/samples diff --git a/datalabeling/README.md b/datalabeling/README.md index ad557cae436..70a4d55b0de 100644 --- a/datalabeling/README.md +++ b/datalabeling/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-datalabeling/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-datalabeling/tree/main/samples diff --git a/dataproc/README.md b/dataproc/README.md index 150e90cc3f6..bbe6a2977ea 100644 --- a/dataproc/README.md +++ b/dataproc/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-dataproc/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-dataproc/tree/main/samples diff --git a/dialogflow/cloud-client/README.rst b/dialogflow/cloud-client/README.rst index be843dc1df3..22f0fcf31ef 100644 --- a/dialogflow/cloud-client/README.rst +++ b/dialogflow/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-dialogflow/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-dialogflow/tree/main/samples diff --git a/dlp/README.md b/dlp/README.md index 0bf090fe23c..df1718bc765 100644 --- a/dlp/README.md +++ b/dlp/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-dlp/tree/master/samples +https://github.com/googleapis/python-dlp/tree/main/samples diff --git a/document/README.rst b/document/README.rst index 1bd0ec4b6cc..9594ec00a83 100644 --- a/document/README.rst +++ b/document/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-documentai/tree/master/samples/snippets \ No newline at end of file +https://github.com/googleapis/python-documentai/tree/main/samples/snippets diff --git a/error_reporting/README.md b/error_reporting/README.md index ce3087a097e..9513aee2cca 100644 --- a/error_reporting/README.md +++ b/error_reporting/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-error-reporting/tree/master/samples +https://github.com/googleapis/python-error-reporting/tree/main/samples diff --git a/functions/v2/storage/requirements.txt b/functions/v2/storage/requirements.txt index e69de29bb2d..fe6586d4cbf 100644 --- a/functions/v2/storage/requirements.txt +++ b/functions/v2/storage/requirements.txt @@ -0,0 +1 @@ +functions-framework==3.0.0 \ No newline at end of file diff --git a/iam/api-client/requirements.txt b/iam/api-client/requirements.txt index 68e2e364ada..2193719b64e 100644 --- a/iam/api-client/requirements.txt +++ b/iam/api-client/requirements.txt @@ -2,4 +2,4 @@ google-api-python-client==2.31.0 google-auth==2.3.3 google-auth-httplib2==0.1.0 boto3==1.20.7 -botocore==1.23.11 +botocore==1.23.12 diff --git a/iap/requirements.txt b/iap/requirements.txt index 585cfbb40ac..5b5e109d7b4 100644 --- a/iap/requirements.txt +++ b/iap/requirements.txt @@ -1,4 +1,4 @@ -cryptography==35.0.0 +cryptography==36.0.0 Flask==2.0.1 google-auth==2.3.3 gunicorn==20.1.0 diff --git a/iot/api-client/codelabs/requirements.txt b/iot/api-client/codelabs/requirements.txt index 421b07d65ba..aeb989c7438 100644 --- a/iot/api-client/codelabs/requirements.txt +++ b/iot/api-client/codelabs/requirements.txt @@ -1,3 +1,3 @@ -cryptography==35.0.0 +cryptography==36.0.0 paho-mqtt==1.5.1 pyjwt==2.3.0 diff --git a/iot/api-client/end_to_end_example/requirements.txt b/iot/api-client/end_to_end_example/requirements.txt index 1f26ae08922..e2d57d14ec1 100644 --- a/iot/api-client/end_to_end_example/requirements.txt +++ b/iot/api-client/end_to_end_example/requirements.txt @@ -1,4 +1,4 @@ -cryptography==35.0.0 +cryptography==36.0.0 google-api-python-client==2.31.0 google-auth-httplib2==0.1.0 google-auth==2.3.3 diff --git a/iot/api-client/gcs_file_to_device/requirements.txt b/iot/api-client/gcs_file_to_device/requirements.txt index c17b49f367a..c81378507a3 100644 --- a/iot/api-client/gcs_file_to_device/requirements.txt +++ b/iot/api-client/gcs_file_to_device/requirements.txt @@ -4,6 +4,6 @@ google-auth-httplib2==0.1.0 google-cloud-iot==2.3.0 google-cloud-pubsub==2.9.0 google-cloud-storage==1.43.0 -cryptography==35.0.0 +cryptography==36.0.0 paho-mqtt==1.5.1 pyjwt==2.3.0 diff --git a/iot/api-client/http_example/requirements.txt b/iot/api-client/http_example/requirements.txt index f9c2d0d8d37..bf780b42ef1 100644 --- a/iot/api-client/http_example/requirements.txt +++ b/iot/api-client/http_example/requirements.txt @@ -1,4 +1,4 @@ -cryptography==35.0.0 +cryptography==36.0.0 google-api-python-client==2.31.0 google-auth-httplib2==0.1.0 google-auth==2.3.3 diff --git a/iot/api-client/manager/README.md b/iot/api-client/manager/README.md index c246fec06a9..b5160ce95f3 100644 --- a/iot/api-client/manager/README.md +++ b/iot/api-client/manager/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-iot/tree/master/samples +https://github.com/googleapis/python-iot/tree/main/samples diff --git a/iot/api-client/mqtt_example/requirements.txt b/iot/api-client/mqtt_example/requirements.txt index bc232310fec..8791bbba10f 100644 --- a/iot/api-client/mqtt_example/requirements.txt +++ b/iot/api-client/mqtt_example/requirements.txt @@ -1,4 +1,4 @@ -cryptography==35.0.0 +cryptography==36.0.0 google-api-python-client==2.31.0 google-auth-httplib2==0.1.0 google-auth==2.3.3 diff --git a/jobs/v4beta1/README.rst b/jobs/v4beta1/README.rst index c45237dbe23..5721f3ad1b8 100644 --- a/jobs/v4beta1/README.rst +++ b/jobs/v4beta1/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-talent/tree/master/samples +https://github.com/googleapis/python-talent/tree/main/samples diff --git a/kms/README.rst b/kms/README.rst index fb1e7ecda92..63f6e5c3748 100644 --- a/kms/README.rst +++ b/kms/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-kms/tree/master/samples +https://github.com/googleapis/python-kms/tree/main/samples diff --git a/language/README.md b/language/README.md index 833c2f25cb6..0fb425ccf99 100644 --- a/language/README.md +++ b/language/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-language/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-language/tree/main/samples diff --git a/logging/cloud-client/README.rst b/logging/cloud-client/README.rst index f8e85c0f0bd..4ddc91a754f 100644 --- a/logging/cloud-client/README.rst +++ b/logging/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-logging/tree/master/samples +https://github.com/googleapis/python-logging/tree/main/samples diff --git a/monitoring/api/v3/alerts-client/README.md b/monitoring/api/v3/alerts-client/README.md index 4fde23b718f..691ef132cad 100644 --- a/monitoring/api/v3/alerts-client/README.md +++ b/monitoring/api/v3/alerts-client/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-monitoring/tree/master/samples/snippets/v3/alerts-client +https://github.com/googleapis/python-monitoring/tree/main/samples/snippets/v3/alerts-client diff --git a/monitoring/api/v3/cloud-client/README.md b/monitoring/api/v3/cloud-client/README.md index a9e3064f2c5..dbcce305b86 100644 --- a/monitoring/api/v3/cloud-client/README.md +++ b/monitoring/api/v3/cloud-client/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-monitoring/tree/master/samples/snippets/v3/cloud-client +https://github.com/googleapis/python-monitoring/tree/main/samples/snippets/v3/cloud-client diff --git a/monitoring/api/v3/uptime-check-client/README.md b/monitoring/api/v3/uptime-check-client/README.md index 083211036ce..193cf83c4c3 100644 --- a/monitoring/api/v3/uptime-check-client/README.md +++ b/monitoring/api/v3/uptime-check-client/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-monitoring/tree/master/samples/snippets/v3/uptime-check-client +https://github.com/googleapis/python-monitoring/tree/main/samples/snippets/v3/uptime-check-client diff --git a/pubsub/cloud-client/README.rst b/pubsub/cloud-client/README.rst index 3dd2bc886aa..53b3beef701 100644 --- a/pubsub/cloud-client/README.rst +++ b/pubsub/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-pubsub/tree/master/samples +https://github.com/googleapis/python-pubsub/tree/main/samples diff --git a/scheduler/README.md b/scheduler/README.md index 68dcb332ee4..88d88e9ccb3 100644 --- a/scheduler/README.md +++ b/scheduler/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-scheduler/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-scheduler/tree/main/samples diff --git a/secretmanager/README.md b/secretmanager/README.md index 8a57147b36f..a6b6e5dd985 100644 --- a/secretmanager/README.md +++ b/secretmanager/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-secret-manager/tree/master/samples +https://github.com/googleapis/python-secret-manager/tree/main/samples diff --git a/speech/README.rst b/speech/README.rst index 869aa00e387..06789313ca2 100644 --- a/speech/README.rst +++ b/speech/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-speech/tree/master/samples +https://github.com/googleapis/python-speech/tree/main/samples diff --git a/tables/README.rst b/tables/README.rst index bd03c2b92b8..9de68506aa2 100644 --- a/tables/README.rst +++ b/tables/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-automl/tree/master/samples +https://github.com/googleapis/python-automl/tree/main/samples diff --git a/tasks/README.md b/tasks/README.md index f472ecff2c8..045b12d8e5f 100644 --- a/tasks/README.md +++ b/tasks/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-tasks/tree/master/samples +https://github.com/googleapis/python-tasks/tree/main/samples diff --git a/texttospeech/cloud-client/README.rst b/texttospeech/cloud-client/README.rst index 6d48ed92331..b622caa4674 100644 --- a/texttospeech/cloud-client/README.rst +++ b/texttospeech/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-texttospeech/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-texttospeech/tree/main/samples diff --git a/translate/automl/README.rst b/translate/automl/README.rst index bd03c2b92b8..9de68506aa2 100644 --- a/translate/automl/README.rst +++ b/translate/automl/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-automl/tree/master/samples +https://github.com/googleapis/python-automl/tree/main/samples diff --git a/translate/cloud-client/README.rst b/translate/cloud-client/README.rst index d52323646c5..bc654b1f223 100644 --- a/translate/cloud-client/README.rst +++ b/translate/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-translate/tree/master/samples \ No newline at end of file +https://github.com/googleapis/python-translate/tree/main/samples diff --git a/video/cloud-client/README.rst b/video/cloud-client/README.rst index 9813fce9063..bed12030031 100644 --- a/video/cloud-client/README.rst +++ b/video/cloud-client/README.rst @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-videointelligence/tree/master/samples +https://github.com/googleapis/python-videointelligence/tree/main/samples diff --git a/vision/cloud-client/README.md b/vision/cloud-client/README.md index dc780458e3d..79a99241ed0 100644 --- a/vision/cloud-client/README.md +++ b/vision/cloud-client/README.md @@ -1,3 +1,3 @@ These samples have been moved. -https://github.com/googleapis/python-vision/tree/master/samples +https://github.com/googleapis/python-vision/tree/main/samples