Method: Google::Cloud::Storage::Bucket::Lifecycle::Rule#age

Defined in:
lib/google/cloud/storage/bucket/lifecycle.rb,
lib/google/cloud/storage/bucket/lifecycle.rb

#ageInteger

The age of a file (in days). This condition is satisfied when a file reaches the specified age.

Returns:

  • (Integer)

    the current value of age



437
438
439
# File 'lib/google/cloud/storage/bucket/lifecycle.rb', line 437

def age
  @age
end