google-api-client 0.30.2 → 0.30.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class Argument
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class BigQueryModelTraining
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -208,6 +214,12 @@ module Google
|
|
208
214
|
include Google::Apis::Core::JsonObjectSupport
|
209
215
|
end
|
210
216
|
|
217
|
+
class HivePartitioningOptions
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
211
223
|
class IterationResult
|
212
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
225
|
|
@@ -322,6 +334,12 @@ module Google
|
|
322
334
|
include Google::Apis::Core::JsonObjectSupport
|
323
335
|
end
|
324
336
|
|
337
|
+
class ListRoutinesResponse
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
325
343
|
class LocationMetadata
|
326
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
345
|
|
@@ -442,6 +460,12 @@ module Google
|
|
442
460
|
include Google::Apis::Core::JsonObjectSupport
|
443
461
|
end
|
444
462
|
|
463
|
+
class Routine
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
445
469
|
class RoutineReference
|
446
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
471
|
|
@@ -611,6 +635,17 @@ module Google
|
|
611
635
|
end
|
612
636
|
end
|
613
637
|
|
638
|
+
class Argument
|
639
|
+
# @private
|
640
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
641
|
+
property :argument_kind, as: 'argumentKind'
|
642
|
+
property :data_type, as: 'dataType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
643
|
+
|
644
|
+
property :mode, as: 'mode'
|
645
|
+
property :name, as: 'name'
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
614
649
|
class BigQueryModelTraining
|
615
650
|
# @private
|
616
651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -668,6 +703,8 @@ module Google
|
|
668
703
|
class BinaryConfusionMatrix
|
669
704
|
# @private
|
670
705
|
class Representation < Google::Apis::Core::JsonRepresentation
|
706
|
+
property :accuracy, as: 'accuracy'
|
707
|
+
property :f1_score, as: 'f1Score'
|
671
708
|
property :false_negatives, :numeric_string => true, as: 'falseNegatives'
|
672
709
|
property :false_positives, :numeric_string => true, as: 'falsePositives'
|
673
710
|
property :positive_class_threshold, as: 'positiveClassThreshold'
|
@@ -934,6 +971,8 @@ module Google
|
|
934
971
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
935
972
|
|
936
973
|
property :hive_partitioning_mode, as: 'hivePartitioningMode'
|
974
|
+
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
975
|
+
|
937
976
|
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
938
977
|
property :max_bad_records, as: 'maxBadRecords'
|
939
978
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
@@ -981,6 +1020,14 @@ module Google
|
|
981
1020
|
end
|
982
1021
|
end
|
983
1022
|
|
1023
|
+
class HivePartitioningOptions
|
1024
|
+
# @private
|
1025
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1026
|
+
property :mode, as: 'mode'
|
1027
|
+
property :source_uri_prefix, as: 'sourceUriPrefix'
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
|
984
1031
|
class IterationResult
|
985
1032
|
# @private
|
986
1033
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1072,6 +1119,8 @@ module Google
|
|
1072
1119
|
property :encoding, as: 'encoding'
|
1073
1120
|
property :field_delimiter, as: 'fieldDelimiter'
|
1074
1121
|
property :hive_partitioning_mode, as: 'hivePartitioningMode'
|
1122
|
+
property :hive_partitioning_options, as: 'hivePartitioningOptions', class: Google::Apis::BigqueryV2::HivePartitioningOptions, decorator: Google::Apis::BigqueryV2::HivePartitioningOptions::Representation
|
1123
|
+
|
1075
1124
|
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
1076
1125
|
property :max_bad_records, as: 'maxBadRecords'
|
1077
1126
|
property :null_marker, as: 'nullMarker'
|
@@ -1302,6 +1351,15 @@ module Google
|
|
1302
1351
|
end
|
1303
1352
|
end
|
1304
1353
|
|
1354
|
+
class ListRoutinesResponse
|
1355
|
+
# @private
|
1356
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1357
|
+
property :next_page_token, as: 'nextPageToken'
|
1358
|
+
collection :routines, as: 'routines', class: Google::Apis::BigqueryV2::Routine, decorator: Google::Apis::BigqueryV2::Routine::Representation
|
1359
|
+
|
1360
|
+
end
|
1361
|
+
end
|
1362
|
+
|
1305
1363
|
class LocationMetadata
|
1306
1364
|
# @private
|
1307
1365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1533,6 +1591,25 @@ module Google
|
|
1533
1591
|
end
|
1534
1592
|
end
|
1535
1593
|
|
1594
|
+
class Routine
|
1595
|
+
# @private
|
1596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1597
|
+
collection :arguments, as: 'arguments', class: Google::Apis::BigqueryV2::Argument, decorator: Google::Apis::BigqueryV2::Argument::Representation
|
1598
|
+
|
1599
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
1600
|
+
property :definition_body, as: 'definitionBody'
|
1601
|
+
property :etag, as: 'etag'
|
1602
|
+
collection :imported_libraries, as: 'importedLibraries'
|
1603
|
+
property :language, as: 'language'
|
1604
|
+
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
1605
|
+
property :return_type, as: 'returnType', class: Google::Apis::BigqueryV2::StandardSqlDataType, decorator: Google::Apis::BigqueryV2::StandardSqlDataType::Representation
|
1606
|
+
|
1607
|
+
property :routine_reference, as: 'routineReference', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
1608
|
+
|
1609
|
+
property :routine_type, as: 'routineType'
|
1610
|
+
end
|
1611
|
+
end
|
1612
|
+
|
1536
1613
|
class RoutineReference
|
1537
1614
|
# @private
|
1538
1615
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -809,6 +809,212 @@ module Google
|
|
809
809
|
execute_or_queue_command(command, &block)
|
810
810
|
end
|
811
811
|
|
812
|
+
# Deletes the routine specified by routineId from the dataset.
|
813
|
+
# @param [String] project_id
|
814
|
+
# Project ID of the routine to delete
|
815
|
+
# @param [String] dataset_id
|
816
|
+
# Dataset ID of the routine to delete
|
817
|
+
# @param [String] routine_id
|
818
|
+
# Routine ID of the routine to delete
|
819
|
+
# @param [String] fields
|
820
|
+
# Selector specifying which fields to include in a partial response.
|
821
|
+
# @param [String] quota_user
|
822
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
823
|
+
# characters.
|
824
|
+
# @param [String] user_ip
|
825
|
+
# Deprecated. Please use quotaUser instead.
|
826
|
+
# @param [Google::Apis::RequestOptions] options
|
827
|
+
# Request-specific options
|
828
|
+
#
|
829
|
+
# @yield [result, err] Result & error if block supplied
|
830
|
+
# @yieldparam result [NilClass] No result returned for this method
|
831
|
+
# @yieldparam err [StandardError] error object if request failed
|
832
|
+
#
|
833
|
+
# @return [void]
|
834
|
+
#
|
835
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
836
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
837
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
838
|
+
def delete_routine(project_id, dataset_id, routine_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
839
|
+
command = make_simple_command(:delete, 'projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}', options)
|
840
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
841
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
842
|
+
command.params['routineId'] = routine_id unless routine_id.nil?
|
843
|
+
command.query['fields'] = fields unless fields.nil?
|
844
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
845
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
846
|
+
execute_or_queue_command(command, &block)
|
847
|
+
end
|
848
|
+
|
849
|
+
# Gets the specified routine resource by routine ID.
|
850
|
+
# @param [String] project_id
|
851
|
+
# Project ID of the requested routine
|
852
|
+
# @param [String] dataset_id
|
853
|
+
# Dataset ID of the requested routine
|
854
|
+
# @param [String] routine_id
|
855
|
+
# Routine ID of the requested routine
|
856
|
+
# @param [String] field_mask
|
857
|
+
# If set, only the Routine fields in the field mask are returned in the
|
858
|
+
# response. If unset, all Routine fields are returned.
|
859
|
+
# @param [String] fields
|
860
|
+
# Selector specifying which fields to include in a partial response.
|
861
|
+
# @param [String] quota_user
|
862
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
863
|
+
# characters.
|
864
|
+
# @param [String] user_ip
|
865
|
+
# Deprecated. Please use quotaUser instead.
|
866
|
+
# @param [Google::Apis::RequestOptions] options
|
867
|
+
# Request-specific options
|
868
|
+
#
|
869
|
+
# @yield [result, err] Result & error if block supplied
|
870
|
+
# @yieldparam result [Google::Apis::BigqueryV2::Routine] parsed result object
|
871
|
+
# @yieldparam err [StandardError] error object if request failed
|
872
|
+
#
|
873
|
+
# @return [Google::Apis::BigqueryV2::Routine]
|
874
|
+
#
|
875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
878
|
+
def get_routine(project_id, dataset_id, routine_id, field_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
879
|
+
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}', options)
|
880
|
+
command.response_representation = Google::Apis::BigqueryV2::Routine::Representation
|
881
|
+
command.response_class = Google::Apis::BigqueryV2::Routine
|
882
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
883
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
884
|
+
command.params['routineId'] = routine_id unless routine_id.nil?
|
885
|
+
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
886
|
+
command.query['fields'] = fields unless fields.nil?
|
887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
888
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
889
|
+
execute_or_queue_command(command, &block)
|
890
|
+
end
|
891
|
+
|
892
|
+
# Creates a new routine in the dataset.
|
893
|
+
# @param [String] project_id
|
894
|
+
# Project ID of the new routine
|
895
|
+
# @param [String] dataset_id
|
896
|
+
# Dataset ID of the new routine
|
897
|
+
# @param [Google::Apis::BigqueryV2::Routine] routine_object
|
898
|
+
# @param [String] fields
|
899
|
+
# Selector specifying which fields to include in a partial response.
|
900
|
+
# @param [String] quota_user
|
901
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
902
|
+
# characters.
|
903
|
+
# @param [String] user_ip
|
904
|
+
# Deprecated. Please use quotaUser instead.
|
905
|
+
# @param [Google::Apis::RequestOptions] options
|
906
|
+
# Request-specific options
|
907
|
+
#
|
908
|
+
# @yield [result, err] Result & error if block supplied
|
909
|
+
# @yieldparam result [Google::Apis::BigqueryV2::Routine] parsed result object
|
910
|
+
# @yieldparam err [StandardError] error object if request failed
|
911
|
+
#
|
912
|
+
# @return [Google::Apis::BigqueryV2::Routine]
|
913
|
+
#
|
914
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
915
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
916
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
917
|
+
def insert_routine(project_id, dataset_id, routine_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
918
|
+
command = make_simple_command(:post, 'projects/{+projectId}/datasets/{+datasetId}/routines', options)
|
919
|
+
command.request_representation = Google::Apis::BigqueryV2::Routine::Representation
|
920
|
+
command.request_object = routine_object
|
921
|
+
command.response_representation = Google::Apis::BigqueryV2::Routine::Representation
|
922
|
+
command.response_class = Google::Apis::BigqueryV2::Routine
|
923
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
924
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
925
|
+
command.query['fields'] = fields unless fields.nil?
|
926
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
927
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
928
|
+
execute_or_queue_command(command, &block)
|
929
|
+
end
|
930
|
+
|
931
|
+
# Lists all routines in the specified dataset. Requires the READER dataset
|
932
|
+
# role.
|
933
|
+
# @param [String] project_id
|
934
|
+
# Project ID of the routines to list
|
935
|
+
# @param [String] dataset_id
|
936
|
+
# Dataset ID of the routines to list
|
937
|
+
# @param [Fixnum] max_results
|
938
|
+
# The maximum number of results per page.
|
939
|
+
# @param [String] page_token
|
940
|
+
# Page token, returned by a previous call, to request the next page of
|
941
|
+
# results
|
942
|
+
# @param [String] fields
|
943
|
+
# Selector specifying which fields to include in a partial response.
|
944
|
+
# @param [String] quota_user
|
945
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
946
|
+
# characters.
|
947
|
+
# @param [String] user_ip
|
948
|
+
# Deprecated. Please use quotaUser instead.
|
949
|
+
# @param [Google::Apis::RequestOptions] options
|
950
|
+
# Request-specific options
|
951
|
+
#
|
952
|
+
# @yield [result, err] Result & error if block supplied
|
953
|
+
# @yieldparam result [Google::Apis::BigqueryV2::ListRoutinesResponse] parsed result object
|
954
|
+
# @yieldparam err [StandardError] error object if request failed
|
955
|
+
#
|
956
|
+
# @return [Google::Apis::BigqueryV2::ListRoutinesResponse]
|
957
|
+
#
|
958
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
959
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
960
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
961
|
+
def list_routines(project_id, dataset_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
962
|
+
command = make_simple_command(:get, 'projects/{+projectId}/datasets/{+datasetId}/routines', options)
|
963
|
+
command.response_representation = Google::Apis::BigqueryV2::ListRoutinesResponse::Representation
|
964
|
+
command.response_class = Google::Apis::BigqueryV2::ListRoutinesResponse
|
965
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
966
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
967
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
968
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
969
|
+
command.query['fields'] = fields unless fields.nil?
|
970
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
971
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
972
|
+
execute_or_queue_command(command, &block)
|
973
|
+
end
|
974
|
+
|
975
|
+
# Updates information in an existing routine. The update method replaces the
|
976
|
+
# entire Routine resource.
|
977
|
+
# @param [String] project_id
|
978
|
+
# Project ID of the routine to update
|
979
|
+
# @param [String] dataset_id
|
980
|
+
# Dataset ID of the routine to update
|
981
|
+
# @param [String] routine_id
|
982
|
+
# Routine ID of the routine to update
|
983
|
+
# @param [Google::Apis::BigqueryV2::Routine] routine_object
|
984
|
+
# @param [String] fields
|
985
|
+
# Selector specifying which fields to include in a partial response.
|
986
|
+
# @param [String] quota_user
|
987
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
988
|
+
# characters.
|
989
|
+
# @param [String] user_ip
|
990
|
+
# Deprecated. Please use quotaUser instead.
|
991
|
+
# @param [Google::Apis::RequestOptions] options
|
992
|
+
# Request-specific options
|
993
|
+
#
|
994
|
+
# @yield [result, err] Result & error if block supplied
|
995
|
+
# @yieldparam result [Google::Apis::BigqueryV2::Routine] parsed result object
|
996
|
+
# @yieldparam err [StandardError] error object if request failed
|
997
|
+
#
|
998
|
+
# @return [Google::Apis::BigqueryV2::Routine]
|
999
|
+
#
|
1000
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1001
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1002
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1003
|
+
def update_routine(project_id, dataset_id, routine_id, routine_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1004
|
+
command = make_simple_command(:put, 'projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}', options)
|
1005
|
+
command.request_representation = Google::Apis::BigqueryV2::Routine::Representation
|
1006
|
+
command.request_object = routine_object
|
1007
|
+
command.response_representation = Google::Apis::BigqueryV2::Routine::Representation
|
1008
|
+
command.response_class = Google::Apis::BigqueryV2::Routine
|
1009
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
1010
|
+
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
1011
|
+
command.params['routineId'] = routine_id unless routine_id.nil?
|
1012
|
+
command.query['fields'] = fields unless fields.nil?
|
1013
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1014
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1015
|
+
execute_or_queue_command(command, &block)
|
1016
|
+
end
|
1017
|
+
|
812
1018
|
# Streams data into BigQuery one record at a time without needing to run a load
|
813
1019
|
# job. Requires the WRITER dataset role.
|
814
1020
|
# @param [String] project_id
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/bigquery/
|
27
27
|
module BigquerydatatransferV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190615'
|
30
30
|
|
31
31
|
# View and manage your data in Google BigQuery
|
32
32
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -213,6 +213,13 @@ module Google
|
|
213
213
|
# @return [Array<String>]
|
214
214
|
attr_accessor :allowed_values
|
215
215
|
|
216
|
+
# If true, it should not be used in new transfers, and it should not be
|
217
|
+
# visible to users.
|
218
|
+
# Corresponds to the JSON property `deprecated`
|
219
|
+
# @return [Boolean]
|
220
|
+
attr_accessor :deprecated
|
221
|
+
alias_method :deprecated?, :deprecated
|
222
|
+
|
216
223
|
# Parameter description.
|
217
224
|
# Corresponds to the JSON property `description`
|
218
225
|
# @return [String]
|
@@ -295,6 +302,7 @@ module Google
|
|
295
302
|
# Update properties of this object
|
296
303
|
def update!(**args)
|
297
304
|
@allowed_values = args[:allowed_values] if args.key?(:allowed_values)
|
305
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
298
306
|
@description = args[:description] if args.key?(:description)
|
299
307
|
@display_name = args[:display_name] if args.key?(:display_name)
|
300
308
|
@fields = args[:fields] if args.key?(:fields)
|
@@ -651,43 +659,10 @@ module Google
|
|
651
659
|
|
652
660
|
# The `Status` type defines a logical error model that is suitable for
|
653
661
|
# different programming environments, including REST APIs and RPC APIs. It is
|
654
|
-
# used by [gRPC](https://github.com/grpc).
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
# The `Status` message contains three pieces of data: error code, error
|
659
|
-
# message, and error details. The error code should be an enum value of
|
660
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
661
|
-
# error message should be a developer-facing English message that helps
|
662
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
663
|
-
# error message is needed, put the localized message in the error details or
|
664
|
-
# localize it in the client. The optional error details may contain arbitrary
|
665
|
-
# information about the error. There is a predefined set of error detail types
|
666
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
667
|
-
# # Language mapping
|
668
|
-
# The `Status` message is the logical representation of the error model, but it
|
669
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
670
|
-
# exposed in different client libraries and different wire protocols, it can be
|
671
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
672
|
-
# in Java, but more likely mapped to some error codes in C.
|
673
|
-
# # Other uses
|
674
|
-
# The error model and the `Status` message can be used in a variety of
|
675
|
-
# environments, either with or without APIs, to provide a
|
676
|
-
# consistent developer experience across different environments.
|
677
|
-
# Example uses of this error model include:
|
678
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
679
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
680
|
-
# errors.
|
681
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
682
|
-
# have a `Status` message for error reporting.
|
683
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
684
|
-
# `Status` message should be used directly inside batch response, one for
|
685
|
-
# each error sub-response.
|
686
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
687
|
-
# results in its response, the status of those operations should be
|
688
|
-
# represented directly using the `Status` message.
|
689
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
690
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
662
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
663
|
+
# three pieces of data: error code, error message, and error details.
|
664
|
+
# You can find out more about this error model and how to work with it in the
|
665
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
691
666
|
class Status
|
692
667
|
include Google::Apis::Core::Hashable
|
693
668
|
|
@@ -933,43 +908,10 @@ module Google
|
|
933
908
|
|
934
909
|
# The `Status` type defines a logical error model that is suitable for
|
935
910
|
# different programming environments, including REST APIs and RPC APIs. It is
|
936
|
-
# used by [gRPC](https://github.com/grpc).
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
# The `Status` message contains three pieces of data: error code, error
|
941
|
-
# message, and error details. The error code should be an enum value of
|
942
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
943
|
-
# error message should be a developer-facing English message that helps
|
944
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
945
|
-
# error message is needed, put the localized message in the error details or
|
946
|
-
# localize it in the client. The optional error details may contain arbitrary
|
947
|
-
# information about the error. There is a predefined set of error detail types
|
948
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
949
|
-
# # Language mapping
|
950
|
-
# The `Status` message is the logical representation of the error model, but it
|
951
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
952
|
-
# exposed in different client libraries and different wire protocols, it can be
|
953
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
954
|
-
# in Java, but more likely mapped to some error codes in C.
|
955
|
-
# # Other uses
|
956
|
-
# The error model and the `Status` message can be used in a variety of
|
957
|
-
# environments, either with or without APIs, to provide a
|
958
|
-
# consistent developer experience across different environments.
|
959
|
-
# Example uses of this error model include:
|
960
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
961
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
962
|
-
# errors.
|
963
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
964
|
-
# have a `Status` message for error reporting.
|
965
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
966
|
-
# `Status` message should be used directly inside batch response, one for
|
967
|
-
# each error sub-response.
|
968
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
969
|
-
# results in its response, the status of those operations should be
|
970
|
-
# represented directly using the `Status` message.
|
971
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
972
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
911
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
912
|
+
# three pieces of data: error code, error message, and error details.
|
913
|
+
# You can find out more about this error model and how to work with it in the
|
914
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
973
915
|
# Corresponds to the JSON property `errorStatus`
|
974
916
|
# @return [Google::Apis::BigquerydatatransferV1::Status]
|
975
917
|
attr_accessor :error_status
|
@@ -988,8 +930,8 @@ module Google
|
|
988
930
|
# @return [Hash<String,Object>]
|
989
931
|
attr_accessor :params
|
990
932
|
|
991
|
-
# For batch transfer runs, specifies the date and time
|
992
|
-
#
|
933
|
+
# For batch transfer runs, specifies the date and time of the data should be
|
934
|
+
# ingested.
|
993
935
|
# Corresponds to the JSON property `runTime`
|
994
936
|
# @return [String]
|
995
937
|
attr_accessor :run_time
|