Class: Google::Cloud::Run::V2::InstanceSplit
- Inherits:
-
Object
- Object
- Google::Cloud::Run::V2::InstanceSplit
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/run/v2/instance_split.rb
Overview
Holds a single instance split entry for the Worker. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.
Instance Attribute Summary collapse
-
#percent ⇒ ::Integer
Specifies percent of the instance split to this Revision.
-
#revision ⇒ ::String
Revision to which to assign this portion of instances, if split allocation is by revision.
-
#type ⇒ ::Google::Cloud::Run::V2::InstanceSplitAllocationType
The allocation type for this instance split.
Instance Attribute Details
#percent ⇒ ::Integer
Returns Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.
37 38 39 40 |
# File 'proto_docs/google/cloud/run/v2/instance_split.rb', line 37 class InstanceSplit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#revision ⇒ ::String
Returns Revision to which to assign this portion of instances, if split allocation is by revision.
37 38 39 40 |
# File 'proto_docs/google/cloud/run/v2/instance_split.rb', line 37 class InstanceSplit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::Google::Cloud::Run::V2::InstanceSplitAllocationType
Returns The allocation type for this instance split.
37 38 39 40 |
# File 'proto_docs/google/cloud/run/v2/instance_split.rb', line 37 class InstanceSplit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |