Class: Google::Cloud::Recommender::V1::RecommenderConfig

Inherits:
Object
  • Object
show all
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

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.

Returns:

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

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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