Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchDedicatedResources
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchDedicatedResources
- 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 description of resources that are used for performing batch operations, are dedicated to a Model, and need manual configuration.
Instance Attribute Summary collapse
-
#machine_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec
Specification of a single machine.
-
#max_replica_count ⇒ Fixnum
Immutable.
-
#starting_replica_count ⇒ Fixnum
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1BatchDedicatedResources
constructor
A new instance of GoogleCloudAiplatformV1beta1BatchDedicatedResources.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1BatchDedicatedResources
Returns a new instance of GoogleCloudAiplatformV1beta1BatchDedicatedResources.
1540 1541 1542 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#machine_spec ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec
Specification of a single machine.
Corresponds to the JSON property machineSpec
1525 1526 1527 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1525 def machine_spec @machine_spec end |
#max_replica_count ⇒ Fixnum
Immutable. The maximum number of machine replicas the batch operation may be
scaled to. The default value is 10.
Corresponds to the JSON property maxReplicaCount
1531 1532 1533 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1531 def max_replica_count @max_replica_count end |
#starting_replica_count ⇒ Fixnum
Immutable. The number of machine replicas used at the start of the batch
operation. If not set, Vertex AI decides starting number, not greater than
max_replica_count
Corresponds to the JSON property startingReplicaCount
1538 1539 1540 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1538 def starting_replica_count @starting_replica_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1545 1546 1547 1548 1549 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1545 def update!(**args) @machine_spec = args[:machine_spec] if args.key?(:machine_spec) @max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count) @starting_replica_count = args[:starting_replica_count] if args.key?(:starting_replica_count) end |