Class: Google::Apis::SecuritycenterV1beta1::Dataset

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

Overview

Vertex AI dataset associated with the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Dataset

Returns a new instance of Dataset.



2119
2120
2121
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2119

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

Instance Attribute Details

#display_nameString

The user defined display name of dataset, e.g. plants-dataset Corresponds to the JSON property displayName

Returns:

  • (String)


2105
2106
2107
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2105

def display_name
  @display_name
end

#nameString

Resource name of the dataset, e.g. projects/project/locations/location/ datasets/2094040236064505856 Corresponds to the JSON property name

Returns:

  • (String)


2111
2112
2113
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2111

def name
  @name
end

#sourceString

Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest. gsod Corresponds to the JSON property source

Returns:

  • (String)


2117
2118
2119
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2117

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2124
2125
2126
2127
2128
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 2124

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