Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Pipeline

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 training pipeline associated with the finding.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Pipeline

Returns a new instance of GoogleCloudSecuritycenterV2Pipeline.



9076
9077
9078
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9076

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


9068
9069
9070
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9068

def display_name
  @display_name
end

#nameString

Resource name of the pipeline, e.g. projects/project/locations/location/ trainingPipelines/5253428229225578496 Corresponds to the JSON property name

Returns:

  • (String)


9074
9075
9076
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9074

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9081
9082
9083
9084
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9081

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