Class: Google::Cloud::Recommender::V1::RecommenderConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Recommender::V1::RecommenderConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recommender/v1/recommender_config.rb
Overview
Configuration for a Recommender.
Defined Under Namespace
Classes: AnnotationsEntry
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Allows clients to store small amounts of arbitrary data.
-
#display_name ⇒ ::String
A user-settable field to provide a human-readable name to be used in user interfaces.
-
#etag ⇒ ::String
Fingerprint of the RecommenderConfig.
-
#name ⇒ ::String
Name of recommender config.
-
#recommender_generation_config ⇒ ::Google::Cloud::Recommender::V1::RecommenderGenerationConfig
RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
-
#revision_id ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
Last time when the config was updated.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#display_name ⇒ ::String
Returns A user-settable field to provide a human-readable name to be used in user interfaces.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#etag ⇒ ::String
Returns Fingerprint of the RecommenderConfig. Provides optimistic locking when updating.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#name ⇒ ::String
Returns Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#recommender_generation_config ⇒ ::Google::Cloud::Recommender::V1::RecommenderGenerationConfig
Returns RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#revision_id ⇒ ::String (readonly)
Returns Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns Last time when the config was updated.
60 61 62 63 64 65 66 67 68 69 70 71 72 |
# File 'proto_docs/google/cloud/recommender/v1/recommender_config.rb', line 60 class RecommenderConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |