Class: Google::Apis::DlpV2::GooglePrivacyDlpV2beta1InspectOperationResult

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

Overview

The operational data.

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

Returns a new instance of GooglePrivacyDlpV2beta1InspectOperationResult



5313
5314
5315
# File 'generated/google/apis/dlp_v2/classes.rb', line 5313

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

Instance Attribute Details

#nameString

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of inspect/results/id`. Corresponds to the JSON propertyname`

Returns:

  • (String)


5311
5312
5313
# File 'generated/google/apis/dlp_v2/classes.rb', line 5311

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5318
5319
5320
# File 'generated/google/apis/dlp_v2/classes.rb', line 5318

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