Class: Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentLocation

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

Overview

Location within a batch of content.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2BatchContentLocation

Returns a new instance of GooglePrivacyDlpV2BatchContentLocation.



644
645
646
# File 'lib/google/apis/dlp_v2/classes.rb', line 644

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

Instance Attribute Details

#item_indexFixnum

Matches an index of a batch item in the batch provided in the request. Corresponds to the JSON property itemIndex

Returns:

  • (Fixnum)


642
643
644
# File 'lib/google/apis/dlp_v2/classes.rb', line 642

def item_index
  @item_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



649
650
651
# File 'lib/google/apis/dlp_v2/classes.rb', line 649

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