google-api-client 0.39.5 → 0.40.0
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 +34 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +39 -4
- data/generated/google/apis/apigee_v1/representations.rb +5 -0
- data/generated/google/apis/apigee_v1/service.rb +15 -13
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -0
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +281 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +23 -7
- data/generated/google/apis/compute_alpha/representations.rb +3 -1
- data/generated/google/apis/compute_alpha/service.rb +671 -671
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +591 -591
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +37 -1
- data/generated/google/apis/compute_v1/representations.rb +5 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +27 -4
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +565 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +565 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +44 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +565 -8
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +238 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
- data/generated/google/apis/displayvideo_v1/service.rb +280 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +36 -27
- data/generated/google/apis/healthcare_v1/service.rb +61 -29
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +38 -34
- data/generated/google/apis/healthcare_v1beta1/service.rb +162 -144
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +24 -12
- data/generated/google/apis/iam_v1/service.rb +7 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +29 -10
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +26 -26
- data/generated/google/apis/youtube_v3/service.rb +1 -36
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -11
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4.rb +0 -32
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
|
@@ -40,6 +40,12 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class Artifact
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
class AutoscalingEvent
|
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
51
|
|
|
@@ -70,6 +76,12 @@ module Google
|
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
71
77
|
end
|
|
72
78
|
|
|
79
|
+
class CommitTemplateVersionRequest
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
73
85
|
class ComponentSource
|
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
87
|
|
|
@@ -130,6 +142,12 @@ module Google
|
|
|
130
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
143
|
end
|
|
132
144
|
|
|
145
|
+
class CreateTemplateVersionRequest
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
133
151
|
class CustomSourceLocation
|
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
153
|
|
|
@@ -184,6 +202,12 @@ module Google
|
|
|
184
202
|
include Google::Apis::Core::JsonObjectSupport
|
|
185
203
|
end
|
|
186
204
|
|
|
205
|
+
class Empty
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
187
211
|
class Environment
|
|
188
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
213
|
|
|
@@ -400,6 +424,12 @@ module Google
|
|
|
400
424
|
include Google::Apis::Core::JsonObjectSupport
|
|
401
425
|
end
|
|
402
426
|
|
|
427
|
+
class ListTemplateVersionsResponse
|
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
429
|
+
|
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
431
|
+
end
|
|
432
|
+
|
|
403
433
|
class MapTask
|
|
404
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
405
435
|
|
|
@@ -430,6 +460,30 @@ module Google
|
|
|
430
460
|
include Google::Apis::Core::JsonObjectSupport
|
|
431
461
|
end
|
|
432
462
|
|
|
463
|
+
class ModifyTemplateVersionLabelRequest
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
class ModifyTemplateVersionLabelResponse
|
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
|
+
|
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
class ModifyTemplateVersionTagRequest
|
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
477
|
+
|
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
479
|
+
end
|
|
480
|
+
|
|
481
|
+
class ModifyTemplateVersionTagResponse
|
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
+
|
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
+
end
|
|
486
|
+
|
|
433
487
|
class MountedDataDisk
|
|
434
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
489
|
|
|
@@ -514,6 +568,12 @@ module Google
|
|
|
514
568
|
include Google::Apis::Core::JsonObjectSupport
|
|
515
569
|
end
|
|
516
570
|
|
|
571
|
+
class QueryInfo
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
573
|
+
|
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
575
|
+
end
|
|
576
|
+
|
|
517
577
|
class ReadInstruction
|
|
518
578
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
519
579
|
|
|
@@ -826,6 +886,12 @@ module Google
|
|
|
826
886
|
include Google::Apis::Core::JsonObjectSupport
|
|
827
887
|
end
|
|
828
888
|
|
|
889
|
+
class TemplateVersion
|
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
891
|
+
|
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
893
|
+
end
|
|
894
|
+
|
|
829
895
|
class TopologyConfig
|
|
830
896
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
831
897
|
|
|
@@ -961,6 +1027,17 @@ module Google
|
|
|
961
1027
|
end
|
|
962
1028
|
end
|
|
963
1029
|
|
|
1030
|
+
class Artifact
|
|
1031
|
+
# @private
|
|
1032
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1033
|
+
property :container_spec, as: 'containerSpec', class: Google::Apis::DataflowV1b3::ContainerSpec, decorator: Google::Apis::DataflowV1b3::ContainerSpec::Representation
|
|
1034
|
+
|
|
1035
|
+
property :job_graph_gcs_path, as: 'jobGraphGcsPath'
|
|
1036
|
+
property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::TemplateMetadata, decorator: Google::Apis::DataflowV1b3::TemplateMetadata::Representation
|
|
1037
|
+
|
|
1038
|
+
end
|
|
1039
|
+
end
|
|
1040
|
+
|
|
964
1041
|
class AutoscalingEvent
|
|
965
1042
|
# @private
|
|
966
1043
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1010,6 +1087,14 @@ module Google
|
|
|
1010
1087
|
end
|
|
1011
1088
|
end
|
|
1012
1089
|
|
|
1090
|
+
class CommitTemplateVersionRequest
|
|
1091
|
+
# @private
|
|
1092
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1093
|
+
property :template_version, as: 'templateVersion', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
1094
|
+
|
|
1095
|
+
end
|
|
1096
|
+
end
|
|
1097
|
+
|
|
1013
1098
|
class ComponentSource
|
|
1014
1099
|
# @private
|
|
1015
1100
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1143,6 +1228,14 @@ module Google
|
|
|
1143
1228
|
end
|
|
1144
1229
|
end
|
|
1145
1230
|
|
|
1231
|
+
class CreateTemplateVersionRequest
|
|
1232
|
+
# @private
|
|
1233
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1234
|
+
property :template_version, as: 'templateVersion', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
1235
|
+
|
|
1236
|
+
end
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1146
1239
|
class CustomSourceLocation
|
|
1147
1240
|
# @private
|
|
1148
1241
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1235,6 +1328,12 @@ module Google
|
|
|
1235
1328
|
end
|
|
1236
1329
|
end
|
|
1237
1330
|
|
|
1331
|
+
class Empty
|
|
1332
|
+
# @private
|
|
1333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1334
|
+
end
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1238
1337
|
class Environment
|
|
1239
1338
|
# @private
|
|
1240
1339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1623,6 +1722,15 @@ module Google
|
|
|
1623
1722
|
end
|
|
1624
1723
|
end
|
|
1625
1724
|
|
|
1725
|
+
class ListTemplateVersionsResponse
|
|
1726
|
+
# @private
|
|
1727
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1728
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1729
|
+
collection :template_versions, as: 'templateVersions', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
1730
|
+
|
|
1731
|
+
end
|
|
1732
|
+
end
|
|
1733
|
+
|
|
1626
1734
|
class MapTask
|
|
1627
1735
|
# @private
|
|
1628
1736
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1679,6 +1787,37 @@ module Google
|
|
|
1679
1787
|
end
|
|
1680
1788
|
end
|
|
1681
1789
|
|
|
1790
|
+
class ModifyTemplateVersionLabelRequest
|
|
1791
|
+
# @private
|
|
1792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1793
|
+
property :key, as: 'key'
|
|
1794
|
+
property :op, as: 'op'
|
|
1795
|
+
property :value, as: 'value'
|
|
1796
|
+
end
|
|
1797
|
+
end
|
|
1798
|
+
|
|
1799
|
+
class ModifyTemplateVersionLabelResponse
|
|
1800
|
+
# @private
|
|
1801
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1802
|
+
hash :labels, as: 'labels'
|
|
1803
|
+
end
|
|
1804
|
+
end
|
|
1805
|
+
|
|
1806
|
+
class ModifyTemplateVersionTagRequest
|
|
1807
|
+
# @private
|
|
1808
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1809
|
+
property :remove_only, as: 'removeOnly'
|
|
1810
|
+
property :tag, as: 'tag'
|
|
1811
|
+
end
|
|
1812
|
+
end
|
|
1813
|
+
|
|
1814
|
+
class ModifyTemplateVersionTagResponse
|
|
1815
|
+
# @private
|
|
1816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1817
|
+
collection :tags, as: 'tags'
|
|
1818
|
+
end
|
|
1819
|
+
end
|
|
1820
|
+
|
|
1682
1821
|
class MountedDataDisk
|
|
1683
1822
|
# @private
|
|
1684
1823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1833,6 +1972,13 @@ module Google
|
|
|
1833
1972
|
end
|
|
1834
1973
|
end
|
|
1835
1974
|
|
|
1975
|
+
class QueryInfo
|
|
1976
|
+
# @private
|
|
1977
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1978
|
+
collection :query_property, as: 'queryProperty'
|
|
1979
|
+
end
|
|
1980
|
+
end
|
|
1981
|
+
|
|
1836
1982
|
class ReadInstruction
|
|
1837
1983
|
# @private
|
|
1838
1984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2367,6 +2513,22 @@ module Google
|
|
|
2367
2513
|
end
|
|
2368
2514
|
end
|
|
2369
2515
|
|
|
2516
|
+
class TemplateVersion
|
|
2517
|
+
# @private
|
|
2518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2519
|
+
property :artifact, as: 'artifact', class: Google::Apis::DataflowV1b3::Artifact, decorator: Google::Apis::DataflowV1b3::Artifact::Representation
|
|
2520
|
+
|
|
2521
|
+
property :create_time, as: 'createTime'
|
|
2522
|
+
property :description, as: 'description'
|
|
2523
|
+
property :display_name, as: 'displayName'
|
|
2524
|
+
hash :labels, as: 'labels'
|
|
2525
|
+
property :project_id, as: 'projectId'
|
|
2526
|
+
collection :tags, as: 'tags'
|
|
2527
|
+
property :type, as: 'type'
|
|
2528
|
+
property :version_id, as: 'versionId'
|
|
2529
|
+
end
|
|
2530
|
+
end
|
|
2531
|
+
|
|
2370
2532
|
class TopologyConfig
|
|
2371
2533
|
# @private
|
|
2372
2534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2397,6 +2559,8 @@ module Google
|
|
|
2397
2559
|
# @private
|
|
2398
2560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2399
2561
|
property :error_message, as: 'errorMessage'
|
|
2562
|
+
property :query_info, as: 'queryInfo', class: Google::Apis::DataflowV1b3::QueryInfo, decorator: Google::Apis::DataflowV1b3::QueryInfo::Representation
|
|
2563
|
+
|
|
2400
2564
|
end
|
|
2401
2565
|
end
|
|
2402
2566
|
|
|
@@ -116,6 +116,224 @@ module Google
|
|
|
116
116
|
execute_or_queue_command(command, &block)
|
|
117
117
|
end
|
|
118
118
|
|
|
119
|
+
# Creates a new TemplateVersion (Important: not new Template) entry in the
|
|
120
|
+
# spanner table. Requires project_id and display_name (template).
|
|
121
|
+
# @param [String] name
|
|
122
|
+
# The location of the template, name includes project_id and display_name.
|
|
123
|
+
# Commit using project_id(pid1) and display_name(tid1).
|
|
124
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1`
|
|
125
|
+
# @param [Google::Apis::DataflowV1b3::CommitTemplateVersionRequest] commit_template_version_request_object
|
|
126
|
+
# @param [String] fields
|
|
127
|
+
# Selector specifying which fields to include in a partial response.
|
|
128
|
+
# @param [String] quota_user
|
|
129
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
130
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
131
|
+
# @param [Google::Apis::RequestOptions] options
|
|
132
|
+
# Request-specific options
|
|
133
|
+
#
|
|
134
|
+
# @yield [result, err] Result & error if block supplied
|
|
135
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
|
|
136
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
137
|
+
#
|
|
138
|
+
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
|
139
|
+
#
|
|
140
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
141
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
142
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
143
|
+
def commit_catalog_template_template_version(name, commit_template_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
144
|
+
command = make_simple_command(:post, 'v1b3/{+name}:commit', options)
|
|
145
|
+
command.request_representation = Google::Apis::DataflowV1b3::CommitTemplateVersionRequest::Representation
|
|
146
|
+
command.request_object = commit_template_version_request_object
|
|
147
|
+
command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
148
|
+
command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
|
|
149
|
+
command.params['name'] = name unless name.nil?
|
|
150
|
+
command.query['fields'] = fields unless fields.nil?
|
|
151
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
152
|
+
execute_or_queue_command(command, &block)
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
# Deletes an existing Template. Do nothing if Template does not exist.
|
|
156
|
+
# @param [String] name
|
|
157
|
+
# name includes project_id and display_name.
|
|
158
|
+
# Delete by project_id(pid1) and display_name(tid1).
|
|
159
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1`
|
|
160
|
+
# @param [String] fields
|
|
161
|
+
# Selector specifying which fields to include in a partial response.
|
|
162
|
+
# @param [String] quota_user
|
|
163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
165
|
+
# @param [Google::Apis::RequestOptions] options
|
|
166
|
+
# Request-specific options
|
|
167
|
+
#
|
|
168
|
+
# @yield [result, err] Result & error if block supplied
|
|
169
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::Empty] parsed result object
|
|
170
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
171
|
+
#
|
|
172
|
+
# @return [Google::Apis::DataflowV1b3::Empty]
|
|
173
|
+
#
|
|
174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
177
|
+
def delete_project_catalog_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
178
|
+
command = make_simple_command(:delete, 'v1b3/{+name}', options)
|
|
179
|
+
command.response_representation = Google::Apis::DataflowV1b3::Empty::Representation
|
|
180
|
+
command.response_class = Google::Apis::DataflowV1b3::Empty
|
|
181
|
+
command.params['name'] = name unless name.nil?
|
|
182
|
+
command.query['fields'] = fields unless fields.nil?
|
|
183
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
184
|
+
execute_or_queue_command(command, &block)
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
# Get TemplateVersion using project_id and display_name with an optional
|
|
188
|
+
# version_id field. Get latest (has tag "latest") TemplateVersion if
|
|
189
|
+
# version_id not set.
|
|
190
|
+
# @param [String] name
|
|
191
|
+
# Resource name includes project_id and display_name. version_id is optional.
|
|
192
|
+
# Get the latest TemplateVersion if version_id not set.
|
|
193
|
+
# Get by project_id(pid1) and display_name(tid1):
|
|
194
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1`
|
|
195
|
+
# Get by project_id(pid1), display_name(tid1), and version_id(vid1):
|
|
196
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1@vid`
|
|
197
|
+
# @param [String] fields
|
|
198
|
+
# Selector specifying which fields to include in a partial response.
|
|
199
|
+
# @param [String] quota_user
|
|
200
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
201
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
202
|
+
# @param [Google::Apis::RequestOptions] options
|
|
203
|
+
# Request-specific options
|
|
204
|
+
#
|
|
205
|
+
# @yield [result, err] Result & error if block supplied
|
|
206
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
|
|
207
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
208
|
+
#
|
|
209
|
+
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
|
210
|
+
#
|
|
211
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
212
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
213
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
214
|
+
def get_project_catalog_template(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
215
|
+
command = make_simple_command(:get, 'v1b3/{+name}', options)
|
|
216
|
+
command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
217
|
+
command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
|
|
218
|
+
command.params['name'] = name unless name.nil?
|
|
219
|
+
command.query['fields'] = fields unless fields.nil?
|
|
220
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
221
|
+
execute_or_queue_command(command, &block)
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Updates the label of the TemplateVersion. Label can be duplicated in
|
|
225
|
+
# Template, so either add or remove the label in the TemplateVersion.
|
|
226
|
+
# @param [String] name
|
|
227
|
+
# Resource name includes project_id, display_name, and version_id.
|
|
228
|
+
# Updates by project_id(pid1), display_name(tid1), and version_id(vid1):
|
|
229
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1@vid`
|
|
230
|
+
# @param [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest] modify_template_version_label_request_object
|
|
231
|
+
# @param [String] fields
|
|
232
|
+
# Selector specifying which fields to include in a partial response.
|
|
233
|
+
# @param [String] quota_user
|
|
234
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
235
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
236
|
+
# @param [Google::Apis::RequestOptions] options
|
|
237
|
+
# Request-specific options
|
|
238
|
+
#
|
|
239
|
+
# @yield [result, err] Result & error if block supplied
|
|
240
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse] parsed result object
|
|
241
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
242
|
+
#
|
|
243
|
+
# @return [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse]
|
|
244
|
+
#
|
|
245
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
246
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
247
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
248
|
+
def label_project_catalog_template(name, modify_template_version_label_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
249
|
+
command = make_simple_command(:post, 'v1b3/{+name}:label', options)
|
|
250
|
+
command.request_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest::Representation
|
|
251
|
+
command.request_object = modify_template_version_label_request_object
|
|
252
|
+
command.response_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse::Representation
|
|
253
|
+
command.response_class = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse
|
|
254
|
+
command.params['name'] = name unless name.nil?
|
|
255
|
+
command.query['fields'] = fields unless fields.nil?
|
|
256
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
257
|
+
execute_or_queue_command(command, &block)
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# Updates the tag of the TemplateVersion, and tag is unique in Template.
|
|
261
|
+
# If tag exists in another TemplateVersion in the Template, updates the tag
|
|
262
|
+
# to this TemplateVersion will remove it from the old TemplateVersion and add
|
|
263
|
+
# it to this TemplateVersion. If request is remove_only (remove_only = true),
|
|
264
|
+
# remove the tag from this TemplateVersion.
|
|
265
|
+
# @param [String] name
|
|
266
|
+
# Resource name includes project_id, display_name, and version_id.
|
|
267
|
+
# Updates by project_id(pid1), display_name(tid1), and version_id(vid1):
|
|
268
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1@vid`
|
|
269
|
+
# @param [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest] modify_template_version_tag_request_object
|
|
270
|
+
# @param [String] fields
|
|
271
|
+
# Selector specifying which fields to include in a partial response.
|
|
272
|
+
# @param [String] quota_user
|
|
273
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
274
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
275
|
+
# @param [Google::Apis::RequestOptions] options
|
|
276
|
+
# Request-specific options
|
|
277
|
+
#
|
|
278
|
+
# @yield [result, err] Result & error if block supplied
|
|
279
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse] parsed result object
|
|
280
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
281
|
+
#
|
|
282
|
+
# @return [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse]
|
|
283
|
+
#
|
|
284
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
285
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
286
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
287
|
+
def tag_project_catalog_template(name, modify_template_version_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
288
|
+
command = make_simple_command(:post, 'v1b3/{+name}:tag', options)
|
|
289
|
+
command.request_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest::Representation
|
|
290
|
+
command.request_object = modify_template_version_tag_request_object
|
|
291
|
+
command.response_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse::Representation
|
|
292
|
+
command.response_class = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse
|
|
293
|
+
command.params['name'] = name unless name.nil?
|
|
294
|
+
command.query['fields'] = fields unless fields.nil?
|
|
295
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
296
|
+
execute_or_queue_command(command, &block)
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# Creates a new Template with TemplateVersion. Requires
|
|
300
|
+
# project_id(projects) and template display_name(catalogTemplates).
|
|
301
|
+
# The template display_name is set by the user.
|
|
302
|
+
# @param [String] parent
|
|
303
|
+
# The parent project and template that the TemplateVersion will be created
|
|
304
|
+
# under.
|
|
305
|
+
# Create using project_id(pid1) and display_name(tid1).
|
|
306
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1`
|
|
307
|
+
# @param [Google::Apis::DataflowV1b3::CreateTemplateVersionRequest] create_template_version_request_object
|
|
308
|
+
# @param [String] fields
|
|
309
|
+
# Selector specifying which fields to include in a partial response.
|
|
310
|
+
# @param [String] quota_user
|
|
311
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
312
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
313
|
+
# @param [Google::Apis::RequestOptions] options
|
|
314
|
+
# Request-specific options
|
|
315
|
+
#
|
|
316
|
+
# @yield [result, err] Result & error if block supplied
|
|
317
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
|
|
318
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
319
|
+
#
|
|
320
|
+
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
|
321
|
+
#
|
|
322
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
323
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
324
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
325
|
+
def create_template_version(parent, create_template_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
326
|
+
command = make_simple_command(:post, 'v1b3/{+parent}/templateVersions', options)
|
|
327
|
+
command.request_representation = Google::Apis::DataflowV1b3::CreateTemplateVersionRequest::Representation
|
|
328
|
+
command.request_object = create_template_version_request_object
|
|
329
|
+
command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
330
|
+
command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
|
|
331
|
+
command.params['parent'] = parent unless parent.nil?
|
|
332
|
+
command.query['fields'] = fields unless fields.nil?
|
|
333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
334
|
+
execute_or_queue_command(command, &block)
|
|
335
|
+
end
|
|
336
|
+
|
|
119
337
|
# List the jobs of a project across all regions.
|
|
120
338
|
# @param [String] project_id
|
|
121
339
|
# The project which owns the jobs.
|
|
@@ -1634,6 +1852,49 @@ module Google
|
|
|
1634
1852
|
execute_or_queue_command(command, &block)
|
|
1635
1853
|
end
|
|
1636
1854
|
|
|
1855
|
+
# List TemplateVersions using project_id and an optional display_name field.
|
|
1856
|
+
# List all the TemplateVersions in the Template if display set.
|
|
1857
|
+
# List all the TemplateVersions in the Project if display_name not set.
|
|
1858
|
+
# @param [String] parent
|
|
1859
|
+
# parent includes project_id, and display_name is optional.
|
|
1860
|
+
# List by project_id(pid1) and display_name(tid1).
|
|
1861
|
+
# Format: projects/`pid1`/catalogTemplates/`tid1`
|
|
1862
|
+
# List by project_id(pid1).
|
|
1863
|
+
# Format: projects/`pid1`
|
|
1864
|
+
# @param [Fixnum] page_size
|
|
1865
|
+
# The maximum number of TemplateVersions to return per page.
|
|
1866
|
+
# @param [String] page_token
|
|
1867
|
+
# The page token, received from a previous ListTemplateVersions call.
|
|
1868
|
+
# Provide this to retrieve the subsequent page.
|
|
1869
|
+
# @param [String] fields
|
|
1870
|
+
# Selector specifying which fields to include in a partial response.
|
|
1871
|
+
# @param [String] quota_user
|
|
1872
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1873
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1874
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1875
|
+
# Request-specific options
|
|
1876
|
+
#
|
|
1877
|
+
# @yield [result, err] Result & error if block supplied
|
|
1878
|
+
# @yieldparam result [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse] parsed result object
|
|
1879
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1880
|
+
#
|
|
1881
|
+
# @return [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse]
|
|
1882
|
+
#
|
|
1883
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1884
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1885
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1886
|
+
def list_project_template_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1887
|
+
command = make_simple_command(:get, 'v1b3/{+parent}/templateVersions', options)
|
|
1888
|
+
command.response_representation = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse::Representation
|
|
1889
|
+
command.response_class = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse
|
|
1890
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1891
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1892
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1893
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1894
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1895
|
+
execute_or_queue_command(command, &block)
|
|
1896
|
+
end
|
|
1897
|
+
|
|
1637
1898
|
# Creates a Cloud Dataflow job from a template.
|
|
1638
1899
|
# @param [String] project_id
|
|
1639
1900
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|