Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Dataset

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

Overview

Vertex AI dataset associated with the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Dataset

Returns a new instance of GoogleCloudSecuritycenterV2Dataset.



6365
6366
6367
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6365

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)


6351
6352
6353
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6351

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)


6357
6358
6359
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6357

def name
  @name
end

#sourceString

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

Returns:

  • (String)


6363
6364
6365
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6363

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6370
6371
6372
6373
6374
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6370

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