Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStop

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ContentStop

Returns a new instance of GenaiVertexV1beta1ContentStop.



1820
1821
1822
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1820

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

Instance Attribute Details

#indexFixnum

Corresponds to the JSON property index

Returns:

  • (Fixnum)


1818
1819
1820
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1818

def index
  @index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1825
1826
1827
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1825

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