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/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/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/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/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