google-api-client 0.9.20 → 0.9.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -4
- data/api_names.yaml +33179 -1058
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +24 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +14 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +7 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +96 -156
- data/generated/google/apis/androidenterprise_v1/representations.rb +18 -47
- data/generated/google/apis/androidenterprise_v1/service.rb +15 -459
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +176 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +62 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +60 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +300 -198
- data/generated/google/apis/appengine_v1beta5/representations.rb +36 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +54 -49
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +50 -6
- data/generated/google/apis/bigquery_v2/representations.rb +5 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -2
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +74 -74
- data/generated/google/apis/classroom_v1/representations.rb +29 -29
- data/generated/google/apis/classroom_v1/service.rb +132 -28
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +47 -27
- data/generated/google/apis/cloudbuild_v1/representations.rb +20 -7
- data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +648 -578
- data/generated/google/apis/clouddebugger_v2/representations.rb +140 -140
- data/generated/google/apis/clouddebugger_v2/service.rb +161 -155
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +563 -423
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +116 -76
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +318 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +396 -331
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +79 -79
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +317 -281
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +352 -80
- data/generated/google/apis/compute_beta/representations.rb +132 -19
- data/generated/google/apis/compute_beta/service.rb +214 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +673 -73
- data/generated/google/apis/compute_v1/representations.rb +274 -9
- data/generated/google/apis/compute_v1/service.rb +1574 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +7 -8
- data/generated/google/apis/content_v2/service.rb +125 -54
- data/generated/google/apis/dataflow_v1b3.rb +2 -3
- data/generated/google/apis/dataflow_v1b3/classes.rb +286 -114
- data/generated/google/apis/dataflow_v1b3/representations.rb +73 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +37 -38
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +5 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +37 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +16 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +4 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +55 -21
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +41 -12
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/fitness_v1.rb +31 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +32 -1
- data/generated/google/apis/gmail_v1/representations.rb +15 -0
- data/generated/google/apis/gmail_v1/service.rb +41 -2
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +7 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +1 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +10 -10
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +28 -26
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +166 -8
- data/generated/google/apis/language_v1beta1/representations.rb +50 -0
- data/generated/google/apis/language_v1beta1/service.rb +32 -0
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +868 -789
- data/generated/google/apis/logging_v2beta1/representations.rb +179 -147
- data/generated/google/apis/logging_v2beta1/service.rb +378 -211
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +110 -112
- data/generated/google/apis/monitoring_v3/service.rb +68 -73
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +380 -327
- data/generated/google/apis/pubsub_v1/representations.rb +79 -79
- data/generated/google/apis/pubsub_v1/service.rb +424 -396
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -53
- data/generated/google/apis/sheets_v4/representations.rb +48 -13
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +149 -31
- data/generated/google/apis/slides_v1/representations.rb +52 -9
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +3 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +54 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +41 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +63 -59
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +0 -76
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +71 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +33 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +52 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +15 -2
- data/generated/google/apis/youtube_v3/representations.rb +3 -0
- data/generated/google/apis/youtube_v3/service.rb +4 -4
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +146 -137
- data/generated/google/apis/youtubereporting_v1/representations.rb +33 -33
- data/generated/google/apis/youtubereporting_v1/service.rb +149 -145
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- metadata +29 -29
@@ -160,6 +160,12 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class RuntimeEnvironment
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class ReportWorkItemStatusRequest
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
@@ -244,6 +250,12 @@ module Google
|
|
244
250
|
include Google::Apis::Core::JsonObjectSupport
|
245
251
|
end
|
246
252
|
|
253
|
+
class DistributionUpdate
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
247
259
|
class ApproximateReportedProgress
|
248
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
261
|
|
@@ -610,6 +622,12 @@ module Google
|
|
610
622
|
include Google::Apis::Core::JsonObjectSupport
|
611
623
|
end
|
612
624
|
|
625
|
+
class ResourceUtilizationReport
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
613
631
|
class SendWorkerMessagesResponse
|
614
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
633
|
|
@@ -628,6 +646,12 @@ module Google
|
|
628
646
|
include Google::Apis::Core::JsonObjectSupport
|
629
647
|
end
|
630
648
|
|
649
|
+
class ResourceUtilizationReportResponse
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
+
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
653
|
+
end
|
654
|
+
|
631
655
|
class GetDebugConfigRequest
|
632
656
|
# @private
|
633
657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -894,8 +918,22 @@ module Google
|
|
894
918
|
class CreateJobFromTemplateRequest
|
895
919
|
# @private
|
896
920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
921
|
+
property :job_name, as: 'jobName'
|
897
922
|
property :gcs_path, as: 'gcsPath'
|
898
923
|
hash :parameters, as: 'parameters'
|
924
|
+
property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation
|
925
|
+
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
class RuntimeEnvironment
|
930
|
+
# @private
|
931
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
932
|
+
property :max_workers, as: 'maxWorkers'
|
933
|
+
property :zone, as: 'zone'
|
934
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
935
|
+
property :temp_location, as: 'tempLocation'
|
936
|
+
property :bypass_temp_dir_validation, as: 'bypassTempDirValidation'
|
899
937
|
end
|
900
938
|
end
|
901
939
|
|
@@ -970,6 +1008,8 @@ module Google
|
|
970
1008
|
|
971
1009
|
property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation
|
972
1010
|
|
1011
|
+
property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation
|
1012
|
+
|
973
1013
|
property :internal, as: 'internal'
|
974
1014
|
end
|
975
1015
|
end
|
@@ -1065,6 +1105,21 @@ module Google
|
|
1065
1105
|
end
|
1066
1106
|
end
|
1067
1107
|
|
1108
|
+
class DistributionUpdate
|
1109
|
+
# @private
|
1110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1111
|
+
property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
1112
|
+
|
1113
|
+
property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
1114
|
+
|
1115
|
+
property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
1116
|
+
|
1117
|
+
property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation
|
1118
|
+
|
1119
|
+
property :sum_of_squares, as: 'sumOfSquares'
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
1068
1123
|
class ApproximateReportedProgress
|
1069
1124
|
# @private
|
1070
1125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1545,6 +1600,7 @@ module Google
|
|
1545
1600
|
property :id_label, as: 'idLabel'
|
1546
1601
|
property :drop_late_data, as: 'dropLateData'
|
1547
1602
|
property :tracking_subscription, as: 'trackingSubscription'
|
1603
|
+
property :with_attributes, as: 'withAttributes'
|
1548
1604
|
end
|
1549
1605
|
end
|
1550
1606
|
|
@@ -1688,6 +1744,8 @@ module Google
|
|
1688
1744
|
|
1689
1745
|
property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation
|
1690
1746
|
|
1747
|
+
property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation
|
1748
|
+
|
1691
1749
|
end
|
1692
1750
|
end
|
1693
1751
|
|
@@ -1709,6 +1767,13 @@ module Google
|
|
1709
1767
|
end
|
1710
1768
|
end
|
1711
1769
|
|
1770
|
+
class ResourceUtilizationReport
|
1771
|
+
# @private
|
1772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1773
|
+
collection :metrics, as: 'metrics'
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
|
1712
1777
|
class SendWorkerMessagesResponse
|
1713
1778
|
# @private
|
1714
1779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1722,6 +1787,8 @@ module Google
|
|
1722
1787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1723
1788
|
property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation
|
1724
1789
|
|
1790
|
+
property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation
|
1791
|
+
|
1725
1792
|
end
|
1726
1793
|
end
|
1727
1794
|
|
@@ -1731,6 +1798,12 @@ module Google
|
|
1731
1798
|
property :report_interval, as: 'reportInterval'
|
1732
1799
|
end
|
1733
1800
|
end
|
1801
|
+
|
1802
|
+
class ResourceUtilizationReportResponse
|
1803
|
+
# @private
|
1804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1805
|
+
end
|
1806
|
+
end
|
1734
1807
|
end
|
1735
1808
|
end
|
1736
1809
|
end
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module DataflowV1b3
|
23
23
|
# Google Dataflow API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# and continuous computation.
|
25
|
+
# Manages Google Cloud Dataflow projects on Google Cloud Platform.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/dataflow_v1b3'
|
@@ -80,16 +79,16 @@ module Google
|
|
80
79
|
execute_or_queue_command(command, &block)
|
81
80
|
end
|
82
81
|
|
83
|
-
# Creates a
|
82
|
+
# Creates a Cloud Dataflow job.
|
84
83
|
# @param [String] project_id
|
85
|
-
# The project
|
84
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
86
85
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
87
86
|
# @param [String] view
|
88
|
-
#
|
87
|
+
# The level of information requested in response.
|
89
88
|
# @param [String] replace_job_id
|
90
|
-
#
|
89
|
+
# Deprecated. This field is now in the Job message.
|
91
90
|
# @param [String] location
|
92
|
-
# The location
|
91
|
+
# The location that contains this job.
|
93
92
|
# @param [String] fields
|
94
93
|
# Selector specifying which fields to include in a partial response.
|
95
94
|
# @param [String] quota_user
|
@@ -122,15 +121,15 @@ module Google
|
|
122
121
|
execute_or_queue_command(command, &block)
|
123
122
|
end
|
124
123
|
|
125
|
-
# Gets the state of the specified
|
124
|
+
# Gets the state of the specified Cloud Dataflow job.
|
126
125
|
# @param [String] project_id
|
127
|
-
# The project
|
126
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
128
127
|
# @param [String] job_id
|
129
|
-
#
|
128
|
+
# The job ID.
|
130
129
|
# @param [String] view
|
131
|
-
#
|
130
|
+
# The level of information requested in response.
|
132
131
|
# @param [String] location
|
133
|
-
# The location
|
132
|
+
# The location that contains this job.
|
134
133
|
# @param [String] fields
|
135
134
|
# Selector specifying which fields to include in a partial response.
|
136
135
|
# @param [String] quota_user
|
@@ -161,14 +160,14 @@ module Google
|
|
161
160
|
execute_or_queue_command(command, &block)
|
162
161
|
end
|
163
162
|
|
164
|
-
# Updates the state of an existing
|
163
|
+
# Updates the state of an existing Cloud Dataflow job.
|
165
164
|
# @param [String] project_id
|
166
|
-
# The project
|
165
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
167
166
|
# @param [String] job_id
|
168
|
-
#
|
167
|
+
# The job ID.
|
169
168
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
170
169
|
# @param [String] location
|
171
|
-
# The location
|
170
|
+
# The location that contains this job.
|
172
171
|
# @param [String] fields
|
173
172
|
# Selector specifying which fields to include in a partial response.
|
174
173
|
# @param [String] quota_user
|
@@ -200,13 +199,13 @@ module Google
|
|
200
199
|
execute_or_queue_command(command, &block)
|
201
200
|
end
|
202
201
|
|
203
|
-
# List the jobs of a project
|
202
|
+
# List the jobs of a project.
|
204
203
|
# @param [String] project_id
|
205
204
|
# The project which owns the jobs.
|
206
205
|
# @param [String] filter
|
207
206
|
# The kind of filter to use.
|
208
207
|
# @param [String] view
|
209
|
-
# Level of information requested in response. Default is
|
208
|
+
# Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
|
210
209
|
# @param [Fixnum] page_size
|
211
210
|
# If there are many jobs, limit response to at most this many. The actual number
|
212
211
|
# of jobs returned will be the lesser of max_responses and an unspecified server-
|
@@ -215,7 +214,7 @@ module Google
|
|
215
214
|
# Set this to the 'next_page_token' field of a previous response to request
|
216
215
|
# additional results in a long list.
|
217
216
|
# @param [String] location
|
218
|
-
# The location
|
217
|
+
# The location that contains this job.
|
219
218
|
# @param [String] fields
|
220
219
|
# Selector specifying which fields to include in a partial response.
|
221
220
|
# @param [String] quota_user
|
@@ -488,16 +487,16 @@ module Google
|
|
488
487
|
execute_or_queue_command(command, &block)
|
489
488
|
end
|
490
489
|
|
491
|
-
# Creates a
|
490
|
+
# Creates a Cloud Dataflow job.
|
492
491
|
# @param [String] project_id
|
493
|
-
# The project
|
492
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
494
493
|
# @param [String] location
|
495
|
-
# The location
|
494
|
+
# The location that contains this job.
|
496
495
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
497
496
|
# @param [String] view
|
498
|
-
#
|
497
|
+
# The level of information requested in response.
|
499
498
|
# @param [String] replace_job_id
|
500
|
-
#
|
499
|
+
# Deprecated. This field is now in the Job message.
|
501
500
|
# @param [String] fields
|
502
501
|
# Selector specifying which fields to include in a partial response.
|
503
502
|
# @param [String] quota_user
|
@@ -530,15 +529,15 @@ module Google
|
|
530
529
|
execute_or_queue_command(command, &block)
|
531
530
|
end
|
532
531
|
|
533
|
-
# Gets the state of the specified
|
532
|
+
# Gets the state of the specified Cloud Dataflow job.
|
534
533
|
# @param [String] project_id
|
535
|
-
# The project
|
534
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
536
535
|
# @param [String] location
|
537
|
-
# The location
|
536
|
+
# The location that contains this job.
|
538
537
|
# @param [String] job_id
|
539
|
-
#
|
538
|
+
# The job ID.
|
540
539
|
# @param [String] view
|
541
|
-
#
|
540
|
+
# The level of information requested in response.
|
542
541
|
# @param [String] fields
|
543
542
|
# Selector specifying which fields to include in a partial response.
|
544
543
|
# @param [String] quota_user
|
@@ -569,13 +568,13 @@ module Google
|
|
569
568
|
execute_or_queue_command(command, &block)
|
570
569
|
end
|
571
570
|
|
572
|
-
# Updates the state of an existing
|
571
|
+
# Updates the state of an existing Cloud Dataflow job.
|
573
572
|
# @param [String] project_id
|
574
|
-
# The project
|
573
|
+
# The ID of the Cloud Platform project that the job belongs to.
|
575
574
|
# @param [String] location
|
576
|
-
# The location
|
575
|
+
# The location that contains this job.
|
577
576
|
# @param [String] job_id
|
578
|
-
#
|
577
|
+
# The job ID.
|
579
578
|
# @param [Google::Apis::DataflowV1b3::Job] job_object
|
580
579
|
# @param [String] fields
|
581
580
|
# Selector specifying which fields to include in a partial response.
|
@@ -608,15 +607,15 @@ module Google
|
|
608
607
|
execute_or_queue_command(command, &block)
|
609
608
|
end
|
610
609
|
|
611
|
-
# List the jobs of a project
|
610
|
+
# List the jobs of a project.
|
612
611
|
# @param [String] project_id
|
613
612
|
# The project which owns the jobs.
|
614
613
|
# @param [String] location
|
615
|
-
# The location
|
614
|
+
# The location that contains this job.
|
616
615
|
# @param [String] filter
|
617
616
|
# The kind of filter to use.
|
618
617
|
# @param [String] view
|
619
|
-
# Level of information requested in response. Default is
|
618
|
+
# Level of information requested in response. Default is `JOB_VIEW_SUMMARY`.
|
620
619
|
# @param [Fixnum] page_size
|
621
620
|
# If there are many jobs, limit response to at most this many. The actual number
|
622
621
|
# of jobs returned will be the lesser of max_responses and an unspecified server-
|
@@ -830,9 +829,9 @@ module Google
|
|
830
829
|
execute_or_queue_command(command, &block)
|
831
830
|
end
|
832
831
|
|
833
|
-
# Creates a
|
832
|
+
# Creates a Cloud Dataflow job from a template.
|
834
833
|
# @param [String] project_id
|
835
|
-
# The project
|
834
|
+
# Required. The ID of the Cloud Platform project that the job belongs to.
|
836
835
|
# @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object
|
837
836
|
# @param [String] fields
|
838
837
|
# Selector specifying which fields to include in a partial response.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
27
27
|
module DatastoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170110'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -106,6 +106,8 @@ module Google
|
|
106
106
|
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
107
107
|
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
108
108
|
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
109
|
+
# The code in logs/storage/validator/logs_validator_traits.cc treats this type
|
110
|
+
# as if it were annotated as ST_LOCATION.
|
109
111
|
# Corresponds to the JSON property `geoPointValue`
|
110
112
|
# @return [Google::Apis::DatastoreV1::LatLng]
|
111
113
|
attr_accessor :geo_point_value
|
@@ -544,6 +546,7 @@ module Google
|
|
544
546
|
# In a single transaction, subsequent query result batches for the same query
|
545
547
|
# can have a greater snapshot version number. Each batch's snapshot version
|
546
548
|
# is valid for all preceding batches.
|
549
|
+
# The value will be zero for eventually consistent queries.
|
547
550
|
# Corresponds to the JSON property `snapshotVersion`
|
548
551
|
# @return [String]
|
549
552
|
attr_accessor :snapshot_version
|
@@ -1230,6 +1233,8 @@ module Google
|
|
1230
1233
|
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
1231
1234
|
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
1232
1235
|
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
1236
|
+
# The code in logs/storage/validator/logs_validator_traits.cc treats this type
|
1237
|
+
# as if it were annotated as ST_LOCATION.
|
1233
1238
|
class LatLng
|
1234
1239
|
include Google::Apis::Core::Hashable
|
1235
1240
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/deployment-manager/
|
26
26
|
module DeploymentmanagerV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161221'
|
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'
|
@@ -22,20 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DeploymentmanagerV2
|
24
24
|
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# Provides the configuration for non-admin_activity logging for a service.
|
26
|
+
# Controls exemptions and specific log sub-types.
|
27
27
|
class AuditConfig
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
+
# The configuration for each type of logging
|
31
|
+
# Corresponds to the JSON property `auditLogConfigs`
|
32
|
+
# @return [Array<Google::Apis::DeploymentmanagerV2::AuditLogConfig>]
|
33
|
+
attr_accessor :audit_log_configs
|
34
|
+
|
30
35
|
# Specifies the identities that are exempted from "data access" audit logging
|
31
36
|
# for the `service` specified above. Follows the same format of Binding.members.
|
32
37
|
# Corresponds to the JSON property `exemptedMembers`
|
33
38
|
# @return [Array<String>]
|
34
39
|
attr_accessor :exempted_members
|
35
40
|
|
36
|
-
# Specifies a service that will be enabled for
|
37
|
-
#
|
38
|
-
#
|
41
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
42
|
+
# resourcemanager`, `storage`, `compute`. `allServices` is a special value that
|
43
|
+
# covers all services.
|
39
44
|
# Corresponds to the JSON property `service`
|
40
45
|
# @return [String]
|
41
46
|
attr_accessor :service
|
@@ -46,11 +51,38 @@ module Google
|
|
46
51
|
|
47
52
|
# Update properties of this object
|
48
53
|
def update!(**args)
|
54
|
+
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
49
55
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
50
56
|
@service = args[:service] if args.key?(:service)
|
51
57
|
end
|
52
58
|
end
|
53
59
|
|
60
|
+
# Provides the configuration for a sub-type of logging.
|
61
|
+
class AuditLogConfig
|
62
|
+
include Google::Apis::Core::Hashable
|
63
|
+
|
64
|
+
# Specifies the identities that are exempted from this type of logging Follows
|
65
|
+
# the same format of Binding.members.
|
66
|
+
# Corresponds to the JSON property `exemptedMembers`
|
67
|
+
# @return [Array<String>]
|
68
|
+
attr_accessor :exempted_members
|
69
|
+
|
70
|
+
# The log type that this config enables.
|
71
|
+
# Corresponds to the JSON property `logType`
|
72
|
+
# @return [String]
|
73
|
+
attr_accessor :log_type
|
74
|
+
|
75
|
+
def initialize(**args)
|
76
|
+
update!(**args)
|
77
|
+
end
|
78
|
+
|
79
|
+
# Update properties of this object
|
80
|
+
def update!(**args)
|
81
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
82
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
54
86
|
# Associates `members` with a `role`.
|
55
87
|
class Binding
|
56
88
|
include Google::Apis::Core::Hashable
|