Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1InspectOperationResult

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

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



639
640
641
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 639

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)


637
638
639
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 637

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



644
645
646
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 644

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