Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::DataResult.
Retrieved data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data
def data() -> ::Array<::Google::Protobuf::Struct>
- (::Array<::Google::Protobuf::Struct>) — Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
#data=
def data=(value) -> ::Array<::Google::Protobuf::Struct>
- value (::Array<::Google::Protobuf::Struct>) — Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
- (::Array<::Google::Protobuf::Struct>) — Optional. The content of the data. Each row is a struct that matches the schema. Simple values are represented as strings, while nested structures are represented as lists or structs.
#name
def name() -> ::String
-
(::String) —
Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
#name=
def name=(value) -> ::String
-
value (::String) —
Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
-
(::String) —
Optional. A snake-case name for the data result that reflects its contents. The name is used to pass the result around by reference, and serves as a signal about its meaning.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
#schema
def schema() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::Schema
- (::Google::Cloud::GeminiDataAnalytics::V1beta::Schema) — Optional. The schema of the data.
#schema=
def schema=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::Schema
- value (::Google::Cloud::GeminiDataAnalytics::V1beta::Schema) — Optional. The schema of the data.
- (::Google::Cloud::GeminiDataAnalytics::V1beta::Schema) — Optional. The schema of the data.