Skip to content
Merged
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 slides/snippets/slides_copy_presentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def copy_presentation(presentation_id, copy_title):
Creates the copy Presentation the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""

creds, _ = google.auth.default()
Expand Down
2 changes: 1 addition & 1 deletion slides/snippets/slides_create_bulleted_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_bulleted_text(presentation_id, shape_id):
Run create_bulleted_text the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down
2 changes: 1 addition & 1 deletion slides/snippets/slides_create_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_image(presentation_id, page_id):
Creates images the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""

creds, _ = google.auth.default()
Expand Down
2 changes: 1 addition & 1 deletion slides/snippets/slides_create_presentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_presentation(title):
Creates the Presentation the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down
4 changes: 3 additions & 1 deletion slides/snippets/slides_create_sheets_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def create_sheets_chart(presentation_id, page_id, spreadsheet_id,
create_sheets_chart the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down Expand Up @@ -90,3 +90,5 @@ def create_sheets_chart(presentation_id, page_id, spreadsheet_id,
"FIRSTSLIDE",
"17eqFZl_WK4WVixX8PjvjfLD77DraoFwMDXeiHB3dvuM",
"1107320627")

# [END slides_create_sheets_chart]
2 changes: 1 addition & 1 deletion slides/snippets/slides_create_slide.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_slide(presentation_id, page_id):
Creates the Presentation the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.\n
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down
2 changes: 1 addition & 1 deletion slides/snippets/slides_create_textbox_with_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_textbox_with_text(presentation_id, page_id):
Creates the textbox with text, the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down
2 changes: 1 addition & 1 deletion slides/snippets/slides_refresh_sheets_chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def refresh_sheets_chart(presentation_id, presentation_chart_id):
refresh_sheets_chart the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down
4 changes: 3 additions & 1 deletion slides/snippets/slides_simple_text_replace.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def simple_text_replace(presentation_id, shape_id, replacement_text):
Run simple_text_replace the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down Expand Up @@ -70,3 +70,5 @@ def simple_text_replace(presentation_id, shape_id, replacement_text):
simple_text_replace('10QnVUx1X2qHsL17WUidGpPh_SQhXYx40CgIxaKk8jU4',
'MyTextBox_6',
'GWSpace_now')

# [END slides_simple_text_replace]
2 changes: 1 addition & 1 deletion slides/snippets/slides_text_merging.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def text_merging(template_presentation_id, data_spreadsheet_id):
Run Text merging the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down
2 changes: 1 addition & 1 deletion slides/snippets/slides_text_style_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def text_style_update(presentation_id, shape_id):
create_sheets_chart the user has access to.
Load pre-authorized user credentials from the environment.
TODO(developer) - See https://developers.google.com/identity
for guides on implementing OAuth2 for the application.\n"
for guides on implementing OAuth2 for the application.
"""
creds, _ = google.auth.default()
# pylint: disable=maybe-no-member
Expand Down