Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reword credential creation in README.md #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 22, 2015
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 2 storage/storage_transfer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This app creates two types of transfers using the Transfer Service tool.
1. Go to the [Developers Console](https://cloud.google.com/console) and create or select your project.
You will need the project ID later.
1. Within Developers Console, select APIs & auth > Credentials.
1. Add a new JSON key credential for a service account.
1. Select Add credentials > Service account > JSON key.
1. Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to point to your JSON key.
1. Add the Storage Transfer service account, cloud-mobility@system.gserviceaccount.com as an
editor of your project.
Expand Down
2 changes: 2 additions & 0 deletions 2 storage/storage_transfer/aws_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# [START all]
import json
import logging

Expand Down Expand Up @@ -66,3 +67,4 @@ def main():

if __name__ == '__main__':
main()
# [END all]
2 changes: 2 additions & 0 deletions 2 storage/storage_transfer/create_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# [START all]
import logging

from apiclient import discovery
Expand All @@ -25,3 +26,4 @@ def create_transfer_client():
logging.getLogger().setLevel(logging.DEBUG)
credentials = GoogleCredentials.get_application_default()
return discovery.build('storagetransfer', 'v1', credentials=credentials)
# [END all]
2 changes: 2 additions & 0 deletions 2 storage/storage_transfer/nearline_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# [START all]
import json
import logging

Expand Down Expand Up @@ -62,3 +63,4 @@ def main():

if __name__ == '__main__':
main()
# [END all]
2 changes: 2 additions & 0 deletions 2 storage/storage_transfer/transfer_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# [START all]
import json
import logging

Expand Down Expand Up @@ -42,3 +43,4 @@ def main():

if __name__ == '__main__':
main()
# [END all]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.