Class: Google::Cloud::Recommender::V1::MarkRecommendationSucceededRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Recommender::V1::MarkRecommendationSucceededRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recommender/v1/recommender_service.rb
Overview
Request for the MarkRecommendationSucceeded
Method.
Defined Under Namespace
Classes: StateMetadataEntry
Instance Attribute Summary collapse
-
#etag ⇒ ::String
Required.
-
#name ⇒ ::String
Required.
-
#state_metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
State properties to include with this state.
Instance Attribute Details
#etag ⇒ ::String
Returns Required. Fingerprint of the Recommendation. Provides optimistic locking.
277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_service.rb', line 277 class MarkRecommendationSucceededRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class StateMetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Required. Name of the recommendation.
277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_service.rb', line 277 class MarkRecommendationSucceededRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class StateMetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#state_metadata ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns State properties to include with this state. Overwrites any existing
state_metadata
.
Keys must match the regex /^[a-z0-9][a-z0-9_.-]{0,62}$/
.
Values must match the regex /^[a-zA-Z0-9_./-]{0,255}$/
.
277 278 279 280 281 282 283 284 285 286 287 288 289 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_service.rb', line 277 class MarkRecommendationSucceededRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class StateMetadataEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |