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

Unified Diff: third_party/boto/boto/ec2/volume.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/boto/boto/ec2/vmtype.py ('k') | third_party/boto/boto/ecs/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boto/boto/ec2/volume.py
===================================================================
--- third_party/boto/boto/ec2/volume.py (revision 33376)
+++ third_party/boto/boto/ec2/volume.py (working copy)
@@ -44,6 +44,7 @@
:ivar type: The type of volume (standard or consistent-iops)
:ivar iops: If this volume is of type consistent-iops, this is
the number of IOPS provisioned (10-300).
+ :ivar encrypted: True if this volume is encrypted.
"""
def __init__(self, connection=None):
@@ -57,6 +58,7 @@
self.zone = None
self.type = None
self.iops = None
+ self.encrypted = None
def __repr__(self):
return 'Volume:%s' % self.id
@@ -92,6 +94,8 @@
self.type = value
elif name == 'iops':
self.iops = int(value)
+ elif name == 'encrypted':
+ self.encrypted = (value.lower() == 'true')
else:
setattr(self, name, value)
« no previous file with comments | « third_party/boto/boto/ec2/vmtype.py ('k') | third_party/boto/boto/ecs/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698