Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventRequest

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

Request message for NotebookInternalService.ReportExecutionEvent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ReportExecutionEventRequest

Returns a new instance of GoogleCloudAiplatformV1beta1ReportExecutionEventRequest.



23592
23593
23594
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23592

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

Instance Attribute Details

#event_typeString

Required. The type of the event. Corresponds to the JSON property eventType

Returns:

  • (String)


23574
23575
23576
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23574

def event_type
  @event_type
end

#statusGoogle::Apis::AiplatformV1beta1::GoogleRpcStatus

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. Corresponds to the JSON property status



23584
23585
23586
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23584

def status
  @status
end

#vm_tokenString

Required. The VM identity token (a JWT) for authenticating the VM. https:// cloud.google.com/compute/docs/instances/verifying-instance-identity Corresponds to the JSON property vmToken

Returns:

  • (String)


23590
23591
23592
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23590

def vm_token
  @vm_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23597
23598
23599
23600
23601
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 23597

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