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

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

#num_newer_versionsInteger

Relevant only for versioned files. If the value is N, this condition is satisfied when there are at least N versions (including the live version) newer than this version of the file.

Returns:

  • (Integer)

    the current value of num_newer_versions



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

def num_newer_versions
  @num_newer_versions
end