Class: Google::Apis::SafebrowsingV4::RawIndices

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/safebrowsing_v4/classes.rb,
generated/google/apis/safebrowsing_v4/representations.rb,
generated/google/apis/safebrowsing_v4/representations.rb

Overview

A set of raw indices to remove from a local list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RawIndices

Returns a new instance of RawIndices



519
520
521
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 519

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#indicesArray<Fixnum>

The indices to remove from a lexicographically-sorted local list. Corresponds to the JSON property indices

Returns:

  • (Array<Fixnum>)


517
518
519
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 517

def indices
  @indices
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



524
525
526
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 524

def update!(**args)
  @indices = args[:indices] if args.key?(:indices)
end