Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity
- 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
A duration of time expressed in time granularity units.
Instance Attribute Summary collapse
-
#quantity ⇒ Fixnum
The number of granularity_units between data points in the training data.
-
#unit ⇒ String
The time granularity unit of this time period.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity
constructor
A new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity
Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionSeq2SeqPlusForecastingInputsGranularity.
30020 30021 30022 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quantity ⇒ Fixnum
The number of granularity_units between data points in the training data. If
granularity_unit
is minute
, can be 1, 5, 10, 15, or 30. For all other
values of granularity_unit
, must be 1.
Corresponds to the JSON property quantity
30012 30013 30014 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30012 def quantity @quantity end |
#unit ⇒ String
The time granularity unit of this time period. The supported units are: * "
minute" * "hour" * "day" * "week" * "month" * "year"
Corresponds to the JSON property unit
30018 30019 30020 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30018 def unit @unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30025 30026 30027 30028 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 30025 def update!(**args) @quantity = args[:quantity] if args.key?(:quantity) @unit = args[:unit] if args.key?(:unit) end |