Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJobInputConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJobInputConfig
- 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 input to BatchPredictionJob. See Model. supported_input_storage_formats for Model's supported input formats, and how instances should be expressed via any of them.
Instance Attribute Summary collapse
-
#bigquery_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource
The BigQuery location for the input content.
-
#gcs_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsSource
The Google Cloud Storage location for the input content.
-
#instances_format ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1BatchPredictionJobInputConfig
constructor
A new instance of GoogleCloudAiplatformV1BatchPredictionJobInputConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1BatchPredictionJobInputConfig
Returns a new instance of GoogleCloudAiplatformV1BatchPredictionJobInputConfig.
1852 1853 1854 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1852 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bigquery_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource
The BigQuery location for the input content.
Corresponds to the JSON property bigquerySource
1839 1840 1841 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1839 def bigquery_source @bigquery_source end |
#gcs_source ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsSource
The Google Cloud Storage location for the input content.
Corresponds to the JSON property gcsSource
1844 1845 1846 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1844 def gcs_source @gcs_source end |
#instances_format ⇒ String
Required. The format in which instances are given, must be one of the Model's
supported_input_storage_formats.
Corresponds to the JSON property instancesFormat
1850 1851 1852 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1850 def instances_format @instances_format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1857 1858 1859 1860 1861 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1857 def update!(**args) @bigquery_source = args[:bigquery_source] if args.key?(:bigquery_source) @gcs_source = args[:gcs_source] if args.key?(:gcs_source) @instances_format = args[:instances_format] if args.key?(:instances_format) end |