Class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference

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

Identifies a single Vertex AI resource. Only datasets are supported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2VertexDatasetResourceReference

Returns a new instance of GooglePrivacyDlpV2VertexDatasetResourceReference.



11508
11509
11510
# File 'lib/google/apis/dlp_v2/classes.rb', line 11508

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

Instance Attribute Details

#dataset_resource_nameString

Required. The name of the Vertex AI resource. If set within a project-level configuration, the specified resource must be within the project. Examples: * projects/project/locations/location/datasets/dataset` Corresponds to the JSON propertydatasetResourceName`

Returns:

  • (String)


11506
11507
11508
# File 'lib/google/apis/dlp_v2/classes.rb', line 11506

def dataset_resource_name
  @dataset_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11513
11514
11515
# File 'lib/google/apis/dlp_v2/classes.rb', line 11513

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