Class: Google::Storage::Data::BucketConditionCatalog
- Inherits:
-
BucketCondition
- Object
- BucketCondition
- Google::Storage::Data::BucketConditionCatalog
- Defined in:
- lib/google/storage/property/bucket_condition.rb
Overview
Manages a BucketCondition nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from BucketCondition
#age_days, #created_before, #is_live, #matches_storage_class, #num_newer_versions
Instance Method Summary collapse
-
#initialize(args) ⇒ BucketConditionCatalog
constructor
A new instance of BucketConditionCatalog.
Methods inherited from BucketCondition
Constructor Details
#initialize(args) ⇒ BucketConditionCatalog
Returns a new instance of BucketConditionCatalog.
112 113 114 115 116 117 118 119 120 |
# File 'lib/google/storage/property/bucket_condition.rb', line 112 def initialize(args) @age_days = Google::Storage::Property::Integer.unsafe_munge(args['age_days']) @created_before = Google::Storage::Property::Time.unsafe_munge(args['created_before']) @is_live = Google::Storage::Property::Boolean.unsafe_munge(args['is_live']) @matches_storage_class = Google::Storage::Property::StringArray.unsafe_munge(args['matches_storage_class']) @num_newer_versions = Google::Storage::Property::Integer.unsafe_munge(args['num_newer_versions']) end |