Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: gslib/addlhelp/support.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gslib/addlhelp/subdirs.py ('k') | gslib/addlhelp/versions.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- coding: utf-8 -*-
1 # Copyright 2012 Google Inc. All Rights Reserved. 2 # Copyright 2012 Google Inc. All Rights Reserved.
2 # 3 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 5 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 6 # You may obtain a copy of the License at
6 # 7 #
7 # http://www.apache.org/licenses/LICENSE-2.0 8 # http://www.apache.org/licenses/LICENSE-2.0
8 # 9 #
9 # Unless required by applicable law or agreed to in writing, software 10 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and 13 # See the License for the specific language governing permissions and
13 # limitations under the License. 14 # limitations under the License.
15 """Additional help about technical and billing support."""
14 16
15 from gslib.help_provider import HELP_NAME 17 from __future__ import absolute_import
16 from gslib.help_provider import HELP_NAME_ALIASES 18
17 from gslib.help_provider import HELP_ONE_LINE_SUMMARY
18 from gslib.help_provider import HelpProvider 19 from gslib.help_provider import HelpProvider
19 from gslib.help_provider import HELP_TEXT
20 from gslib.help_provider import HelpType
21 from gslib.help_provider import HELP_TYPE
22 20
23 _detailed_help_text = (""" 21 _DETAILED_HELP_TEXT = ("""
24 <B>TECHNICAL SUPPORT</B> 22 <B>TECHNICAL SUPPORT</B>
25 If you have any questions or encounter any problems with Google Cloud Storage, 23 If you have any questions or encounter any problems with Google Cloud Storage,
26 please first read the `FAQ <https://developers.google.com/storage/docs/faq>`_. 24 please first read the `FAQ <https://developers.google.com/storage/docs/faq>`_.
27 25
28 If you still have questions please use one of the following methods as 26 If you still have questions please use one of the following methods as
29 appropriate, providing the details noted below: 27 appropriate, providing the details noted below:
30 28
31 A) For API, tool usage, or other software development-related questions, 29 A) For API, tool usage, or other software development-related questions,
32 please search for and post questions on Stack Overflow, using the official 30 please search for and post questions on Stack Overflow, using the official
33 `google-cloud-storage tag 31 `google-cloud-storage tag
(...skipping 13 matching lines...) Expand all
47 - The time and date (including timezone) at which you encountered the problem 45 - The time and date (including timezone) at which you encountered the problem
48 - The tool or library you use to interact with Google Cloud Storage 46 - The tool or library you use to interact with Google Cloud Storage
49 - If you can use gsutil to reproduce your issue, specify the -D option to 47 - If you can use gsutil to reproduce your issue, specify the -D option to
50 display your request's HTTP details. Provide these details with your post 48 display your request's HTTP details. Provide these details with your post
51 to the forum as they can help us further troubleshoot your issue. 49 to the forum as they can help us further troubleshoot your issue.
52 50
53 Warning: The gsutil -d, -D, and -DD options will also print the authentication 51 Warning: The gsutil -d, -D, and -DD options will also print the authentication
54 header with authentication credentials for your Google Cloud Storage account. 52 header with authentication credentials for your Google Cloud Storage account.
55 Make sure to remove any "Authorization:" headers before you post HTTP details 53 Make sure to remove any "Authorization:" headers before you post HTTP details
56 to the forum. Note also that if you upload files large enough to use resumable 54 to the forum. Note also that if you upload files large enough to use resumable
57 uploads, the resumable upload IDs are security-sensitive while an upload is 55 uploads, the resumable upload IDs are security-sensitive while an upload
58 not yet complete, so should not be posted on public forums. 56 is not yet complete, so should not be posted on public forums.
59 57
60 If you make any local modifications to gsutil, please make sure to use 58 If you make any local modifications to gsutil, please make sure to use
61 a released copy of gsutil (instead of your locally modified copy) when 59 a released copy of gsutil (instead of your locally modified copy) when
62 providing the gsutil -D output noted above. We cannot support versions 60 providing the gsutil -D output noted above. We cannot support versions
63 of gsutil that include local modifications. (However, we're open to user 61 of gsutil that include local modifications. (However, we're open to user
64 contributions; see "gsutil help dev".) 62 contributions; see "gsutil help dev".)
65 63
66 64
67 <B>BILLING AND ACCOUNT QUESTIONS</B> 65 <B>BILLING AND ACCOUNT QUESTIONS</B>
68 For questions about billing or account issues, please visit 66 For questions about billing or account issues, please visit
69 https://developers.google.com/storage/docs/pricing-and-terms. 67 https://developers.google.com/storage/docs/pricing-and-terms.
70 If you want to cancel billing, visit the 68 If you want to cancel billing, follow the instructions at
71 `Google Cloud Console<https://cloud.google.com/console#/project>`_, click on 69 `Google Developers Console<https://developers.google.com/console/help/billing> `
72 the project you're using, click the gear in the upper right corner, and select 70 Caution: When you disable billing, you also disable the Google Cloud Storage
73 "Billing" from the drop-down. Caution: When you disable billing, you also 71 service. Make sure you want to disable the Google Cloud Storage service
74 disable the Google Cloud Storage service. Make sure you want to disable the 72 before you disable billing.
75 Google Cloud Storage service before you disable billing.
76 """) 73 """)
77 74
78 75
79 class CommandOptions(HelpProvider): 76 class CommandOptions(HelpProvider):
80 """Additional help about tech and billing support.""" 77 """Additional help about technical and billing support."""
81 78
82 help_spec = { 79 # Help specification. See help_provider.py for documentation.
83 # Name of command or auxiliary help info for which this help applies. 80 help_spec = HelpProvider.HelpSpec(
84 HELP_NAME : 'support', 81 help_name='support',
85 # List of help name aliases. 82 help_name_aliases=[
86 HELP_NAME_ALIASES : ['techsupport', 'tech support', 'technical support', 83 'techsupport', 'tech support', 'technical support', 'billing', 'faq',
87 'billing', 'faq', 'questions'], 84 'questions'],
88 # Type of help: 85 help_type='additional_help',
89 HELP_TYPE : HelpType.ADDITIONAL_HELP, 86 help_one_line_summary='Google Cloud Storage Support',
90 # One line summary of this help. 87 help_text=_DETAILED_HELP_TEXT,
91 HELP_ONE_LINE_SUMMARY : 'Google Cloud Storage Support', 88 subcommand_help_text={},
92 # The full help text. 89 )
93 HELP_TEXT : _detailed_help_text,
94 }
OLDNEW
« no previous file with comments | « gslib/addlhelp/subdirs.py ('k') | gslib/addlhelp/versions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698