Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UserActionReference

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

References an API call. It contains more information about long running operation and Jobs that are triggered by the API call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UserActionReference

Returns a new instance of GoogleCloudAiplatformV1beta1UserActionReference.



36216
36217
36218
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36216

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

Instance Attribute Details

#data_labeling_jobString

For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: projects/project/locations/location/dataLabelingJobs/ data_labeling_job` Corresponds to the JSON propertydataLabelingJob`

Returns:

  • (String)


36201
36202
36203
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36201

def data_labeling_job
  @data_labeling_job
end

#method_propString

The method name of the API RPC call. For example, "/google.cloud.aiplatform. apiVersion.DatasetService.CreateDataset" Corresponds to the JSON property method

Returns:

  • (String)


36207
36208
36209
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36207

def method_prop
  @method_prop
end

#operationString

For API calls that return a long running operation. Resource name of the long running operation. Format: projects/project/locations/location/operations/ operation` Corresponds to the JSON propertyoperation`

Returns:

  • (String)


36214
36215
36216
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36214

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



36221
36222
36223
36224
36225
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 36221

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