GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update all generated readme auth instructions (#1121) · Reality2byte/python-docs-samples@dcfebd1

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bigquery
    • api
      • README.rst
    • rest
      • README.rst
  • bigtable
    • hello_happybase
      • README.rst
    • hello
      • README.rst
    • metricscaler
      • README.rst
  • container_engine/api-client
    • README.rst
  • datastore/cloud-client
    • README.rst
  • dns/api
    • README.rst
  • error_reporting
    • README.rst
  • iot/api-client
    • manager
      • README.rst
    • scripts
      • README.rst
  • kms/api-client
    • README.rst
  • language
    • api
      • README.rst
    • cloud-client
      • v1beta2
        • README.rst
      • v1
        • README.rst
    • tutorial
      • README.rst
  • logging/cloud-client
    • README.rst
  • monitoring/api
    • v2
      • README.rst
    • v3
      • api-client
        • README.rst
      • cloud-client
        • README.rst
  • pubsub/cloud-client
    • README.rst
  • scripts/readme-gen/templates
    • auth.tmpl.rst
  • spanner/cloud-client
    • README.rst
  • speech/cloud-client
    • README.rst
  • storage
    • api
      • README.rst
    • cloud-client
      • README.rst
    • transfer_service
      • README.rst
  • translate/cloud-client
    • README.rst
  • video/cloud-client
    • analyze
      • README.rst
    • faces
      • README.rst
    • labels
      • README.rst
    • quickstart
      • README.rst
    • shotchange
      • README.rst
  • vision
    • api/label
      • README.rst
    • cloud-client
      • crop_hints
        • README.rst
      • detect
        • README.rst
      • document_text
        • README.rst
      • face_detection
        • README.rst
      • quickstart
        • README.rst.in
        • README.rst
      • web
        • README.rst

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bigquery/api/README.rst‎

Copy file name to clipboardExpand all lines: bigquery/api/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
21-
which means you do not have to change the code to authenticate as long as
22-
your environment has credentials. You have a few options for setting up
23-
authentication:
20+
This sample requires you to have authentication setup. Refer to the
21+
`Authentication Getting Started Guide`_ for instructions on setting up
22+
credentials for applications.
2423

25-
#. When running locally, use the `Google Cloud SDK`_
26-
27-
.. code-block:: bash
28-
29-
gcloud auth application-default login
30-
31-
32-
#. When running on App Engine or Compute Engine, credentials are already
33-
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
35-
36-
#. You can create a `Service Account key file`_. This file can be used to
37-
authenticate to Google Cloud Platform services from any environment. To use
38-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
39-
the path to the key file, for example:
40-
41-
.. code-block:: bash
42-
43-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
44-
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
24+
.. _Authentication Getting Started Guide:
25+
https://cloud.google.com/docs/authentication/getting-started
4826

4927
Install Dependencies
5028
++++++++++++++++++++
Collapse file

‎bigquery/rest/README.rst‎

Copy file name to clipboardExpand all lines: bigquery/rest/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
21-
which means you do not have to change the code to authenticate as long as
22-
your environment has credentials. You have a few options for setting up
23-
authentication:
20+
This sample requires you to have authentication setup. Refer to the
21+
`Authentication Getting Started Guide`_ for instructions on setting up
22+
credentials for applications.
2423

25-
#. When running locally, use the `Google Cloud SDK`_
26-
27-
.. code-block:: bash
28-
29-
gcloud auth application-default login
30-
31-
32-
#. When running on App Engine or Compute Engine, credentials are already
33-
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
35-
36-
#. You can create a `Service Account key file`_. This file can be used to
37-
authenticate to Google Cloud Platform services from any environment. To use
38-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
39-
the path to the key file, for example:
40-
41-
.. code-block:: bash
42-
43-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
44-
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
24+
.. _Authentication Getting Started Guide:
25+
https://cloud.google.com/docs/authentication/getting-started
4826

4927
Install Dependencies
5028
++++++++++++++++++++
Collapse file

‎bigtable/hello/README.rst‎

Copy file name to clipboardExpand all lines: bigtable/hello/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
21-
which means you do not have to change the code to authenticate as long as
22-
your environment has credentials. You have a few options for setting up
23-
authentication:
20+
This sample requires you to have authentication setup. Refer to the
21+
`Authentication Getting Started Guide`_ for instructions on setting up
22+
credentials for applications.
2423

25-
#. When running locally, use the `Google Cloud SDK`_
26-
27-
.. code-block:: bash
28-
29-
gcloud auth application-default login
30-
31-
32-
#. When running on App Engine or Compute Engine, credentials are already
33-
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
35-
36-
#. You can create a `Service Account key file`_. This file can be used to
37-
authenticate to Google Cloud Platform services from any environment. To use
38-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
39-
the path to the key file, for example:
40-
41-
.. code-block:: bash
42-
43-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
44-
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
24+
.. _Authentication Getting Started Guide:
25+
https://cloud.google.com/docs/authentication/getting-started
4826

4927
Install Dependencies
5028
++++++++++++++++++++
Collapse file

‎bigtable/hello_happybase/README.rst‎

Copy file name to clipboardExpand all lines: bigtable/hello_happybase/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -24,34 +24,12 @@ Setup
2424
Authentication
2525
++++++++++++++
2626

27-
Authentication is typically done through `Application Default Credentials`_,
28-
which means you do not have to change the code to authenticate as long as
29-
your environment has credentials. You have a few options for setting up
30-
authentication:
27+
This sample requires you to have authentication setup. Refer to the
28+
`Authentication Getting Started Guide`_ for instructions on setting up
29+
credentials for applications.
3130

32-
#. When running locally, use the `Google Cloud SDK`_
33-
34-
.. code-block:: bash
35-
36-
gcloud auth application-default login
37-
38-
39-
#. When running on App Engine or Compute Engine, credentials are already
40-
set-up. However, you may need to configure your Compute Engine instance
41-
with `additional scopes`_.
42-
43-
#. You can create a `Service Account key file`_. This file can be used to
44-
authenticate to Google Cloud Platform services from any environment. To use
45-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
46-
the path to the key file, for example:
47-
48-
.. code-block:: bash
49-
50-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
51-
52-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
53-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
54-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
31+
.. _Authentication Getting Started Guide:
32+
https://cloud.google.com/docs/authentication/getting-started
5533

5634
Install Dependencies
5735
++++++++++++++++++++
Collapse file

‎bigtable/metricscaler/README.rst‎

Copy file name to clipboardExpand all lines: bigtable/metricscaler/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,12 @@ Setup
2121
Authentication
2222
++++++++++++++
2323

24-
Authentication is typically done through `Application Default Credentials`_,
25-
which means you do not have to change the code to authenticate as long as
26-
your environment has credentials. You have a few options for setting up
27-
authentication:
24+
This sample requires you to have authentication setup. Refer to the
25+
`Authentication Getting Started Guide`_ for instructions on setting up
26+
credentials for applications.
2827

29-
#. When running locally, use the `Google Cloud SDK`_
30-
31-
.. code-block:: bash
32-
33-
gcloud auth application-default login
34-
35-
36-
#. When running on App Engine or Compute Engine, credentials are already
37-
set-up. However, you may need to configure your Compute Engine instance
38-
with `additional scopes`_.
39-
40-
#. You can create a `Service Account key file`_. This file can be used to
41-
authenticate to Google Cloud Platform services from any environment. To use
42-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
43-
the path to the key file, for example:
44-
45-
.. code-block:: bash
46-
47-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
48-
49-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
50-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
51-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
28+
.. _Authentication Getting Started Guide:
29+
https://cloud.google.com/docs/authentication/getting-started
5230

5331
Install Dependencies
5432
++++++++++++++++++++
Collapse file

‎container_engine/api-client/README.rst‎

Copy file name to clipboardExpand all lines: container_engine/api-client/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
21-
which means you do not have to change the code to authenticate as long as
22-
your environment has credentials. You have a few options for setting up
23-
authentication:
20+
This sample requires you to have authentication setup. Refer to the
21+
`Authentication Getting Started Guide`_ for instructions on setting up
22+
credentials for applications.
2423

25-
#. When running locally, use the `Google Cloud SDK`_
26-
27-
.. code-block:: bash
28-
29-
gcloud auth application-default login
30-
31-
32-
#. When running on App Engine or Compute Engine, credentials are already
33-
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
35-
36-
#. You can create a `Service Account key file`_. This file can be used to
37-
authenticate to Google Cloud Platform services from any environment. To use
38-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
39-
the path to the key file, for example:
40-
41-
.. code-block:: bash
42-
43-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
44-
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
24+
.. _Authentication Getting Started Guide:
25+
https://cloud.google.com/docs/authentication/getting-started
4826

4927
Install Dependencies
5028
++++++++++++++++++++
Collapse file

‎datastore/cloud-client/README.rst‎

Copy file name to clipboardExpand all lines: datastore/cloud-client/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
21-
which means you do not have to change the code to authenticate as long as
22-
your environment has credentials. You have a few options for setting up
23-
authentication:
20+
This sample requires you to have authentication setup. Refer to the
21+
`Authentication Getting Started Guide`_ for instructions on setting up
22+
credentials for applications.
2423

25-
#. When running locally, use the `Google Cloud SDK`_
26-
27-
.. code-block:: bash
28-
29-
gcloud auth application-default login
30-
31-
32-
#. When running on App Engine or Compute Engine, credentials are already
33-
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
35-
36-
#. You can create a `Service Account key file`_. This file can be used to
37-
authenticate to Google Cloud Platform services from any environment. To use
38-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
39-
the path to the key file, for example:
40-
41-
.. code-block:: bash
42-
43-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
44-
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
24+
.. _Authentication Getting Started Guide:
25+
https://cloud.google.com/docs/authentication/getting-started
4826

4927
Install Dependencies
5028
++++++++++++++++++++
Collapse file

‎dns/api/README.rst‎

Copy file name to clipboardExpand all lines: dns/api/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,12 @@ Setup
1717
Authentication
1818
++++++++++++++
1919

20-
Authentication is typically done through `Application Default Credentials`_,
21-
which means you do not have to change the code to authenticate as long as
22-
your environment has credentials. You have a few options for setting up
23-
authentication:
20+
This sample requires you to have authentication setup. Refer to the
21+
`Authentication Getting Started Guide`_ for instructions on setting up
22+
credentials for applications.
2423

25-
#. When running locally, use the `Google Cloud SDK`_
26-
27-
.. code-block:: bash
28-
29-
gcloud auth application-default login
30-
31-
32-
#. When running on App Engine or Compute Engine, credentials are already
33-
set-up. However, you may need to configure your Compute Engine instance
34-
with `additional scopes`_.
35-
36-
#. You can create a `Service Account key file`_. This file can be used to
37-
authenticate to Google Cloud Platform services from any environment. To use
38-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
39-
the path to the key file, for example:
40-
41-
.. code-block:: bash
42-
43-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
44-
45-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
46-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
47-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
24+
.. _Authentication Getting Started Guide:
25+
https://cloud.google.com/docs/authentication/getting-started
4826

4927
Install Dependencies
5028
++++++++++++++++++++
Collapse file

‎error_reporting/README.rst‎

Copy file name to clipboardExpand all lines: error_reporting/README.rst
+5-27Lines changed: 5 additions & 27 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,12 @@ Setup
1818
Authentication
1919
++++++++++++++
2020

21-
Authentication is typically done through `Application Default Credentials`_,
22-
which means you do not have to change the code to authenticate as long as
23-
your environment has credentials. You have a few options for setting up
24-
authentication:
21+
This sample requires you to have authentication setup. Refer to the
22+
`Authentication Getting Started Guide`_ for instructions on setting up
23+
credentials for applications.
2524

26-
#. When running locally, use the `Google Cloud SDK`_
27-
28-
.. code-block:: bash
29-
30-
gcloud auth application-default login
31-
32-
33-
#. When running on App Engine or Compute Engine, credentials are already
34-
set-up. However, you may need to configure your Compute Engine instance
35-
with `additional scopes`_.
36-
37-
#. You can create a `Service Account key file`_. This file can be used to
38-
authenticate to Google Cloud Platform services from any environment. To use
39-
the file, set the ``GOOGLE_APPLICATION_CREDENTIALS`` environment variable to
40-
the path to the key file, for example:
41-
42-
.. code-block:: bash
43-
44-
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json
45-
46-
.. _Application Default Credentials: https://cloud.google.com/docs/authentication#getting_credentials_for_server-centric_flow
47-
.. _additional scopes: https://cloud.google.com/compute/docs/authentication#using
48-
.. _Service Account key file: https://developers.google.com/identity/protocols/OAuth2ServiceAccount#creatinganaccount
25+
.. _Authentication Getting Started Guide:
26+
https://cloud.google.com/docs/authentication/getting-started
4927

5028
Install Dependencies
5129
++++++++++++++++++++

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.