google-api-client 0.13.6 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +56 -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/androiddeviceprovisioning_v1.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.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 +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +19 -69
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +3 -41
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +17 -149
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +30 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +4 -0
- data/generated/google/apis/{toolresults_v1beta3firstparty.rb → cloudtasks_v2beta2.rb} +13 -9
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1709 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +585 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +1016 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -4
- data/generated/google/apis/cloudtrace_v2/classes.rb +0 -78
- data/generated/google/apis/cloudtrace_v2/representations.rb +0 -43
- data/generated/google/apis/cloudtrace_v2/service.rb +0 -101
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +833 -120
- data/generated/google/apis/compute_alpha/representations.rb +263 -26
- data/generated/google/apis/compute_alpha/service.rb +795 -107
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +5329 -524
- data/generated/google/apis/compute_beta/representations.rb +2241 -36
- data/generated/google/apis/compute_beta/service.rb +5 -5
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +4 -5
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +12 -0
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +54 -0
- data/generated/google/apis/container_v1beta1/representations.rb +18 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -39
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -16
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +71 -3
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +32 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +39 -3
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +16 -0
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +1605 -49
- data/generated/google/apis/dlp_v2beta1/representations.rb +832 -30
- data/generated/google/apis/dlp_v2beta1/service.rb +62 -0
- data/generated/google/apis/doubleclicksearch_v2.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 +0 -36
- data/generated/google/apis/gmail_v1/representations.rb +0 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +74 -0
- data/generated/google/apis/language_v1/representations.rb +35 -0
- data/generated/google/apis/language_v1/service.rb +31 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +3 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +8 -0
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/plus_domains_v1/service.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +35 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +16 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +4 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +45 -204
- data/generated/google/apis/sourcerepo_v1/representations.rb +10 -90
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +5 -3
- data/generated/google/apis/streetviewpublish_v1/service.rb +6 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- 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 +22 -85
- data/generated/google/apis/youtube_v3/representations.rb +3 -46
- data/generated/google/apis/youtube_v3/service.rb +11 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +0 -2630
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +0 -886
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +0 -1336
@@ -52,18 +52,6 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class IsEnabledRequest
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
|
-
class IsEnabledResponse
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
55
|
class ListDataSourcesResponse
|
68
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
57
|
|
@@ -112,12 +100,6 @@ module Google
|
|
112
100
|
include Google::Apis::Core::JsonObjectSupport
|
113
101
|
end
|
114
102
|
|
115
|
-
class SetEnabledRequest
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
103
|
class TransferConfig
|
122
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
105
|
|
@@ -202,19 +184,6 @@ module Google
|
|
202
184
|
end
|
203
185
|
end
|
204
186
|
|
205
|
-
class IsEnabledRequest
|
206
|
-
# @private
|
207
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
208
|
-
end
|
209
|
-
end
|
210
|
-
|
211
|
-
class IsEnabledResponse
|
212
|
-
# @private
|
213
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
214
|
-
property :enabled, as: 'enabled'
|
215
|
-
end
|
216
|
-
end
|
217
|
-
|
218
187
|
class ListDataSourcesResponse
|
219
188
|
# @private
|
220
189
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -273,23 +242,16 @@ module Google
|
|
273
242
|
class ScheduleTransferRunsRequest
|
274
243
|
# @private
|
275
244
|
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
-
property :
|
277
|
-
property :
|
245
|
+
property :end_time, as: 'endTime'
|
246
|
+
property :start_time, as: 'startTime'
|
278
247
|
end
|
279
248
|
end
|
280
249
|
|
281
250
|
class ScheduleTransferRunsResponse
|
282
251
|
# @private
|
283
252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
284
|
-
collection :
|
285
|
-
|
286
|
-
end
|
287
|
-
end
|
253
|
+
collection :runs, as: 'runs', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation
|
288
254
|
|
289
|
-
class SetEnabledRequest
|
290
|
-
# @private
|
291
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
292
|
-
property :enabled, as: 'enabled'
|
293
255
|
end
|
294
256
|
end
|
295
257
|
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module BigquerydatatransferV1
|
23
|
-
# BigQuery Data Transfer
|
23
|
+
# BigQuery Data Transfer API
|
24
24
|
#
|
25
25
|
# Transfers data from partner SaaS applications to Google BigQuery on a
|
26
26
|
# scheduled, managed basis.
|
@@ -48,79 +48,12 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Returns true if data transfer is enabled for a project.
|
52
|
-
# @param [String] name
|
53
|
-
# The name of the project resource in the form:
|
54
|
-
# `projects/`project_id``
|
55
|
-
# @param [Google::Apis::BigquerydatatransferV1::IsEnabledRequest] is_enabled_request_object
|
56
|
-
# @param [String] fields
|
57
|
-
# Selector specifying which fields to include in a partial response.
|
58
|
-
# @param [String] quota_user
|
59
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
-
# @param [Google::Apis::RequestOptions] options
|
62
|
-
# Request-specific options
|
63
|
-
#
|
64
|
-
# @yield [result, err] Result & error if block supplied
|
65
|
-
# @yieldparam result [Google::Apis::BigquerydatatransferV1::IsEnabledResponse] parsed result object
|
66
|
-
# @yieldparam err [StandardError] error object if request failed
|
67
|
-
#
|
68
|
-
# @return [Google::Apis::BigquerydatatransferV1::IsEnabledResponse]
|
69
|
-
#
|
70
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
-
def is_project_enabled(name, is_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
-
command = make_simple_command(:post, 'v1/{+name}:isEnabled', options)
|
75
|
-
command.request_representation = Google::Apis::BigquerydatatransferV1::IsEnabledRequest::Representation
|
76
|
-
command.request_object = is_enabled_request_object
|
77
|
-
command.response_representation = Google::Apis::BigquerydatatransferV1::IsEnabledResponse::Representation
|
78
|
-
command.response_class = Google::Apis::BigquerydatatransferV1::IsEnabledResponse
|
79
|
-
command.params['name'] = name unless name.nil?
|
80
|
-
command.query['fields'] = fields unless fields.nil?
|
81
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
-
execute_or_queue_command(command, &block)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Enables or disables data transfer for a project. This
|
86
|
-
# method requires the additional scope of
|
87
|
-
# 'https://www.googleapis.com/auth/cloudplatformprojects'
|
88
|
-
# to manage the cloud project permissions.
|
89
|
-
# @param [String] name
|
90
|
-
# The name of the project resource in the form:
|
91
|
-
# `projects/`project_id``
|
92
|
-
# @param [Google::Apis::BigquerydatatransferV1::SetEnabledRequest] set_enabled_request_object
|
93
|
-
# @param [String] fields
|
94
|
-
# Selector specifying which fields to include in a partial response.
|
95
|
-
# @param [String] quota_user
|
96
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
97
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
98
|
-
# @param [Google::Apis::RequestOptions] options
|
99
|
-
# Request-specific options
|
100
|
-
#
|
101
|
-
# @yield [result, err] Result & error if block supplied
|
102
|
-
# @yieldparam result [Google::Apis::BigquerydatatransferV1::Empty] parsed result object
|
103
|
-
# @yieldparam err [StandardError] error object if request failed
|
104
|
-
#
|
105
|
-
# @return [Google::Apis::BigquerydatatransferV1::Empty]
|
106
|
-
#
|
107
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
|
-
def set_project_enabled(name, set_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
-
command = make_simple_command(:post, 'v1/{+name}:setEnabled', options)
|
112
|
-
command.request_representation = Google::Apis::BigquerydatatransferV1::SetEnabledRequest::Representation
|
113
|
-
command.request_object = set_enabled_request_object
|
114
|
-
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
|
115
|
-
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
|
116
|
-
command.params['name'] = name unless name.nil?
|
117
|
-
command.query['fields'] = fields unless fields.nil?
|
118
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
119
|
-
execute_or_queue_command(command, &block)
|
120
|
-
end
|
121
|
-
|
122
51
|
# Returns true if valid credentials exist for the given data source and
|
123
52
|
# requesting user.
|
53
|
+
# Some data sources doesn't support service account, so we need to talk to
|
54
|
+
# them on behalf of the end user. This API just checks whether we have OAuth
|
55
|
+
# token for the particular user, which is a pre-requisite before user can
|
56
|
+
# create a transfer config.
|
124
57
|
# @param [String] name
|
125
58
|
# The data source in the form:
|
126
59
|
# `projects/`project_id`/dataSources/`data_source_id``
|
@@ -258,40 +191,6 @@ module Google
|
|
258
191
|
execute_or_queue_command(command, &block)
|
259
192
|
end
|
260
193
|
|
261
|
-
# Returns true if data transfer is enabled for a project.
|
262
|
-
# @param [String] name
|
263
|
-
# The name of the project resource in the form:
|
264
|
-
# `projects/`project_id``
|
265
|
-
# @param [Google::Apis::BigquerydatatransferV1::IsEnabledRequest] is_enabled_request_object
|
266
|
-
# @param [String] fields
|
267
|
-
# Selector specifying which fields to include in a partial response.
|
268
|
-
# @param [String] quota_user
|
269
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
270
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
271
|
-
# @param [Google::Apis::RequestOptions] options
|
272
|
-
# Request-specific options
|
273
|
-
#
|
274
|
-
# @yield [result, err] Result & error if block supplied
|
275
|
-
# @yieldparam result [Google::Apis::BigquerydatatransferV1::IsEnabledResponse] parsed result object
|
276
|
-
# @yieldparam err [StandardError] error object if request failed
|
277
|
-
#
|
278
|
-
# @return [Google::Apis::BigquerydatatransferV1::IsEnabledResponse]
|
279
|
-
#
|
280
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
281
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
282
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
283
|
-
def is_location_enabled(name, is_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
284
|
-
command = make_simple_command(:post, 'v1/{+name}:isEnabled', options)
|
285
|
-
command.request_representation = Google::Apis::BigquerydatatransferV1::IsEnabledRequest::Representation
|
286
|
-
command.request_object = is_enabled_request_object
|
287
|
-
command.response_representation = Google::Apis::BigquerydatatransferV1::IsEnabledResponse::Representation
|
288
|
-
command.response_class = Google::Apis::BigquerydatatransferV1::IsEnabledResponse
|
289
|
-
command.params['name'] = name unless name.nil?
|
290
|
-
command.query['fields'] = fields unless fields.nil?
|
291
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
292
|
-
execute_or_queue_command(command, &block)
|
293
|
-
end
|
294
|
-
|
295
194
|
# Lists information about the supported locations for this service.
|
296
195
|
# @param [String] name
|
297
196
|
# The resource that owns the locations collection, if applicable.
|
@@ -331,45 +230,12 @@ module Google
|
|
331
230
|
execute_or_queue_command(command, &block)
|
332
231
|
end
|
333
232
|
|
334
|
-
# Enables or disables data transfer for a project. This
|
335
|
-
# method requires the additional scope of
|
336
|
-
# 'https://www.googleapis.com/auth/cloudplatformprojects'
|
337
|
-
# to manage the cloud project permissions.
|
338
|
-
# @param [String] name
|
339
|
-
# The name of the project resource in the form:
|
340
|
-
# `projects/`project_id``
|
341
|
-
# @param [Google::Apis::BigquerydatatransferV1::SetEnabledRequest] set_enabled_request_object
|
342
|
-
# @param [String] fields
|
343
|
-
# Selector specifying which fields to include in a partial response.
|
344
|
-
# @param [String] quota_user
|
345
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
346
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
347
|
-
# @param [Google::Apis::RequestOptions] options
|
348
|
-
# Request-specific options
|
349
|
-
#
|
350
|
-
# @yield [result, err] Result & error if block supplied
|
351
|
-
# @yieldparam result [Google::Apis::BigquerydatatransferV1::Empty] parsed result object
|
352
|
-
# @yieldparam err [StandardError] error object if request failed
|
353
|
-
#
|
354
|
-
# @return [Google::Apis::BigquerydatatransferV1::Empty]
|
355
|
-
#
|
356
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
357
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
358
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
359
|
-
def set_location_enabled(name, set_enabled_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
360
|
-
command = make_simple_command(:post, 'v1/{+name}:setEnabled', options)
|
361
|
-
command.request_representation = Google::Apis::BigquerydatatransferV1::SetEnabledRequest::Representation
|
362
|
-
command.request_object = set_enabled_request_object
|
363
|
-
command.response_representation = Google::Apis::BigquerydatatransferV1::Empty::Representation
|
364
|
-
command.response_class = Google::Apis::BigquerydatatransferV1::Empty
|
365
|
-
command.params['name'] = name unless name.nil?
|
366
|
-
command.query['fields'] = fields unless fields.nil?
|
367
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
368
|
-
execute_or_queue_command(command, &block)
|
369
|
-
end
|
370
|
-
|
371
233
|
# Returns true if valid credentials exist for the given data source and
|
372
234
|
# requesting user.
|
235
|
+
# Some data sources doesn't support service account, so we need to talk to
|
236
|
+
# them on behalf of the end user. This API just checks whether we have OAuth
|
237
|
+
# token for the particular user, which is a pre-requisite before user can
|
238
|
+
# create a transfer config.
|
373
239
|
# @param [String] name
|
374
240
|
# The data source in the form:
|
375
241
|
# `projects/`project_id`/dataSources/`data_source_id``
|
@@ -643,11 +509,12 @@ module Google
|
|
643
509
|
# Updates a data transfer configuration.
|
644
510
|
# All fields must be set, even if they are not updated.
|
645
511
|
# @param [String] name
|
646
|
-
# The resource name of the transfer
|
647
|
-
# Transfer
|
512
|
+
# The resource name of the transfer config.
|
513
|
+
# Transfer config names have the form
|
648
514
|
# `projects/`project_id`/transferConfigs/`config_id``.
|
649
515
|
# Where `config_id` is usually a uuid, even though it is not
|
650
|
-
# guaranteed or required. The name is ignored when creating a transfer
|
516
|
+
# guaranteed or required. The name is ignored when creating a transfer
|
517
|
+
# config.
|
651
518
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
652
519
|
# @param [String] authorization_code
|
653
520
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
@@ -1057,11 +924,12 @@ module Google
|
|
1057
924
|
# Updates a data transfer configuration.
|
1058
925
|
# All fields must be set, even if they are not updated.
|
1059
926
|
# @param [String] name
|
1060
|
-
# The resource name of the transfer
|
1061
|
-
# Transfer
|
927
|
+
# The resource name of the transfer config.
|
928
|
+
# Transfer config names have the form
|
1062
929
|
# `projects/`project_id`/transferConfigs/`config_id``.
|
1063
930
|
# Where `config_id` is usually a uuid, even though it is not
|
1064
|
-
# guaranteed or required. The name is ignored when creating a transfer
|
931
|
+
# guaranteed or required. The name is ignored when creating a transfer
|
932
|
+
# config.
|
1065
933
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
1066
934
|
# @param [String] authorization_code
|
1067
935
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/google-apps/calendar/firstapp
|
26
26
|
module CalendarV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170905'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/container-builder/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170912'
|
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'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/functions
|
27
27
|
module CloudfunctionsV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170914'
|
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'
|
@@ -229,6 +229,12 @@ module Google
|
|
229
229
|
# @return [String]
|
230
230
|
attr_accessor :type
|
231
231
|
|
232
|
+
# Version id of the function created or updated by an API call.
|
233
|
+
# This field is only pupulated for Create and Update operations.
|
234
|
+
# Corresponds to the JSON property `versionId`
|
235
|
+
# @return [Fixnum]
|
236
|
+
attr_accessor :version_id
|
237
|
+
|
232
238
|
def initialize(**args)
|
233
239
|
update!(**args)
|
234
240
|
end
|
@@ -238,6 +244,7 @@ module Google
|
|
238
244
|
@request = args[:request] if args.key?(:request)
|
239
245
|
@target = args[:target] if args.key?(:target)
|
240
246
|
@type = args[:type] if args.key?(:type)
|
247
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
241
248
|
end
|
242
249
|
end
|
243
250
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/functions
|
27
27
|
module CloudfunctionsV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20170914'
|
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,11 @@ module Google
|
|
106
106
|
# @return [Google::Apis::CloudfunctionsV1beta2::HttpsTrigger]
|
107
107
|
attr_accessor :https_trigger
|
108
108
|
|
109
|
+
# Labels associated with this Cloud Function.
|
110
|
+
# Corresponds to the JSON property `labels`
|
111
|
+
# @return [Hash<String,String>]
|
112
|
+
attr_accessor :labels
|
113
|
+
|
109
114
|
# Output only. Name of the most recent operation modifying the function. If
|
110
115
|
# the function status is `DEPLOYING` or `DELETING`, then it points to the
|
111
116
|
# active operation.
|
@@ -169,6 +174,13 @@ module Google
|
|
169
174
|
# @return [String]
|
170
175
|
attr_accessor :update_time
|
171
176
|
|
177
|
+
# Output only.
|
178
|
+
# The version identifier of the Cloud Function. Each deployment attempt
|
179
|
+
# results in a new version of a function being created.
|
180
|
+
# Corresponds to the JSON property `versionId`
|
181
|
+
# @return [Fixnum]
|
182
|
+
attr_accessor :version_id
|
183
|
+
|
172
184
|
def initialize(**args)
|
173
185
|
update!(**args)
|
174
186
|
end
|
@@ -179,6 +191,7 @@ module Google
|
|
179
191
|
@entry_point = args[:entry_point] if args.key?(:entry_point)
|
180
192
|
@event_trigger = args[:event_trigger] if args.key?(:event_trigger)
|
181
193
|
@https_trigger = args[:https_trigger] if args.key?(:https_trigger)
|
194
|
+
@labels = args[:labels] if args.key?(:labels)
|
182
195
|
@latest_operation = args[:latest_operation] if args.key?(:latest_operation)
|
183
196
|
@name = args[:name] if args.key?(:name)
|
184
197
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -188,6 +201,7 @@ module Google
|
|
188
201
|
@status = args[:status] if args.key?(:status)
|
189
202
|
@timeout = args[:timeout] if args.key?(:timeout)
|
190
203
|
@update_time = args[:update_time] if args.key?(:update_time)
|
204
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
191
205
|
end
|
192
206
|
end
|
193
207
|
|
@@ -223,6 +237,14 @@ module Google
|
|
223
237
|
# @return [String]
|
224
238
|
attr_accessor :resource
|
225
239
|
|
240
|
+
# The hostname of the service that should be observed.
|
241
|
+
# If no string is provided, the default service implementing the API will
|
242
|
+
# be used. For example, `storage.googleapis.com` is the default for all
|
243
|
+
# event types in the 'google.storage` namespace.
|
244
|
+
# Corresponds to the JSON property `service`
|
245
|
+
# @return [String]
|
246
|
+
attr_accessor :service
|
247
|
+
|
226
248
|
def initialize(**args)
|
227
249
|
update!(**args)
|
228
250
|
end
|
@@ -232,6 +254,7 @@ module Google
|
|
232
254
|
@event_type = args[:event_type] if args.key?(:event_type)
|
233
255
|
@failure_policy = args[:failure_policy] if args.key?(:failure_policy)
|
234
256
|
@resource = args[:resource] if args.key?(:resource)
|
257
|
+
@service = args[:service] if args.key?(:service)
|
235
258
|
end
|
236
259
|
end
|
237
260
|
|
@@ -513,6 +536,12 @@ module Google
|
|
513
536
|
# @return [String]
|
514
537
|
attr_accessor :type
|
515
538
|
|
539
|
+
# Version id of the function created or updated by an API call.
|
540
|
+
# This field is only pupulated for Create and Update operations.
|
541
|
+
# Corresponds to the JSON property `versionId`
|
542
|
+
# @return [Fixnum]
|
543
|
+
attr_accessor :version_id
|
544
|
+
|
516
545
|
def initialize(**args)
|
517
546
|
update!(**args)
|
518
547
|
end
|
@@ -522,6 +551,7 @@ module Google
|
|
522
551
|
@request = args[:request] if args.key?(:request)
|
523
552
|
@target = args[:target] if args.key?(:target)
|
524
553
|
@type = args[:type] if args.key?(:type)
|
554
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
525
555
|
end
|
526
556
|
end
|
527
557
|
|
@@ -137,6 +137,7 @@ module Google
|
|
137
137
|
|
138
138
|
property :https_trigger, as: 'httpsTrigger', class: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger, decorator: Google::Apis::CloudfunctionsV1beta2::HttpsTrigger::Representation
|
139
139
|
|
140
|
+
hash :labels, as: 'labels'
|
140
141
|
property :latest_operation, as: 'latestOperation'
|
141
142
|
property :name, as: 'name'
|
142
143
|
property :service_account, as: 'serviceAccount'
|
@@ -147,6 +148,7 @@ module Google
|
|
147
148
|
property :status, as: 'status'
|
148
149
|
property :timeout, as: 'timeout'
|
149
150
|
property :update_time, as: 'updateTime'
|
151
|
+
property :version_id, :numeric_string => true, as: 'versionId'
|
150
152
|
end
|
151
153
|
end
|
152
154
|
|
@@ -157,6 +159,7 @@ module Google
|
|
157
159
|
property :failure_policy, as: 'failurePolicy', class: Google::Apis::CloudfunctionsV1beta2::FailurePolicy, decorator: Google::Apis::CloudfunctionsV1beta2::FailurePolicy::Representation
|
158
160
|
|
159
161
|
property :resource, as: 'resource'
|
162
|
+
property :service, as: 'service'
|
160
163
|
end
|
161
164
|
end
|
162
165
|
|
@@ -230,6 +233,7 @@ module Google
|
|
230
233
|
hash :request, as: 'request'
|
231
234
|
property :target, as: 'target'
|
232
235
|
property :type, as: 'type'
|
236
|
+
property :version_id, :numeric_string => true, as: 'versionId'
|
233
237
|
end
|
234
238
|
end
|
235
239
|
|