Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::TrafficTargetStatus.
Represents the observed state of a single TrafficTarget
entry.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#percent
def percent() -> ::Integer
Returns
- (::Integer) — Specifies percent of the traffic to this Revision.
#percent=
def percent=(value) -> ::Integer
Parameter
- value (::Integer) — Specifies percent of the traffic to this Revision.
Returns
- (::Integer) — Specifies percent of the traffic to this Revision.
#revision
def revision() -> ::String
Returns
- (::String) — Revision to which this traffic is sent.
#revision=
def revision=(value) -> ::String
Parameter
- value (::String) — Revision to which this traffic is sent.
Returns
- (::String) — Revision to which this traffic is sent.
#tag
def tag() -> ::String
Returns
- (::String) — Indicates the string used in the URI to exclusively reference this target.
#tag=
def tag=(value) -> ::String
Parameter
- value (::String) — 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.
#type
def type() -> ::Google::Cloud::Run::V2::TrafficTargetAllocationType
Returns
- (::Google::Cloud::Run::V2::TrafficTargetAllocationType) — The allocation type for this traffic target.
#type=
def type=(value) -> ::Google::Cloud::Run::V2::TrafficTargetAllocationType
Parameter
- value (::Google::Cloud::Run::V2::TrafficTargetAllocationType) — The allocation type for this traffic target.
Returns
- (::Google::Cloud::Run::V2::TrafficTargetAllocationType) — The allocation type for this traffic target.
#uri
def uri() -> ::String
Returns
- (::String) — Displays the target URI.
#uri=
def uri=(value) -> ::String
Parameter
- value (::String) — Displays the target URI.
Returns
- (::String) — Displays the target URI.