<s> from openstack . metric import metric_service <EOL> from openstack import resource <EOL> class ArchivePolicy ( resource . Resource ) : <EOL> base_path = '<STR_LIT>' <EOL> service = metric_service . MetricService ( ) <EOL> allow_create = True <EOL> allow_retrieve = True <EOL> allow_delete = True <EOL> allow_list = True <EOL> id_attribute = "<STR_LIT:name>" <EOL> name = resource . prop ( '<STR_LIT:name>' ) <EOL> definition = resource . prop ( '<STR_LIT>' , type = list ) <EOL> back_window = resource . prop ( '<STR_LIT>' ) <EOL> aggregation_methods = resource . prop ( "<STR_LIT>" , type = list ) </s>
