Class: Google::Cloud::Run::V2::TrafficTargetStatus

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/traffic_target.rb

Overview

Represents the observed state of a single TrafficTarget entry.

Instance Attribute Summary collapse

Instance Attribute Details

#percent::Integer

Returns Specifies percent of the traffic to this Revision.

Returns:

  • (::Integer)

    Specifies percent of the traffic to this Revision.



62
63
64
65
# File 'proto_docs/google/cloud/run/v2/traffic_target.rb', line 62

class TrafficTargetStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#revision::String

Returns Revision to which this traffic is sent.

Returns:

  • (::String)

    Revision to which this traffic is sent.



62
63
64
65
# File 'proto_docs/google/cloud/run/v2/traffic_target.rb', line 62

class TrafficTargetStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#tag::String

Returns Indicates the string used in the URI to exclusively reference this target.

Returns:

  • (::String)

    Indicates the string used in the URI to exclusively reference this target.



62
63
64
65
# File 'proto_docs/google/cloud/run/v2/traffic_target.rb', line 62

class TrafficTargetStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::Google::Cloud::Run::V2::TrafficTargetAllocationType

Returns The allocation type for this traffic target.

Returns:



62
63
64
65
# File 'proto_docs/google/cloud/run/v2/traffic_target.rb', line 62

class TrafficTargetStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uri::String

Returns Displays the target URI.

Returns:

  • (::String)

    Displays the target URI.



62
63
64
65
# File 'proto_docs/google/cloud/run/v2/traffic_target.rb', line 62

class TrafficTargetStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end