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

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

#days_since_noncurrent_timeInteger

Represents the number of days elapsed since the noncurrent timestamp of an object. The condition is satisfied if the days elapsed is at least this number. The value of the field must be a nonnegative integer. If it's zero, the object version will become eligible for Lifecycle action as soon as it becomes noncurrent. Relevant only for versioning-enabled buckets. (See Google::Cloud::Storage::Bucket#versioning?)

Returns:

  • (Integer)

    the current value of days_since_noncurrent_time



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

def days_since_noncurrent_time
  @days_since_noncurrent_time
end