generated/google/apis/bigquery_v2/representations.rb in google-api-client-0.28.4 vs generated/google/apis/bigquery_v2/representations.rb in google-api-client-0.28.5

- old
+ new

@@ -44,10 +44,28 @@ 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 + + class BqmlTrainingRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + class TrainingOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class Clustering class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -140,16 +158,10 @@ 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 @@ -338,10 +350,16 @@ end include Google::Apis::Core::JsonObjectSupport end + class RoutineReference + 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 @@ -440,22 +458,10 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TrainingRun - class Representation < Google::Apis::Core::JsonRepresentation; end - - class TrainingOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - class UserDefinedFunctionResource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -506,10 +512,49 @@ property :ignore_unspecified_column_families, as: 'ignoreUnspecifiedColumnFamilies' property :read_rowkey_as_string, as: 'readRowkeyAsString' end end + class BqmlIterationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + 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 BqmlTrainingRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::BqmlIterationResult, decorator: Google::Apis::BigqueryV2::BqmlIterationResult::Representation + + property :start_time, as: 'startTime', type: DateTime + + property :state, as: 'state' + property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::BqmlTrainingRun::TrainingOptions, decorator: Google::Apis::BigqueryV2::BqmlTrainingRun::TrainingOptions::Representation + + end + + class TrainingOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :early_stop, as: 'earlyStop' + property :l1_reg, as: 'l1Reg' + property :l2_reg, as: 'l2Reg' + property :learn_rate, as: 'learnRate' + property :learn_rate_strategy, as: 'learnRateStrategy' + property :line_search_init_learn_rate, as: 'lineSearchInitLearnRate' + property :max_iteration, :numeric_string => true, as: 'maxIteration' + property :min_rel_progress, as: 'minRelProgress' + property :warm_start, as: 'warmStart' + end + end + end + class Clustering # @private class Representation < Google::Apis::Core::JsonRepresentation collection :fields, as: 'fields' end @@ -598,10 +643,11 @@ class DestinationTableProperties # @private class Representation < Google::Apis::Core::JsonRepresentation property :description, as: 'description' property :friendly_name, as: 'friendlyName' + hash :labels, as: 'labels' end end class EncryptionConfiguration # @private @@ -721,21 +767,10 @@ property :range, as: 'range' property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows' end end - class IterationResult - # @private - class Representation < Google::Apis::Core::JsonRepresentation - 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 @@ -935,10 +970,12 @@ property :end_time, :numeric_string => true, as: 'endTime' property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation + property :num_child_jobs, :numeric_string => true, as: 'numChildJobs' + property :parent_job_id, as: 'parentJobId' property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation collection :quota_deferments, as: 'quotaDeferments' collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation @@ -960,10 +997,12 @@ # @private class Representation < Google::Apis::Core::JsonRepresentation property :billing_tier, as: 'billingTier' property :cache_hit, as: 'cacheHit' property :ddl_operation_performed, as: 'ddlOperationPerformed' + property :ddl_target_routine, as: 'ddlTargetRoutine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation + property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed' property :model_training, as: 'modelTraining', class: Google::Apis::BigqueryV2::BigQueryModelTraining, decorator: Google::Apis::BigqueryV2::BigQueryModelTraining::Representation @@ -1012,10 +1051,11 @@ class JobStatistics4 # @private class Representation < Google::Apis::Core::JsonRepresentation collection :destination_uri_file_counts, as: 'destinationUriFileCounts' + property :input_bytes, :numeric_string => true, as: 'inputBytes' end end class JobStatus # @private @@ -1039,11 +1079,11 @@ 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 - collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::TrainingRun, decorator: Google::Apis::BigqueryV2::TrainingRun::Representation + collection :training_runs, as: 'trainingRuns', class: Google::Apis::BigqueryV2::BqmlTrainingRun, decorator: Google::Apis::BigqueryV2::BqmlTrainingRun::Representation end class ModelOptions # @private @@ -1197,10 +1237,19 @@ property :start, :numeric_string => true, as: 'start' end 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 Streamingbuffer # @private class Representation < Google::Apis::Core::JsonRepresentation property :estimated_bytes, :numeric_string => true, as: 'estimatedBytes' property :estimated_rows, :numeric_string => true, as: 'estimatedRows' @@ -1401,37 +1450,9 @@ 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 TrainingRun - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :iteration_results, as: 'iterationResults', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation - - property :start_time, as: 'startTime', type: DateTime - - property :state, as: 'state' - property :training_options, as: 'trainingOptions', class: Google::Apis::BigqueryV2::TrainingRun::TrainingOptions, decorator: Google::Apis::BigqueryV2::TrainingRun::TrainingOptions::Representation - - end - - class TrainingOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :early_stop, as: 'earlyStop' - property :l1_reg, as: 'l1Reg' - property :l2_reg, as: 'l2Reg' - property :learn_rate, as: 'learnRate' - property :learn_rate_strategy, as: 'learnRateStrategy' - property :line_search_init_learn_rate, as: 'lineSearchInitLearnRate' - property :max_iteration, :numeric_string => true, as: 'maxIteration' - property :min_rel_progress, as: 'minRelProgress' - property :warm_start, as: 'warmStart' - end end end class UserDefinedFunctionResource # @private