google-api-client 0.30.9 → 0.30.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +89 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
- data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +32 -9
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
- data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
- data/generated/google/apis/binaryauthorization_v1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
- data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
- data/generated/google/apis/cloudkms_v1/service.rb +3 -3
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +17 -24
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1139 -284
- data/generated/google/apis/compute_alpha/representations.rb +304 -1
- data/generated/google/apis/compute_alpha/service.rb +935 -23
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +554 -98
- data/generated/google/apis/compute_beta/representations.rb +117 -0
- data/generated/google/apis/compute_beta/service.rb +63 -19
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1187 -165
- data/generated/google/apis/compute_v1/representations.rb +402 -0
- data/generated/google/apis/compute_v1/service.rb +832 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +36 -0
- data/generated/google/apis/container_v1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +153 -0
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +93 -2
- data/generated/google/apis/content_v2/representations.rb +37 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +86 -2
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
- data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +9 -75
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
- data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
- data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +42 -0
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +125 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +128 -0
- data/generated/google/apis/docs_v1/representations.rb +49 -0
- data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
- data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
- data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
- data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -1
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +10 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +21 -130
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
- data/generated/google/apis/homegraph_v1.rb +31 -0
- data/generated/google/apis/homegraph_v1/classes.rb +692 -0
- data/generated/google/apis/homegraph_v1/representations.rb +323 -0
- data/generated/google/apis/homegraph_v1/service.rb +255 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -7
- data/generated/google/apis/logging_v2/service.rb +40 -35
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1/service.rb +15 -9
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +5 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/service.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
- data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +9 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
- data/generated/google/apis/speech_v2beta.rb +1 -1
- data/generated/google/apis/speech_v2beta/classes.rb +3 -3
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -1
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +6 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +19 -0
- data/generated/google/apis/testing_v1/representations.rb +3 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
- data/generated/google/apis/verifiedaccess_v1.rb +35 -0
- data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
- data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
- data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +204 -2375
- data/generated/google/apis/vision_v1/representations.rb +701 -1634
- data/generated/google/apis/vision_v1/service.rb +17 -17
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
- data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
- data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +22 -6
- data/generated/google/apis/appstate_v1/classes.rb +0 -154
- data/generated/google/apis/appstate_v1/service.rb +0 -249
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataflow
|
|
26
26
|
module DataflowV1b3
|
|
27
27
|
VERSION = 'V1b3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190827'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -836,19 +836,6 @@ module Google
|
|
|
836
836
|
end
|
|
837
837
|
end
|
|
838
838
|
|
|
839
|
-
# Response from deleting a snapshot.
|
|
840
|
-
class DeleteSnapshotResponse
|
|
841
|
-
include Google::Apis::Core::Hashable
|
|
842
|
-
|
|
843
|
-
def initialize(**args)
|
|
844
|
-
update!(**args)
|
|
845
|
-
end
|
|
846
|
-
|
|
847
|
-
# Update properties of this object
|
|
848
|
-
def update!(**args)
|
|
849
|
-
end
|
|
850
|
-
end
|
|
851
|
-
|
|
852
839
|
# Specification of one of the bundles produced as a result of splitting
|
|
853
840
|
# a Source (e.g. when executing a SourceSplitRequest, or when
|
|
854
841
|
# splitting an active task using WorkItemStatus.dynamic_source_split),
|
|
@@ -2404,25 +2391,6 @@ module Google
|
|
|
2404
2391
|
end
|
|
2405
2392
|
end
|
|
2406
2393
|
|
|
2407
|
-
# List of snapshots.
|
|
2408
|
-
class ListSnapshotsResponse
|
|
2409
|
-
include Google::Apis::Core::Hashable
|
|
2410
|
-
|
|
2411
|
-
# Returned snapshots.
|
|
2412
|
-
# Corresponds to the JSON property `snapshots`
|
|
2413
|
-
# @return [Array<Google::Apis::DataflowV1b3::Snapshot>]
|
|
2414
|
-
attr_accessor :snapshots
|
|
2415
|
-
|
|
2416
|
-
def initialize(**args)
|
|
2417
|
-
update!(**args)
|
|
2418
|
-
end
|
|
2419
|
-
|
|
2420
|
-
# Update properties of this object
|
|
2421
|
-
def update!(**args)
|
|
2422
|
-
@snapshots = args[:snapshots] if args.key?(:snapshots)
|
|
2423
|
-
end
|
|
2424
|
-
end
|
|
2425
|
-
|
|
2426
2394
|
# MapTask consists of an ordered set of instructions, each of which
|
|
2427
2395
|
# describes one particular low-level operation for the worker to
|
|
2428
2396
|
# perform in order to accomplish the MapTask's WorkItem.
|
|
@@ -3392,6 +3360,14 @@ module Google
|
|
|
3392
3360
|
# @return [String]
|
|
3393
3361
|
attr_accessor :temp_location
|
|
3394
3362
|
|
|
3363
|
+
# Optional. Specifies whether worker pools should be started with private IP
|
|
3364
|
+
# addresses.
|
|
3365
|
+
# False by default.
|
|
3366
|
+
# Corresponds to the JSON property `usePrivateIps`
|
|
3367
|
+
# @return [Boolean]
|
|
3368
|
+
attr_accessor :use_private_ips
|
|
3369
|
+
alias_method :use_private_ips?, :use_private_ips
|
|
3370
|
+
|
|
3395
3371
|
# The Compute Engine [availability
|
|
3396
3372
|
# zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)
|
|
3397
3373
|
# for launching worker instances to run your pipeline.
|
|
@@ -3416,6 +3392,7 @@ module Google
|
|
|
3416
3392
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
|
3417
3393
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
3418
3394
|
@temp_location = args[:temp_location] if args.key?(:temp_location)
|
|
3395
|
+
@use_private_ips = args[:use_private_ips] if args.key?(:use_private_ips)
|
|
3419
3396
|
@zone = args[:zone] if args.key?(:zone)
|
|
3420
3397
|
end
|
|
3421
3398
|
end
|
|
@@ -3711,80 +3688,6 @@ module Google
|
|
|
3711
3688
|
end
|
|
3712
3689
|
end
|
|
3713
3690
|
|
|
3714
|
-
# Represents a snapshot of a job.
|
|
3715
|
-
class Snapshot
|
|
3716
|
-
include Google::Apis::Core::Hashable
|
|
3717
|
-
|
|
3718
|
-
# The time this snapshot was created.
|
|
3719
|
-
# Corresponds to the JSON property `creationTime`
|
|
3720
|
-
# @return [String]
|
|
3721
|
-
attr_accessor :creation_time
|
|
3722
|
-
|
|
3723
|
-
# The unique ID of this snapshot.
|
|
3724
|
-
# Corresponds to the JSON property `id`
|
|
3725
|
-
# @return [String]
|
|
3726
|
-
attr_accessor :id
|
|
3727
|
-
|
|
3728
|
-
# The project this snapshot belongs to.
|
|
3729
|
-
# Corresponds to the JSON property `projectId`
|
|
3730
|
-
# @return [String]
|
|
3731
|
-
attr_accessor :project_id
|
|
3732
|
-
|
|
3733
|
-
# The job this snapshot was created from.
|
|
3734
|
-
# Corresponds to the JSON property `sourceJobId`
|
|
3735
|
-
# @return [String]
|
|
3736
|
-
attr_accessor :source_job_id
|
|
3737
|
-
|
|
3738
|
-
# State of the snapshot.
|
|
3739
|
-
# Corresponds to the JSON property `state`
|
|
3740
|
-
# @return [String]
|
|
3741
|
-
attr_accessor :state
|
|
3742
|
-
|
|
3743
|
-
# The time after which this snapshot will be automatically deleted.
|
|
3744
|
-
# Corresponds to the JSON property `ttl`
|
|
3745
|
-
# @return [String]
|
|
3746
|
-
attr_accessor :ttl
|
|
3747
|
-
|
|
3748
|
-
def initialize(**args)
|
|
3749
|
-
update!(**args)
|
|
3750
|
-
end
|
|
3751
|
-
|
|
3752
|
-
# Update properties of this object
|
|
3753
|
-
def update!(**args)
|
|
3754
|
-
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
|
3755
|
-
@id = args[:id] if args.key?(:id)
|
|
3756
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
|
3757
|
-
@source_job_id = args[:source_job_id] if args.key?(:source_job_id)
|
|
3758
|
-
@state = args[:state] if args.key?(:state)
|
|
3759
|
-
@ttl = args[:ttl] if args.key?(:ttl)
|
|
3760
|
-
end
|
|
3761
|
-
end
|
|
3762
|
-
|
|
3763
|
-
# Request to create a snapshot of a job.
|
|
3764
|
-
class SnapshotJobRequest
|
|
3765
|
-
include Google::Apis::Core::Hashable
|
|
3766
|
-
|
|
3767
|
-
# The location that contains this job.
|
|
3768
|
-
# Corresponds to the JSON property `location`
|
|
3769
|
-
# @return [String]
|
|
3770
|
-
attr_accessor :location
|
|
3771
|
-
|
|
3772
|
-
# TTL for the snapshot.
|
|
3773
|
-
# Corresponds to the JSON property `ttl`
|
|
3774
|
-
# @return [String]
|
|
3775
|
-
attr_accessor :ttl
|
|
3776
|
-
|
|
3777
|
-
def initialize(**args)
|
|
3778
|
-
update!(**args)
|
|
3779
|
-
end
|
|
3780
|
-
|
|
3781
|
-
# Update properties of this object
|
|
3782
|
-
def update!(**args)
|
|
3783
|
-
@location = args[:location] if args.key?(:location)
|
|
3784
|
-
@ttl = args[:ttl] if args.key?(:ttl)
|
|
3785
|
-
end
|
|
3786
|
-
end
|
|
3787
|
-
|
|
3788
3691
|
# A source that records can be read and decoded from.
|
|
3789
3692
|
class Source
|
|
3790
3693
|
include Google::Apis::Core::Hashable
|
|
@@ -4567,6 +4470,16 @@ module Google
|
|
|
4567
4470
|
class StreamingConfigTask
|
|
4568
4471
|
include Google::Apis::Core::Hashable
|
|
4569
4472
|
|
|
4473
|
+
# Chunk size for commit streams from the harness to windmill.
|
|
4474
|
+
# Corresponds to the JSON property `commitStreamChunkSizeBytes`
|
|
4475
|
+
# @return [Fixnum]
|
|
4476
|
+
attr_accessor :commit_stream_chunk_size_bytes
|
|
4477
|
+
|
|
4478
|
+
# Chunk size for get data streams from the harness to windmill.
|
|
4479
|
+
# Corresponds to the JSON property `getDataStreamChunkSizeBytes`
|
|
4480
|
+
# @return [Fixnum]
|
|
4481
|
+
attr_accessor :get_data_stream_chunk_size_bytes
|
|
4482
|
+
|
|
4570
4483
|
# Maximum size for work item commit supported windmill storage layer.
|
|
4571
4484
|
# Corresponds to the JSON property `maxWorkItemCommitBytes`
|
|
4572
4485
|
# @return [Fixnum]
|
|
@@ -4602,6 +4515,8 @@ module Google
|
|
|
4602
4515
|
|
|
4603
4516
|
# Update properties of this object
|
|
4604
4517
|
def update!(**args)
|
|
4518
|
+
@commit_stream_chunk_size_bytes = args[:commit_stream_chunk_size_bytes] if args.key?(:commit_stream_chunk_size_bytes)
|
|
4519
|
+
@get_data_stream_chunk_size_bytes = args[:get_data_stream_chunk_size_bytes] if args.key?(:get_data_stream_chunk_size_bytes)
|
|
4605
4520
|
@max_work_item_commit_bytes = args[:max_work_item_commit_bytes] if args.key?(:max_work_item_commit_bytes)
|
|
4606
4521
|
@streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs)
|
|
4607
4522
|
@user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map)
|
|
@@ -142,12 +142,6 @@ module Google
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
class DeleteSnapshotResponse
|
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
-
|
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
-
end
|
|
150
|
-
|
|
151
145
|
class DerivedSource
|
|
152
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
147
|
|
|
@@ -370,12 +364,6 @@ module Google
|
|
|
370
364
|
include Google::Apis::Core::JsonObjectSupport
|
|
371
365
|
end
|
|
372
366
|
|
|
373
|
-
class ListSnapshotsResponse
|
|
374
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
-
|
|
376
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
-
end
|
|
378
|
-
|
|
379
367
|
class MapTask
|
|
380
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
369
|
|
|
@@ -580,18 +568,6 @@ module Google
|
|
|
580
568
|
include Google::Apis::Core::JsonObjectSupport
|
|
581
569
|
end
|
|
582
570
|
|
|
583
|
-
class Snapshot
|
|
584
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
585
|
-
|
|
586
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
587
|
-
end
|
|
588
|
-
|
|
589
|
-
class SnapshotJobRequest
|
|
590
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
591
|
-
|
|
592
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
593
|
-
end
|
|
594
|
-
|
|
595
571
|
class Source
|
|
596
572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
597
573
|
|
|
@@ -1101,12 +1077,6 @@ module Google
|
|
|
1101
1077
|
end
|
|
1102
1078
|
end
|
|
1103
1079
|
|
|
1104
|
-
class DeleteSnapshotResponse
|
|
1105
|
-
# @private
|
|
1106
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1107
|
-
end
|
|
1108
|
-
end
|
|
1109
|
-
|
|
1110
1080
|
class DerivedSource
|
|
1111
1081
|
# @private
|
|
1112
1082
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1517,14 +1487,6 @@ module Google
|
|
|
1517
1487
|
end
|
|
1518
1488
|
end
|
|
1519
1489
|
|
|
1520
|
-
class ListSnapshotsResponse
|
|
1521
|
-
# @private
|
|
1522
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1523
|
-
collection :snapshots, as: 'snapshots', class: Google::Apis::DataflowV1b3::Snapshot, decorator: Google::Apis::DataflowV1b3::Snapshot::Representation
|
|
1524
|
-
|
|
1525
|
-
end
|
|
1526
|
-
end
|
|
1527
|
-
|
|
1528
1490
|
class MapTask
|
|
1529
1491
|
# @private
|
|
1530
1492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1780,6 +1742,7 @@ module Google
|
|
|
1780
1742
|
property :service_account_email, as: 'serviceAccountEmail'
|
|
1781
1743
|
property :subnetwork, as: 'subnetwork'
|
|
1782
1744
|
property :temp_location, as: 'tempLocation'
|
|
1745
|
+
property :use_private_ips, as: 'usePrivateIps'
|
|
1783
1746
|
property :zone, as: 'zone'
|
|
1784
1747
|
end
|
|
1785
1748
|
end
|
|
@@ -1875,26 +1838,6 @@ module Google
|
|
|
1875
1838
|
end
|
|
1876
1839
|
end
|
|
1877
1840
|
|
|
1878
|
-
class Snapshot
|
|
1879
|
-
# @private
|
|
1880
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1881
|
-
property :creation_time, as: 'creationTime'
|
|
1882
|
-
property :id, as: 'id'
|
|
1883
|
-
property :project_id, as: 'projectId'
|
|
1884
|
-
property :source_job_id, as: 'sourceJobId'
|
|
1885
|
-
property :state, as: 'state'
|
|
1886
|
-
property :ttl, as: 'ttl'
|
|
1887
|
-
end
|
|
1888
|
-
end
|
|
1889
|
-
|
|
1890
|
-
class SnapshotJobRequest
|
|
1891
|
-
# @private
|
|
1892
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1893
|
-
property :location, as: 'location'
|
|
1894
|
-
property :ttl, as: 'ttl'
|
|
1895
|
-
end
|
|
1896
|
-
end
|
|
1897
|
-
|
|
1898
1841
|
class Source
|
|
1899
1842
|
# @private
|
|
1900
1843
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2118,6 +2061,8 @@ module Google
|
|
|
2118
2061
|
class StreamingConfigTask
|
|
2119
2062
|
# @private
|
|
2120
2063
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2064
|
+
property :commit_stream_chunk_size_bytes, :numeric_string => true, as: 'commitStreamChunkSizeBytes'
|
|
2065
|
+
property :get_data_stream_chunk_size_bytes, :numeric_string => true, as: 'getDataStreamChunkSizeBytes'
|
|
2121
2066
|
property :max_work_item_commit_bytes, :numeric_string => true, as: 'maxWorkItemCommitBytes'
|
|
2122
2067
|
collection :streaming_computation_configs, as: 'streamingComputationConfigs', class: Google::Apis::DataflowV1b3::StreamingComputationConfig, decorator: Google::Apis::DataflowV1b3::StreamingComputationConfig::Representation
|
|
2123
2068
|
|
|
@@ -47,42 +47,6 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Deletes a snapshot.
|
|
51
|
-
# @param [String] project_id
|
|
52
|
-
# The ID of the Cloud Platform project that the snapshot belongs to.
|
|
53
|
-
# @param [String] location
|
|
54
|
-
# The location that contains this snapshot.
|
|
55
|
-
# @param [String] snapshot_id
|
|
56
|
-
# The ID of the snapshot.
|
|
57
|
-
# @param [String] fields
|
|
58
|
-
# Selector specifying which fields to include in a partial response.
|
|
59
|
-
# @param [String] quota_user
|
|
60
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
61
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
62
|
-
# @param [Google::Apis::RequestOptions] options
|
|
63
|
-
# Request-specific options
|
|
64
|
-
#
|
|
65
|
-
# @yield [result, err] Result & error if block supplied
|
|
66
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::DeleteSnapshotResponse] parsed result object
|
|
67
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
68
|
-
#
|
|
69
|
-
# @return [Google::Apis::DataflowV1b3::DeleteSnapshotResponse]
|
|
70
|
-
#
|
|
71
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
72
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
73
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
74
|
-
def delete_project_snapshots(project_id, location: nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
75
|
-
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
|
|
76
|
-
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
|
|
77
|
-
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
|
|
78
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
79
|
-
command.query['location'] = location unless location.nil?
|
|
80
|
-
command.query['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
|
81
|
-
command.query['fields'] = fields unless fields.nil?
|
|
82
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
83
|
-
execute_or_queue_command(command, &block)
|
|
84
|
-
end
|
|
85
|
-
|
|
86
50
|
# Send a worker_message to the service.
|
|
87
51
|
# @param [String] project_id
|
|
88
52
|
# The project to send the WorkerMessages to.
|
|
@@ -364,42 +328,6 @@ module Google
|
|
|
364
328
|
execute_or_queue_command(command, &block)
|
|
365
329
|
end
|
|
366
330
|
|
|
367
|
-
# Snapshot the state of a streaming job.
|
|
368
|
-
# @param [String] project_id
|
|
369
|
-
# The project which owns the job to be snapshotted.
|
|
370
|
-
# @param [String] job_id
|
|
371
|
-
# The job to be snapshotted.
|
|
372
|
-
# @param [Google::Apis::DataflowV1b3::SnapshotJobRequest] snapshot_job_request_object
|
|
373
|
-
# @param [String] fields
|
|
374
|
-
# Selector specifying which fields to include in a partial response.
|
|
375
|
-
# @param [String] quota_user
|
|
376
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
377
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
378
|
-
# @param [Google::Apis::RequestOptions] options
|
|
379
|
-
# Request-specific options
|
|
380
|
-
#
|
|
381
|
-
# @yield [result, err] Result & error if block supplied
|
|
382
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::Snapshot] parsed result object
|
|
383
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
384
|
-
#
|
|
385
|
-
# @return [Google::Apis::DataflowV1b3::Snapshot]
|
|
386
|
-
#
|
|
387
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
388
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
389
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
390
|
-
def snapshot_project_job(project_id, job_id, snapshot_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
391
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}:snapshot', options)
|
|
392
|
-
command.request_representation = Google::Apis::DataflowV1b3::SnapshotJobRequest::Representation
|
|
393
|
-
command.request_object = snapshot_job_request_object
|
|
394
|
-
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
|
395
|
-
command.response_class = Google::Apis::DataflowV1b3::Snapshot
|
|
396
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
397
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
398
|
-
command.query['fields'] = fields unless fields.nil?
|
|
399
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
400
|
-
execute_or_queue_command(command, &block)
|
|
401
|
-
end
|
|
402
|
-
|
|
403
331
|
# Updates the state of an existing Cloud Dataflow job.
|
|
404
332
|
# To update the state of an existing job, we recommend using
|
|
405
333
|
# `projects.locations.jobs.update` with a [regional endpoint]
|
|
@@ -890,45 +818,6 @@ module Google
|
|
|
890
818
|
execute_or_queue_command(command, &block)
|
|
891
819
|
end
|
|
892
820
|
|
|
893
|
-
# Snapshot the state of a streaming job.
|
|
894
|
-
# @param [String] project_id
|
|
895
|
-
# The project which owns the job to be snapshotted.
|
|
896
|
-
# @param [String] location
|
|
897
|
-
# The location that contains this job.
|
|
898
|
-
# @param [String] job_id
|
|
899
|
-
# The job to be snapshotted.
|
|
900
|
-
# @param [Google::Apis::DataflowV1b3::SnapshotJobRequest] snapshot_job_request_object
|
|
901
|
-
# @param [String] fields
|
|
902
|
-
# Selector specifying which fields to include in a partial response.
|
|
903
|
-
# @param [String] quota_user
|
|
904
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
905
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
906
|
-
# @param [Google::Apis::RequestOptions] options
|
|
907
|
-
# Request-specific options
|
|
908
|
-
#
|
|
909
|
-
# @yield [result, err] Result & error if block supplied
|
|
910
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::Snapshot] parsed result object
|
|
911
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
912
|
-
#
|
|
913
|
-
# @return [Google::Apis::DataflowV1b3::Snapshot]
|
|
914
|
-
#
|
|
915
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
916
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
917
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
918
|
-
def snapshot_project_location_job(project_id, location, job_id, snapshot_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
919
|
-
command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}:snapshot', options)
|
|
920
|
-
command.request_representation = Google::Apis::DataflowV1b3::SnapshotJobRequest::Representation
|
|
921
|
-
command.request_object = snapshot_job_request_object
|
|
922
|
-
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
|
923
|
-
command.response_class = Google::Apis::DataflowV1b3::Snapshot
|
|
924
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
925
|
-
command.params['location'] = location unless location.nil?
|
|
926
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
927
|
-
command.query['fields'] = fields unless fields.nil?
|
|
928
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
929
|
-
execute_or_queue_command(command, &block)
|
|
930
|
-
end
|
|
931
|
-
|
|
932
821
|
# Updates the state of an existing Cloud Dataflow job.
|
|
933
822
|
# To update the state of an existing job, we recommend using
|
|
934
823
|
# `projects.locations.jobs.update` with a [regional endpoint]
|
|
@@ -1121,42 +1010,6 @@ module Google
|
|
|
1121
1010
|
execute_or_queue_command(command, &block)
|
|
1122
1011
|
end
|
|
1123
1012
|
|
|
1124
|
-
# Lists snapshots.
|
|
1125
|
-
# @param [String] project_id
|
|
1126
|
-
# The project ID to list snapshots for.
|
|
1127
|
-
# @param [String] location
|
|
1128
|
-
# The location to list snapshots in.
|
|
1129
|
-
# @param [String] job_id
|
|
1130
|
-
# If specified, list snapshots created from this job.
|
|
1131
|
-
# @param [String] fields
|
|
1132
|
-
# Selector specifying which fields to include in a partial response.
|
|
1133
|
-
# @param [String] quota_user
|
|
1134
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1135
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1136
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1137
|
-
# Request-specific options
|
|
1138
|
-
#
|
|
1139
|
-
# @yield [result, err] Result & error if block supplied
|
|
1140
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::ListSnapshotsResponse] parsed result object
|
|
1141
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1142
|
-
#
|
|
1143
|
-
# @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
|
|
1144
|
-
#
|
|
1145
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1146
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1147
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1148
|
-
def list_project_location_job_snapshots(project_id, location, job_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1149
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/snapshots', options)
|
|
1150
|
-
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
|
|
1151
|
-
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
|
|
1152
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
1153
|
-
command.params['location'] = location unless location.nil?
|
|
1154
|
-
command.params['jobId'] = job_id unless job_id.nil?
|
|
1155
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1156
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1157
|
-
execute_or_queue_command(command, &block)
|
|
1158
|
-
end
|
|
1159
|
-
|
|
1160
1013
|
# Leases a dataflow WorkItem to run.
|
|
1161
1014
|
# @param [String] project_id
|
|
1162
1015
|
# Identifies the project this worker belongs to.
|
|
@@ -1239,114 +1092,6 @@ module Google
|
|
|
1239
1092
|
execute_or_queue_command(command, &block)
|
|
1240
1093
|
end
|
|
1241
1094
|
|
|
1242
|
-
# Deletes a snapshot.
|
|
1243
|
-
# @param [String] project_id
|
|
1244
|
-
# The ID of the Cloud Platform project that the snapshot belongs to.
|
|
1245
|
-
# @param [String] location
|
|
1246
|
-
# The location that contains this snapshot.
|
|
1247
|
-
# @param [String] snapshot_id
|
|
1248
|
-
# The ID of the snapshot.
|
|
1249
|
-
# @param [String] fields
|
|
1250
|
-
# Selector specifying which fields to include in a partial response.
|
|
1251
|
-
# @param [String] quota_user
|
|
1252
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1253
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1254
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1255
|
-
# Request-specific options
|
|
1256
|
-
#
|
|
1257
|
-
# @yield [result, err] Result & error if block supplied
|
|
1258
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::DeleteSnapshotResponse] parsed result object
|
|
1259
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1260
|
-
#
|
|
1261
|
-
# @return [Google::Apis::DataflowV1b3::DeleteSnapshotResponse]
|
|
1262
|
-
#
|
|
1263
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1264
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1265
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1266
|
-
def delete_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1267
|
-
command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
|
|
1268
|
-
command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
|
|
1269
|
-
command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
|
|
1270
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
1271
|
-
command.params['location'] = location unless location.nil?
|
|
1272
|
-
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
|
1273
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1274
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1275
|
-
execute_or_queue_command(command, &block)
|
|
1276
|
-
end
|
|
1277
|
-
|
|
1278
|
-
# Gets information about a snapshot.
|
|
1279
|
-
# @param [String] project_id
|
|
1280
|
-
# The ID of the Cloud Platform project that the snapshot belongs to.
|
|
1281
|
-
# @param [String] location
|
|
1282
|
-
# The location that contains this snapshot.
|
|
1283
|
-
# @param [String] snapshot_id
|
|
1284
|
-
# The ID of the snapshot.
|
|
1285
|
-
# @param [String] fields
|
|
1286
|
-
# Selector specifying which fields to include in a partial response.
|
|
1287
|
-
# @param [String] quota_user
|
|
1288
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1289
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1290
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1291
|
-
# Request-specific options
|
|
1292
|
-
#
|
|
1293
|
-
# @yield [result, err] Result & error if block supplied
|
|
1294
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::Snapshot] parsed result object
|
|
1295
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1296
|
-
#
|
|
1297
|
-
# @return [Google::Apis::DataflowV1b3::Snapshot]
|
|
1298
|
-
#
|
|
1299
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1300
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1301
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1302
|
-
def get_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1303
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
|
|
1304
|
-
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
|
1305
|
-
command.response_class = Google::Apis::DataflowV1b3::Snapshot
|
|
1306
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
1307
|
-
command.params['location'] = location unless location.nil?
|
|
1308
|
-
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
|
1309
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1310
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1311
|
-
execute_or_queue_command(command, &block)
|
|
1312
|
-
end
|
|
1313
|
-
|
|
1314
|
-
# Lists snapshots.
|
|
1315
|
-
# @param [String] project_id
|
|
1316
|
-
# The project ID to list snapshots for.
|
|
1317
|
-
# @param [String] location
|
|
1318
|
-
# The location to list snapshots in.
|
|
1319
|
-
# @param [String] job_id
|
|
1320
|
-
# If specified, list snapshots created from this job.
|
|
1321
|
-
# @param [String] fields
|
|
1322
|
-
# Selector specifying which fields to include in a partial response.
|
|
1323
|
-
# @param [String] quota_user
|
|
1324
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1325
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1326
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1327
|
-
# Request-specific options
|
|
1328
|
-
#
|
|
1329
|
-
# @yield [result, err] Result & error if block supplied
|
|
1330
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::ListSnapshotsResponse] parsed result object
|
|
1331
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1332
|
-
#
|
|
1333
|
-
# @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
|
|
1334
|
-
#
|
|
1335
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1336
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1337
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1338
|
-
def list_project_location_snapshots(project_id, location, job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1339
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
|
|
1340
|
-
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
|
|
1341
|
-
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
|
|
1342
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
1343
|
-
command.params['location'] = location unless location.nil?
|
|
1344
|
-
command.query['jobId'] = job_id unless job_id.nil?
|
|
1345
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1346
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1347
|
-
execute_or_queue_command(command, &block)
|
|
1348
|
-
end
|
|
1349
|
-
|
|
1350
1095
|
# Validates a GoogleSQL query for Cloud Dataflow syntax. Will always
|
|
1351
1096
|
# confirm the given query parses correctly, and if able to look up
|
|
1352
1097
|
# schema information from DataCatalog, will validate that the query
|
|
@@ -1524,78 +1269,6 @@ module Google
|
|
|
1524
1269
|
execute_or_queue_command(command, &block)
|
|
1525
1270
|
end
|
|
1526
1271
|
|
|
1527
|
-
# Gets information about a snapshot.
|
|
1528
|
-
# @param [String] project_id
|
|
1529
|
-
# The ID of the Cloud Platform project that the snapshot belongs to.
|
|
1530
|
-
# @param [String] snapshot_id
|
|
1531
|
-
# The ID of the snapshot.
|
|
1532
|
-
# @param [String] location
|
|
1533
|
-
# The location that contains this snapshot.
|
|
1534
|
-
# @param [String] fields
|
|
1535
|
-
# Selector specifying which fields to include in a partial response.
|
|
1536
|
-
# @param [String] quota_user
|
|
1537
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1538
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1539
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1540
|
-
# Request-specific options
|
|
1541
|
-
#
|
|
1542
|
-
# @yield [result, err] Result & error if block supplied
|
|
1543
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::Snapshot] parsed result object
|
|
1544
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1545
|
-
#
|
|
1546
|
-
# @return [Google::Apis::DataflowV1b3::Snapshot]
|
|
1547
|
-
#
|
|
1548
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1549
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1550
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1551
|
-
def get_project_snapshot(project_id, snapshot_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1552
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
|
|
1553
|
-
command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
|
|
1554
|
-
command.response_class = Google::Apis::DataflowV1b3::Snapshot
|
|
1555
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
1556
|
-
command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
|
|
1557
|
-
command.query['location'] = location unless location.nil?
|
|
1558
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1559
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1560
|
-
execute_or_queue_command(command, &block)
|
|
1561
|
-
end
|
|
1562
|
-
|
|
1563
|
-
# Lists snapshots.
|
|
1564
|
-
# @param [String] project_id
|
|
1565
|
-
# The project ID to list snapshots for.
|
|
1566
|
-
# @param [String] job_id
|
|
1567
|
-
# If specified, list snapshots created from this job.
|
|
1568
|
-
# @param [String] location
|
|
1569
|
-
# The location to list snapshots in.
|
|
1570
|
-
# @param [String] fields
|
|
1571
|
-
# Selector specifying which fields to include in a partial response.
|
|
1572
|
-
# @param [String] quota_user
|
|
1573
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1574
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1575
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1576
|
-
# Request-specific options
|
|
1577
|
-
#
|
|
1578
|
-
# @yield [result, err] Result & error if block supplied
|
|
1579
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::ListSnapshotsResponse] parsed result object
|
|
1580
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1581
|
-
#
|
|
1582
|
-
# @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
|
|
1583
|
-
#
|
|
1584
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1585
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1586
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1587
|
-
def list_project_snapshots(project_id, job_id: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1588
|
-
command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
|
|
1589
|
-
command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
|
|
1590
|
-
command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
|
|
1591
|
-
command.params['projectId'] = project_id unless project_id.nil?
|
|
1592
|
-
command.query['jobId'] = job_id unless job_id.nil?
|
|
1593
|
-
command.query['location'] = location unless location.nil?
|
|
1594
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1595
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1596
|
-
execute_or_queue_command(command, &block)
|
|
1597
|
-
end
|
|
1598
|
-
|
|
1599
1272
|
# Creates a Cloud Dataflow job from a template.
|
|
1600
1273
|
# @param [String] project_id
|
|
1601
1274
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|