Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::RecommendationStateInfo.
Information for state. Contains state and metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#state
def state() -> ::Google::Cloud::Recommender::V1::RecommendationStateInfo::State
Returns
- (::Google::Cloud::Recommender::V1::RecommendationStateInfo::State) — The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
#state=
def state=(value) -> ::Google::Cloud::Recommender::V1::RecommendationStateInfo::State
Parameter
- value (::Google::Cloud::Recommender::V1::RecommendationStateInfo::State) — The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
Returns
- (::Google::Cloud::Recommender::V1::RecommendationStateInfo::State) — The state of the recommendation, Eg ACTIVE, SUCCEEDED, FAILED.
#state_metadata
def state_metadata() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — A map of metadata for the state, provided by user or automations systems.
#state_metadata=
def state_metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — A map of metadata for the state, provided by user or automations systems.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — A map of metadata for the state, provided by user or automations systems.