Skip to content

Commit

Permalink
chore: update reference of master branch to main (GoogleCloudPlatform…
Browse files Browse the repository at this point in the history
  • Loading branch information
dandhlee authored Nov 23, 2021
1 parent 14533af commit 0644563
Show file tree
Hide file tree
Showing 37 changed files with 40 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .kokoro/tests/run_single_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/tests/run_tests_orig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions AUTHORING_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion asset/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion automl/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion bigquery/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion bigquery_storage/to_dataframe/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion cloud-sql/mysql/client-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/postgres/client-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cloud-sql/sql-server/client-side-encryption/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion container_registry/container_analysis/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion datacatalog/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-datacatalog/tree/master/samples
https://github.com/googleapis/python-datacatalog/tree/main/samples
2 changes: 1 addition & 1 deletion datalabeling/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-datalabeling/tree/master/samples
https://github.com/googleapis/python-datalabeling/tree/main/samples
2 changes: 1 addition & 1 deletion dataproc/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-dataproc/tree/master/samples
https://github.com/googleapis/python-dataproc/tree/main/samples
2 changes: 1 addition & 1 deletion dialogflow/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-dialogflow/tree/master/samples
https://github.com/googleapis/python-dialogflow/tree/main/samples
2 changes: 1 addition & 1 deletion dlp/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion document/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-documentai/tree/master/samples/snippets
https://github.com/googleapis/python-documentai/tree/main/samples/snippets
2 changes: 1 addition & 1 deletion error_reporting/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion iot/api-client/manager/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion jobs/v4beta1/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion kms/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion language/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-language/tree/master/samples
https://github.com/googleapis/python-language/tree/main/samples
2 changes: 1 addition & 1 deletion logging/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion monitoring/api/v3/alerts-client/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion monitoring/api/v3/cloud-client/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion monitoring/api/v3/uptime-check-client/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion pubsub/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion scheduler/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-scheduler/tree/master/samples
https://github.com/googleapis/python-scheduler/tree/main/samples
2 changes: 1 addition & 1 deletion secretmanager/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion speech/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tables/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tasks/README.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion texttospeech/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-texttospeech/tree/master/samples
https://github.com/googleapis/python-texttospeech/tree/main/samples
2 changes: 1 addition & 1 deletion translate/automl/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion translate/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
These samples have been moved.

https://github.com/googleapis/python-translate/tree/master/samples
https://github.com/googleapis/python-translate/tree/main/samples
2 changes: 1 addition & 1 deletion video/cloud-client/README.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion vision/cloud-client/README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0644563

Please sign in to comment.