Class: Google::Cloud::Run::V2::InstanceSplit

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#percent::Integer

Returns Specifies percent of the instance split to this Revision. This defaults to zero if unspecified.

Returns:

  • (::Integer)

    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.

Returns:

  • (::String)

    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.

Returns:



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