Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJobOutputConfig

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

Overview

Configures the output of BatchPredictionJob. See Model. supported_output_storage_formats for supported output formats, and how predictions are expressed via any of them.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1BatchPredictionJobOutputConfig

Returns a new instance of GoogleCloudAiplatformV1BatchPredictionJobOutputConfig.



1960
1961
1962
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1960

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

Instance Attribute Details

#bigquery_destinationGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination

The BigQuery location for the output content. Corresponds to the JSON property bigqueryDestination



1947
1948
1949
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1947

def bigquery_destination
  @bigquery_destination
end

#gcs_destinationGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination

The Google Cloud Storage location where the output is to be written to. Corresponds to the JSON property gcsDestination



1952
1953
1954
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1952

def gcs_destination
  @gcs_destination
end

#predictions_formatString

Required. The format in which Vertex AI gives the predictions, must be one of the Model's supported_output_storage_formats. Corresponds to the JSON property predictionsFormat

Returns:

  • (String)


1958
1959
1960
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1958

def predictions_format
  @predictions_format
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1965
1966
1967
1968
1969
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1965

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