Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion describe.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@


def safe_version(version):
"""Create a safe version of the verion string.
"""Create a safe version of the version string.

Needed so that we can distinguish between versions
and sub-collections in URIs. I.e. we don't want
Expand Down
2 changes: 1 addition & 1 deletion docs/oauth-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ If you have a G Suite domain—if you use [G Suite](https://gsuite.google.com/),

> **Note:** When you use [G Suite Marketplace](https://www.google.com/enterprise/marketplace/) to install an application for your domain, the required permissions are automatically granted to the application. You do not need to manually authorize the service accounts that the application uses.

> **Note:** Although you can use service accounts in applications that run from a G Suite domain, service accounts are not members of your G Suite account and aren't subject to domain policies set by G Suite administrators. For example, a policy set in the G Suite Admin console to restrict the ability of G Suite end users to share documents outside of the domain would not apply to service accounts. Similarly, that policy would prevent users from sharing documents with service accounts, because service acounts are always outside of the domain. If you're using G Suite domain-wide delegation, this isn't relevant to you - you are accessing APIs while acting as a domain user, not as the service account itself.
> **Note:** Although you can use service accounts in applications that run from a G Suite domain, service accounts are not members of your G Suite account and aren't subject to domain policies set by G Suite administrators. For example, a policy set in the G Suite Admin console to restrict the ability of G Suite end users to share documents outside of the domain would not apply to service accounts. Similarly, that policy would prevent users from sharing documents with service accounts, because service accounts are always outside of the domain. If you're using G Suite domain-wide delegation, this isn't relevant to you - you are accessing APIs while acting as a domain user, not as the service account itself.

This document describes how an application can complete the server-to-server OAuth 2.0 flow by using the Google APIs Client Library for Python.

Expand Down
4 changes: 2 additions & 2 deletions googleapiclient/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def build(
# The default value for `static_discovery` depends on the value of
# `discoveryServiceUrl`. `static_discovery` will default to `True` when
# `discoveryServiceUrl` is also not provided, otherwise it will default to
# `False`. This is added for backwards compatability with
# `False`. This is added for backwards compatibility with
# google-api-python-client 1.x which does not support the `static_discovery`
# parameter.
if static_discovery is None:
Expand Down Expand Up @@ -709,7 +709,7 @@ def build_from_document(
)

# Switch to mTLS endpoint, if environment variable is "always", or
# environment varibable is "auto" and client cert exists.
# environment variable is "auto" and client cert exists.
if use_mtls_endpoint == "always" or (
use_mtls_endpoint == "auto" and client_cert_to_use
):
Expand Down
2 changes: 1 addition & 1 deletion googleapiclient/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ class RequestMockBuilder(object):
googleapiclient.discovery.build("plus", "v1", requestBuilder=requestBuilder)

Methods that you do not supply a response for will return a
200 OK with an empty string as the response content or raise an excpetion
200 OK with an empty string as the response content or raise an exception
if check_unexpected is set to True. The methodId is taken from the rpcName
in the discovery document.

Expand Down
2 changes: 1 addition & 1 deletion samples/analytics/management_v3_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def print_pagination_info(management_response):
"""Prints common pagination details.
Args:
management_response: The common reponse object for each collection in the
management_response: The common response object for each collection in the
Management API.
"""

Expand Down
2 changes: 1 addition & 1 deletion scripts/changesummary.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def _write_verbose_changes_to_disk(self, dataframe, directory, summary_df):
# Get the string in the `Summary` column for the current api and
# append it to `verbose_changes`. The `Summary` column contains
# the conventional commit message. Use pandas.Series.iloc[0] to
# retrieve only the first elemnt, since all the values in the
# retrieve only the first element, since all the values in the
# summary column are the same for a given API.
verbose_changes.append(summary_df[current_api_filter].Summary.iloc[0])

Expand Down
Loading