Class: Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse

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

Overview

Defined Under Namespace

Classes: EntityView, FeatureDescriptor, Header

Instance Attribute Summary collapse

Instance Attribute Details

#entity_view::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::EntityView

Returns Entity view with Feature values. This may be the entity in the Featurestore if values for all Features were requested, or a projection of the entity in the Featurestore if values for only some Features were requested.

Returns:



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb', line 55

class ReadFeatureValuesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Metadata for requested Features.
  # @!attribute [rw] id
  #   @return [::String]
  #     Feature ID.
  class FeatureDescriptor
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Response header with metadata for the requested
  # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest#entity_type ReadFeatureValuesRequest.entity_type} and Features.
  # @!attribute [rw] entity_type
  #   @return [::String]
  #     The resource name of the EntityType from the
  #     {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest ReadFeatureValuesRequest}. Value format:
  #     `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
  # @!attribute [rw] feature_descriptors
  #   @return [::Array<::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::FeatureDescriptor>]
  #     List of Feature metadata corresponding to each piece of
  #     [ReadFeatureValuesResponse.data][].
  class Header
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Entity view with Feature values.
  # @!attribute [rw] entity_id
  #   @return [::String]
  #     ID of the requested entity.
  # @!attribute [rw] data
  #   @return [::Array<::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::EntityView::Data>]
  #     Each piece of data holds the k
  #     requested values for one requested Feature. If no values
  #     for the requested Feature exist, the corresponding cell will be empty.
  #     This has the same size and is in the same order as the features from the
  #     header {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse#header ReadFeatureValuesResponse.header}.
  class EntityView
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Container to hold value(s), successive in time, for one Feature from the
    # request.
    # @!attribute [rw] value
    #   @return [::Google::Cloud::AIPlatform::V1::FeatureValue]
    #     Feature value if a single value is requested.
    # @!attribute [rw] values
    #   @return [::Google::Cloud::AIPlatform::V1::FeatureValueList]
    #     Feature values list if values, successive in time, are requested.
    #     If the requested number of values is greater than the number of
    #     existing Feature values, nonexistent values are omitted instead of
    #     being returned as empty.
    class Data
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#header::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::Header

Returns Response header.



55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# File 'proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb', line 55

class ReadFeatureValuesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Metadata for requested Features.
  # @!attribute [rw] id
  #   @return [::String]
  #     Feature ID.
  class FeatureDescriptor
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Response header with metadata for the requested
  # {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest#entity_type ReadFeatureValuesRequest.entity_type} and Features.
  # @!attribute [rw] entity_type
  #   @return [::String]
  #     The resource name of the EntityType from the
  #     {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest ReadFeatureValuesRequest}. Value format:
  #     `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
  # @!attribute [rw] feature_descriptors
  #   @return [::Array<::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::FeatureDescriptor>]
  #     List of Feature metadata corresponding to each piece of
  #     [ReadFeatureValuesResponse.data][].
  class Header
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Entity view with Feature values.
  # @!attribute [rw] entity_id
  #   @return [::String]
  #     ID of the requested entity.
  # @!attribute [rw] data
  #   @return [::Array<::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse::EntityView::Data>]
  #     Each piece of data holds the k
  #     requested values for one requested Feature. If no values
  #     for the requested Feature exist, the corresponding cell will be empty.
  #     This has the same size and is in the same order as the features from the
  #     header {::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse#header ReadFeatureValuesResponse.header}.
  class EntityView
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Container to hold value(s), successive in time, for one Feature from the
    # request.
    # @!attribute [rw] value
    #   @return [::Google::Cloud::AIPlatform::V1::FeatureValue]
    #     Feature value if a single value is requested.
    # @!attribute [rw] values
    #   @return [::Google::Cloud::AIPlatform::V1::FeatureValueList]
    #     Feature values list if values, successive in time, are requested.
    #     If the requested number of values is greater than the number of
    #     existing Feature values, nonexistent values are omitted instead of
    #     being returned as empty.
    class Data
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end