Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2CloudStorageKey

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

Overview

Record key for a finding in a Cloud Storage file.

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) ⇒ GooglePrivacyDlpV2beta2CloudStorageKey

Returns a new instance of GooglePrivacyDlpV2beta2CloudStorageKey



2063
2064
2065
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2063

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

Instance Attribute Details

#file_pathString

Path to the file. Corresponds to the JSON property filePath

Returns:

  • (String)


2056
2057
2058
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2056

def file_path
  @file_path
end

#start_offsetFixnum

Byte offset of the referenced data in the file. Corresponds to the JSON property startOffset

Returns:

  • (Fixnum)


2061
2062
2063
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2061

def start_offset
  @start_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2068
2069
2070
2071
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2068

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