OLD | NEW |
(Empty) | |
| 1 # Copyright 2012 Google Inc. All Rights Reserved. |
| 2 # |
| 3 # 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 obtain a copy of the License at |
| 6 # |
| 7 # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 # |
| 9 # Unless required by applicable law or agreed to in writing, software |
| 10 # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 # See the License for the specific language governing permissions and |
| 13 # limitations under the License. |
| 14 |
| 15 from gslib.help_provider import HELP_NAME |
| 16 from gslib.help_provider import HELP_NAME_ALIASES |
| 17 from gslib.help_provider import HELP_ONE_LINE_SUMMARY |
| 18 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 |
| 23 _detailed_help_text = (""" |
| 24 <B>TECHNICAL SUPPORT</B> |
| 25 If you have any questions or encounter any problems with Google Cloud Storage, |
| 26 please first read the FAQ at https://developers.google.com/storage/docs/faq. |
| 27 If you still need help, please post your question to the gs-discussion forum |
| 28 (https://developers.google.com/storage/forum) or to Stack Overflow with the |
| 29 Google Cloud Storage tag |
| 30 (http://stackoverflow.com/questions/tagged/google-cloud-storage). Our support |
| 31 team actively monitors these forums and we'll do our best to respond. To help |
| 32 us diagnose any issues you encounter, please provide these details in addition |
| 33 to the description of your problem: |
| 34 |
| 35 - The resource you are attempting to access (bucket name, object name) |
| 36 - The operation you attempted (GET, PUT, etc.) |
| 37 - The time and date (including timezone) at which you encountered the problem |
| 38 - The tool or library you use to interact with Google Cloud Storage |
| 39 - If you can use gsutil to reproduce your issue, specify the -D option to |
| 40 display your request's HTTP details. Provide these details with your post |
| 41 to the forum as they can help us further troubleshoot your issue. |
| 42 |
| 43 Warning: The gsutil -D, -d, and -DD options will also print the authentication |
| 44 header with authentication credentials for your Google Cloud Storage account. |
| 45 Make sure to remove any "Authorization:" headers before you post HTTP details |
| 46 to the forum. |
| 47 |
| 48 If you make any local modifications to gsutil, please make sure to use |
| 49 a released copy of gsutil (instead of your locally modified copy) when |
| 50 providing the gsutil -D output noted above. We cannot support versions |
| 51 of gsutil that include local modifications. (However, we're open to user |
| 52 contributions; see "gsutil help dev".) |
| 53 |
| 54 As an alternative to posting to the gs-discussion forum, we also |
| 55 actively monitor http://stackoverflow.com for questions tagged with |
| 56 "google-cloud-storage". |
| 57 |
| 58 |
| 59 <B>BILLING AND ACCOUNT QUESTIONS</B> |
| 60 For questions about billing or account issues, please visit |
| 61 http://code.google.com/apis/console-help/#billing. If you want to cancel |
| 62 billing, you can do so on the Billing pane of the Google APIs Console. For |
| 63 more information, see |
| 64 http://code.google.com/apis/console-help/#BillingCancelled. Caution: When you |
| 65 disable billing, you also disable the Google Cloud Storage service. Make sure |
| 66 you want to disable the Google Cloud Storage service before you disable |
| 67 billing. |
| 68 """) |
| 69 |
| 70 |
| 71 class CommandOptions(HelpProvider): |
| 72 """Additional help about tech and billing support.""" |
| 73 |
| 74 help_spec = { |
| 75 # Name of command or auxiliary help info for which this help applies. |
| 76 HELP_NAME : 'support', |
| 77 # List of help name aliases. |
| 78 HELP_NAME_ALIASES : ['techsupport', 'tech support', 'technical support', |
| 79 'billing', 'faq', 'questions'], |
| 80 # Type of help: |
| 81 HELP_TYPE : HelpType.ADDITIONAL_HELP, |
| 82 # One line summary of this help. |
| 83 HELP_ONE_LINE_SUMMARY : 'How to get Google Cloud Storage support', |
| 84 # The full help text. |
| 85 HELP_TEXT : _detailed_help_text, |
| 86 } |
OLD | NEW |