generated/google/apis/bigquery_v2/representations.rb in google-api-client-0.29.1 vs generated/google/apis/bigquery_v2/representations.rb in google-api-client-0.29.2

- old
+ new

@@ -20,10 +20,16 @@ module Google module Apis module BigqueryV2 + class AggregateClassificationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BigQueryModelTraining class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -44,10 +50,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BinaryClassificationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BinaryConfusionMatrix + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BqmlIterationResult class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -62,16 +80,34 @@ end include Google::Apis::Core::JsonObjectSupport end + class ClusterInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Clustering class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ClusteringMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConfusionMatrix + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CsvOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -116,16 +152,28 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Entry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ErrorProto class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class EvaluationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ExplainQueryStage class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -158,10 +206,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class IterationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Job class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -260,16 +314,34 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ListModelsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LocationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MaterializedViewDefinition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Model + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ModelDefinition class Representation < Google::Apis::Core::JsonRepresentation; end class ModelOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -278,10 +350,22 @@ end include Google::Apis::Core::JsonObjectSupport end + class ModelReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MultiClassClassificationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ProjectList class Representation < Google::Apis::Core::JsonRepresentation; end class Project class Representation < Google::Apis::Core::JsonRepresentation; end @@ -350,16 +434,46 @@ end include Google::Apis::Core::JsonObjectSupport end + class RegressionMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RoutineReference class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Row + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StandardSqlDataType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StandardSqlField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StandardSqlStructType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Streamingbuffer class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -458,10 +572,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TrainingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TrainingRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UserDefinedFunctionResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -470,10 +596,23 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AggregateClassificationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accuracy, as: 'accuracy' + property :f1_score, as: 'f1Score' + property :log_loss, as: 'logLoss' + property :precision, as: 'precision' + property :recall, as: 'recall' + property :roc_auc, as: 'rocAuc' + property :threshold, as: 'threshold' + end + end + class BigQueryModelTraining # @private class Representation < Google::Apis::Core::JsonRepresentation property :current_iteration, as: 'currentIteration' property :expected_total_iterations, :numeric_string => true, as: 'expectedTotalIterations' @@ -512,10 +651,33 @@ property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies' property :read_rowkey_as_string, as: 'readRowkeyAsString' end end + class BinaryClassificationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aggregate_classification_metrics, as: 'aggregateClassificationMetrics', class: Google::Apis::BigqueryV2::AggregateClassificationMetrics, decorator: Google::Apis::BigqueryV2::AggregateClassificationMetrics::Representation + + collection :binary_confusion_matrix_list, as: 'binaryConfusionMatrixList', class: Google::Apis::BigqueryV2::BinaryConfusionMatrix, decorator: Google::Apis::BigqueryV2::BinaryConfusionMatrix::Representation + + end + end + + class BinaryConfusionMatrix + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :false_negatives, :numeric_string => true, as: 'falseNegatives' + property :false_positives, :numeric_string => true, as: 'falsePositives' + property :positive_class_threshold, as: 'positiveClassThreshold' + property :precision, as: 'precision' + property :recall, as: 'recall' + property :true_negatives, :numeric_string => true, as: 'trueNegatives' + property :true_positives, :numeric_string => true, as: 'truePositives' + end + end + class BqmlIterationResult # @private class Representation < Google::Apis::Core::JsonRepresentation property :duration_ms, :numeric_string => true, as: 'durationMs' property :eval_loss, as: 'evalLoss' @@ -551,17 +713,43 @@ property :warm_start, as: 'warmStart' end end end + class ClusterInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :centroid_id, :numeric_string => true, as: 'centroidId' + property :cluster_radius, as: 'clusterRadius' + property :cluster_size, :numeric_string => true, as: 'clusterSize' + end + end + class Clustering # @private class Representation < Google::Apis::Core::JsonRepresentation collection :fields, as: 'fields' end end + class ClusteringMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :davies_bouldin_index, as: 'daviesBouldinIndex' + property :mean_squared_distance, as: 'meanSquaredDistance' + end + end + + class ConfusionMatrix + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence_threshold, as: 'confidenceThreshold' + collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::Row, decorator: Google::Apis::BigqueryV2::Row::Representation + + end + end + class CsvOptions # @private class Representation < Google::Apis::Core::JsonRepresentation property :allow_jagged_rows, as: 'allowJaggedRows' property :allow_quoted_newlines, as: 'allowQuotedNewlines' @@ -654,20 +842,42 @@ class Representation < Google::Apis::Core::JsonRepresentation property :kms_key_name, as: 'kmsKeyName' end end + class Entry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :item_count, :numeric_string => true, as: 'itemCount' + property :predicted_label, as: 'predictedLabel' + end + end + class ErrorProto # @private class Representation < Google::Apis::Core::JsonRepresentation property :debug_info, as: 'debugInfo' property :location, as: 'location' property :message, as: 'message' property :reason, as: 'reason' end end + class EvaluationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :binary_classification_metrics, as: 'binaryClassificationMetrics', class: Google::Apis::BigqueryV2::BinaryClassificationMetrics, decorator: Google::Apis::BigqueryV2::BinaryClassificationMetrics::Representation + + property :clustering_metrics, as: 'clusteringMetrics', class: Google::Apis::BigqueryV2::ClusteringMetrics, decorator: Google::Apis::BigqueryV2::ClusteringMetrics::Representation + + property :multi_class_classification_metrics, as: 'multiClassClassificationMetrics', class: Google::Apis::BigqueryV2::MultiClassClassificationMetrics, decorator: Google::Apis::BigqueryV2::MultiClassClassificationMetrics::Representation + + property :regression_metrics, as: 'regressionMetrics', class: Google::Apis::BigqueryV2::RegressionMetrics, decorator: Google::Apis::BigqueryV2::RegressionMetrics::Representation + + end + end + class ExplainQueryStage # @private class Representation < Google::Apis::Core::JsonRepresentation property :completed_parallel_inputs, :numeric_string => true, as: 'completedParallelInputs' property :compute_ms_avg, :numeric_string => true, as: 'computeMsAvg' @@ -767,10 +977,23 @@ property :range, as: 'range' property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows' end end + class IterationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cluster_infos, as: 'clusterInfos', class: Google::Apis::BigqueryV2::ClusterInfo, decorator: Google::Apis::BigqueryV2::ClusterInfo::Representation + + property :duration_ms, :numeric_string => true, as: 'durationMs' + property :eval_loss, as: 'evalLoss' + property :index, as: 'index' + property :learn_rate, as: 'learnRate' + property :training_loss, as: 'trainingLoss' + end + end + class Job # @private class Representation < Google::Apis::Core::JsonRepresentation property :configuration, as: 'configuration', class: Google::Apis::BigqueryV2::JobConfiguration, decorator: Google::Apis::BigqueryV2::JobConfiguration::Representation @@ -1066,18 +1289,57 @@ property :state, as: 'state' end end + class ListModelsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :models, as: 'models', class: Google::Apis::BigqueryV2::Model, decorator: Google::Apis::BigqueryV2::Model::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class LocationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :legacy_location_id, as: 'legacyLocationId' + end + end + class MaterializedViewDefinition # @private class Representation < Google::Apis::Core::JsonRepresentation property :last_refresh_time, :numeric_string => true, as: 'lastRefreshTime' property :query, as: 'query' end end + class Model + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, :numeric_string => true, as: 'creationTime' + property :description, as: 'description' + property :etag, as: 'etag' + property :expiration_time, :numeric_string => true, as: 'expirationTime' + collection :feature_columns, as: 'featureColumns', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation + + property :friendly_name, as: 'friendlyName' + collection :label_columns, as: 'labelColumns', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation + + hash :labels, as: 'labels' + property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime' + property :location, as: 'location' + property :model_reference, as: 'modelReference', class: Google::Apis::BigqueryV2::ModelReference, decorator: Google::Apis::BigqueryV2::ModelReference::Representation + + property :model_type, as: 'modelType' + collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation + + end + end + class ModelDefinition # @private class Representation < Google::Apis::Core::JsonRepresentation property :model_options, as: 'modelOptions', class: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions, decorator: Google::Apis::BigqueryV2::ModelDefinition::ModelOptions::Representation @@ -1093,10 +1355,29 @@ property :model_type, as: 'modelType' end end end + class ModelReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :model_id, as: 'modelId' + property :project_id, as: 'projectId' + end + end + + class MultiClassClassificationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aggregate_classification_metrics, as: 'aggregateClassificationMetrics', class: Google::Apis::BigqueryV2::AggregateClassificationMetrics, decorator: Google::Apis::BigqueryV2::AggregateClassificationMetrics::Representation + + collection :confusion_matrix_list, as: 'confusionMatrixList', class: Google::Apis::BigqueryV2::ConfusionMatrix, decorator: Google::Apis::BigqueryV2::ConfusionMatrix::Representation + + end + end + class ProjectList # @private class Representation < Google::Apis::Core::JsonRepresentation property :etag, as: 'etag' property :kind, as: 'kind' @@ -1237,19 +1518,67 @@ property :start, :numeric_string => true, as: 'start' end end end + class RegressionMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mean_absolute_error, as: 'meanAbsoluteError' + property :mean_squared_error, as: 'meanSquaredError' + property :mean_squared_log_error, as: 'meanSquaredLogError' + property :median_absolute_error, as: 'medianAbsoluteError' + property :r_squared, as: 'rSquared' + end + end + class RoutineReference # @private class Representation < Google::Apis::Core::JsonRepresentation property :dataset_id, as: 'datasetId' property :project_id, as: 'projectId' property :routine_id, as: 'routineId' end end + class Row + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :actual_label, as: 'actualLabel' + collection :entries, as: 'entries', class: Google::Apis::BigqueryV2::Entry, decorator: Google::Apis::BigqueryV2::Entry::Representation + + end + end + + class StandardSqlDataType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :array_element_type, as: 'arrayElementType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation + + property :struct_type, as: 'structType', class: Google::Apis::BigqueryV2::StandardSqlStructType, decorator: Google::Apis::BigqueryV2::StandardSqlStructType::Representation + + property :type_kind, as: 'typeKind' + end + end + + class StandardSqlField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :type, as: 'type', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation + + end + end + + class StandardSqlStructType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :fields, as: 'fields', class: Google::Apis::BigqueryV2::StandardSqlField, decorator: Google::Apis::BigqueryV2::StandardSqlField::Representation + + end + end + class Streamingbuffer # @private class Representation < Google::Apis::Core::JsonRepresentation property :estimated_bytes, :numeric_string => true, as: 'estimatedBytes' property :estimated_rows, :numeric_string => true, as: 'estimatedRows' @@ -1450,9 +1779,47 @@ class Representation < Google::Apis::Core::JsonRepresentation property :expiration_ms, :numeric_string => true, as: 'expirationMs' property :field, as: 'field' property :require_partition_filter, as: 'requirePartitionFilter' property :type, as: 'type' + end + end + + class TrainingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_split_column, as: 'dataSplitColumn' + property :data_split_eval_fraction, as: 'dataSplitEvalFraction' + property :data_split_method, as: 'dataSplitMethod' + property :distance_type, as: 'distanceType' + property :early_stop, as: 'earlyStop' + property :initial_learn_rate, as: 'initialLearnRate' + collection :input_label_columns, as: 'inputLabelColumns' + property :l1_regularization, as: 'l1Regularization' + property :l2_regularization, as: 'l2Regularization' + hash :label_class_weights, as: 'labelClassWeights' + property :learn_rate, as: 'learnRate' + property :learn_rate_strategy, as: 'learnRateStrategy' + property :loss_type, as: 'lossType' + property :max_iterations, :numeric_string => true, as: 'maxIterations' + property :min_relative_progress, as: 'minRelativeProgress' + property :model_uri, as: 'modelUri' + property :num_clusters, :numeric_string => true, as: 'numClusters' + property :optimization_strategy, as: 'optimizationStrategy' + property :warm_start, as: 'warmStart' + end + end + + class TrainingRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation + + collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation + + property :start_time, as: 'startTime' + property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingOptions::Representation + end end class UserDefinedFunctionResource # @private