Class: Google::Cloud::Recommender::V1::MarkRecommendationClaimedRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recommender/v1/recommender_service.rb

Overview

Request for the MarkRecommendationClaimed Method.

Defined Under Namespace

Classes: StateMetadataEntry

Instance Attribute Summary collapse

Instance Attribute Details

#etag::String

Returns Required. Fingerprint of the Recommendation. Provides optimistic locking.

Returns:

  • (::String)

    Required. Fingerprint of the Recommendation. Provides optimistic locking.



250
251
252
253
254
255
256
257
258
259
260
261
262
# File 'proto_docs/google/cloud/recommender/v1/recommender_service.rb', line 250

class MarkRecommendationClaimedRequest
  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.

Returns:

  • (::String)

    Required. Name of the recommendation.



250
251
252
253
254
255
256
257
258
259
260
261
262
# File 'proto_docs/google/cloud/recommender/v1/recommender_service.rb', line 250

class MarkRecommendationClaimedRequest
  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}$/.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    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}$/.



250
251
252
253
254
255
256
257
258
259
260
261
262
# File 'proto_docs/google/cloud/recommender/v1/recommender_service.rb', line 250

class MarkRecommendationClaimedRequest
  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