Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation

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

Overview

Identifies one operation of the extension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation

Returns a new instance of GoogleCloudAiplatformV1beta1ToolUseExampleExtensionOperation.



34955
34956
34957
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34955

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

Instance Attribute Details

#extensionString

Resource name of the extension. Corresponds to the JSON property extension

Returns:

  • (String)


34948
34949
34950
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34948

def extension
  @extension
end

#operation_idString

Required. Operation ID of the extension. Corresponds to the JSON property operationId

Returns:

  • (String)


34953
34954
34955
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34953

def operation_id
  @operation_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34960
34961
34962
34963
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 34960

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