a58d06de6c7eded0105b893841be7e600de50b60,storage/transfer_service/nearline_request.py,,,#,69
Before Change
transfer_job)).execute()
logging.info("Returned transferJob: %s", json.dumps(result, indent=4))
if __name__ == "__main__":
main()
// [END all]
After Change
logging.info("Returned transferJob: %s", json.dumps(result, indent=4))
// [END main]
if __name__ == "__main__":
parser = argparse.ArgumentParser(
description="Create a transfer from the Google Cloud Storage Standard "
"class to the Nearline Storage class.")
parser.add_argument("description", help="Transfer description.")
parser.add_argument("project_id", help="Your Google Cloud project ID.")
parser.add_argument("date", help="Date YYYY/MM/DD.")
parser.add_argument("time", help="Time (24hr) HH:MM.")
parser.add_argument("source_bucket", help="Source bucket name.")
parser.add_argument("sink_bucket", help="Sink bucket name.")
args = parser.parse_args()
date = datetime.datetime.strptime(args.date, "%Y/%m/%d")
time = datetime.datetime.strptime(args.time, "%H:%M")
main(
args.description,
args.project_id,
date.year,
date.month,
date.day,
time.hour,
time.minute,
args.source_bucket,
args.sink_bucket)
// [END all]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 32
Instances
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a58d06de6c7eded0105b893841be7e600de50b60
Time: 2015-09-18
Author: sfan@google.com
File Name: storage/transfer_service/nearline_request.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 40339f2c1827aa6aaccc188b3d44ad21432d030c
Time: 2015-09-15
Author: jon.wayne.parrott@gmail.com
File Name: bigquery/samples/load_data_by_post.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a58d06de6c7eded0105b893841be7e600de50b60
Time: 2015-09-18
Author: sfan@google.com
File Name: storage/transfer_service/nearline_request.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: a58d06de6c7eded0105b893841be7e600de50b60
Time: 2015-09-18
Author: sfan@google.com
File Name: storage/transfer_service/aws_request.py
Class Name:
Method Name: