@@ -63,7 +63,7 @@ def create_service():
6363 # Construct the service object for interacting with the Cloud Storage API -
6464 # the 'storage' service, at version 'v1'.
6565 # You can browse other available api services and versions here:
66- # http://g.co/dev /api-client-library/python/apis/
66+ # http://g.co/dv /api-client-library/python/apis/
6767 return discovery .build ('storage' , 'v1' , credentials = credentials )
6868
6969
@@ -95,7 +95,7 @@ def upload_object(bucket, filename, readers, owners):
9595 })
9696
9797 # Now insert them into the specified bucket as a media insertion.
98- # http://g.co/dev /resources/api-libraries/documentation/storage/v1/python/latest/storage_v1.objects.html#insert
98+ # http://g.co/dv /resources/api-libraries/documentation/storage/v1/python/latest/storage_v1.objects.html#insert
9999 with open (filename , 'rb' ) as f :
100100 req = service .objects ().insert (
101101 bucket = bucket , body = body ,
@@ -112,7 +112,7 @@ def get_object(bucket, filename, out_file):
112112 service = create_service ()
113113
114114 # Use get_media instead of get to get the actual contents of the object.
115- # http://g.co/dev /resources/api-libraries/documentation/storage/v1/python/latest/storage_v1.objects.html#get_media
115+ # http://g.co/dv /resources/api-libraries/documentation/storage/v1/python/latest/storage_v1.objects.html#get_media
116116 req = service .objects ().get_media (bucket = bucket , object = filename )
117117
118118 downloader = http .MediaIoBaseDownload (out_file , req )
0 commit comments