Skip to content

Commit 5930fb1

Browse files
Autogenerated update (2017-09-14)
Add: - cloudtasks_v2beta2 Delete: - testing_v1 Update: - androiddeviceprovisioning_v1 - androidpublisher_v2 - bigquerydatatransfer_v1 - compute_alpha - compute_beta - compute_v1 - dlp_v2beta1 - youtube_v3
1 parent 5ad1e06 commit 5930fb1

34 files changed

+16348
-3843
lines changed

api_names_out.yaml

Lines changed: 1019 additions & 0 deletions
Large diffs are not rendered by default.

generated/google/apis/androiddeviceprovisioning_v1.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ module Google
2020
module Apis
2121
# Android Device Provisioning Partner API
2222
#
23-
# Automates reseller integration into Zero Touch Provisioning by assigning
24-
# devices to customers and creating device reports.
23+
# Automates reseller integration into zero-touch enrollment by assigning devices
24+
# to customers and creating device reports.
2525
#
2626
# @see https://developers.google.com/zero-touch/
2727
module AndroiddeviceprovisioningV1
2828
VERSION = 'V1'
29-
REVISION = '20170903'
29+
REVISION = '20170909'
3030
end
3131
end
3232
end

generated/google/apis/androiddeviceprovisioning_v1/service.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ module Apis
2222
module AndroiddeviceprovisioningV1
2323
# Android Device Provisioning Partner API
2424
#
25-
# Automates reseller integration into Zero Touch Provisioning by assigning
26-
# devices to customers and creating device reports.
25+
# Automates reseller integration into zero-touch enrollment by assigning devices
26+
# to customers and creating device reports.
2727
#
2828
# @example
2929
# require 'google/apis/androiddeviceprovisioning_v1'
@@ -80,7 +80,7 @@ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
8080
execute_or_queue_command(command, &block)
8181
end
8282

83-
# A customer for Zero Touch Provisioning will be created.
83+
# A customer for zero-touch enrollment will be created.
8484
# After a Customer is created, their admins and owners will be able to manage
8585
# devices on partner.android.com/zerotouch or via their API.
8686
# @param [String] parent

generated/google/apis/androidpublisher_v2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Apis
2525
# @see https://developers.google.com/android-publisher
2626
module AndroidpublisherV2
2727
VERSION = 'V2'
28-
REVISION = '20170815'
28+
REVISION = '20170913'
2929

3030
# View and manage your Google Play Developer account
3131
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

generated/google/apis/androidpublisher_v2/classes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,7 @@ class SubscriptionPurchase
15441544
# - User cancelled the subscription
15451545
# - Subscription was cancelled by the system, for example because of a billing
15461546
# problem
1547+
# - Subscription was replaced with a new subscription
15471548
# Corresponds to the JSON property `cancelReason`
15481549
# @return [Fixnum]
15491550
attr_accessor :cancel_reason

generated/google/apis/bigquerydatatransfer_v1.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818

1919
module Google
2020
module Apis
21-
# BigQuery Data Transfer Service API
21+
# BigQuery Data Transfer API
2222
#
2323
# Transfers data from partner SaaS applications to Google BigQuery on a
2424
# scheduled, managed basis.
2525
#
2626
# @see https://cloud.google.com/bigquery/
2727
module BigquerydatatransferV1
2828
VERSION = 'V1'
29-
REVISION = '20170904'
29+
REVISION = '20170912'
3030

3131
# View and manage your data in Google BigQuery
3232
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

generated/google/apis/bigquerydatatransfer_v1/classes.rb

Lines changed: 19 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -337,39 +337,6 @@ def update!(**args)
337337
end
338338
end
339339

340-
# A request to determine whether data transfer is enabled for the project.
341-
class IsEnabledRequest
342-
include Google::Apis::Core::Hashable
343-
344-
def initialize(**args)
345-
update!(**args)
346-
end
347-
348-
# Update properties of this object
349-
def update!(**args)
350-
end
351-
end
352-
353-
# A response to indicate whether data transfer is enabled for the project.
354-
class IsEnabledResponse
355-
include Google::Apis::Core::Hashable
356-
357-
# Indicates whether the project is enabled.
358-
# Corresponds to the JSON property `enabled`
359-
# @return [Boolean]
360-
attr_accessor :enabled
361-
alias_method :enabled?, :enabled
362-
363-
def initialize(**args)
364-
update!(**args)
365-
end
366-
367-
# Update properties of this object
368-
def update!(**args)
369-
@enabled = args[:enabled] if args.key?(:enabled)
370-
end
371-
end
372-
373340
# Returns list of supported data sources and their metadata.
374341
class ListDataSourcesResponse
375342
include Google::Apis::Core::Hashable
@@ -383,7 +350,7 @@ class ListDataSourcesResponse
383350
# this token can be used as the
384351
# `ListDataSourcesRequest.page_token`
385352
# to request the next page of list results.
386-
# @OutputOnly
353+
# Output only.
387354
# Corresponds to the JSON property `nextPageToken`
388355
# @return [String]
389356
attr_accessor :next_page_token
@@ -559,62 +526,42 @@ class ScheduleTransferRunsRequest
559526
include Google::Apis::Core::Hashable
560527

561528
# End time of the range of transfer runs.
562-
# Corresponds to the JSON property `rangeEndTime`
529+
# Corresponds to the JSON property `endTime`
563530
# @return [String]
564-
attr_accessor :range_end_time
531+
attr_accessor :end_time
565532

566533
# Start time of the range of transfer runs.
567-
# Corresponds to the JSON property `rangeStartTime`
534+
# Corresponds to the JSON property `startTime`
568535
# @return [String]
569-
attr_accessor :range_start_time
536+
attr_accessor :start_time
570537

571538
def initialize(**args)
572539
update!(**args)
573540
end
574541

575542
# Update properties of this object
576543
def update!(**args)
577-
@range_end_time = args[:range_end_time] if args.key?(:range_end_time)
578-
@range_start_time = args[:range_start_time] if args.key?(:range_start_time)
544+
@end_time = args[:end_time] if args.key?(:end_time)
545+
@start_time = args[:start_time] if args.key?(:start_time)
579546
end
580547
end
581548

582549
# A response to schedule transfer runs for a time range.
583550
class ScheduleTransferRunsResponse
584551
include Google::Apis::Core::Hashable
585552

586-
# The transfer runs that were created.
587-
# Corresponds to the JSON property `createdRuns`
553+
# The transfer runs that were scheduled.
554+
# Corresponds to the JSON property `runs`
588555
# @return [Array<Google::Apis::BigquerydatatransferV1::TransferRun>]
589-
attr_accessor :created_runs
590-
591-
def initialize(**args)
592-
update!(**args)
593-
end
594-
595-
# Update properties of this object
596-
def update!(**args)
597-
@created_runs = args[:created_runs] if args.key?(:created_runs)
598-
end
599-
end
600-
601-
# A request to set whether data transfer is enabled or disabled for a project.
602-
class SetEnabledRequest
603-
include Google::Apis::Core::Hashable
604-
605-
# Whether data transfer should be enabled or disabled for the project.
606-
# Corresponds to the JSON property `enabled`
607-
# @return [Boolean]
608-
attr_accessor :enabled
609-
alias_method :enabled?, :enabled
556+
attr_accessor :runs
610557

611558
def initialize(**args)
612559
update!(**args)
613560
end
614561

615562
# Update properties of this object
616563
def update!(**args)
617-
@enabled = args[:enabled] if args.key?(:enabled)
564+
@runs = args[:runs] if args.key?(:runs)
618565
end
619566
end
620567

@@ -666,11 +613,12 @@ class TransferConfig
666613
# @return [String]
667614
attr_accessor :display_name
668615

669-
# The resource name of the transfer run.
670-
# Transfer run names have the form
616+
# The resource name of the transfer config.
617+
# Transfer config names have the form
671618
# `projects/`project_id`/transferConfigs/`config_id``.
672619
# Where `config_id` is usually a uuid, even though it is not
673-
# guaranteed or required. The name is ignored when creating a transfer run.
620+
# guaranteed or required. The name is ignored when creating a transfer
621+
# config.
674622
# Corresponds to the JSON property `name`
675623
# @return [String]
676624
attr_accessor :name
@@ -715,7 +663,7 @@ class TransferConfig
715663
# @return [String]
716664
attr_accessor :update_time
717665

718-
# GaiaID of the user on whose behalf transfer is done. Applicable only
666+
# Unique ID of the user on whose behalf transfer is done. Applicable only
719667
# to data sources that do not support service accounts. When set to 0,
720668
# the data source service account credentials are used.
721669
# Output only.
@@ -859,7 +807,9 @@ class TransferRun
859807
# @return [String]
860808
attr_accessor :update_time
861809

862-
# The user id for this transfer run.
810+
# Unique ID of the user on whose behalf transfer is done. Applicable only
811+
# to data sources that do not support service accounts. When set to 0,
812+
# the data source service account credentials are used.
863813
# Output only.
864814
# Corresponds to the JSON property `userId`
865815
# @return [Fixnum]

generated/google/apis/bigquerydatatransfer_v1/representations.rb

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
5252
include Google::Apis::Core::JsonObjectSupport
5353
end
5454

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-
6755
class ListDataSourcesResponse
6856
class Representation < Google::Apis::Core::JsonRepresentation; end
6957

@@ -112,12 +100,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
112100
include Google::Apis::Core::JsonObjectSupport
113101
end
114102

115-
class SetEnabledRequest
116-
class Representation < Google::Apis::Core::JsonRepresentation; end
117-
118-
include Google::Apis::Core::JsonObjectSupport
119-
end
120-
121103
class TransferConfig
122104
class Representation < Google::Apis::Core::JsonRepresentation; end
123105

@@ -202,19 +184,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
202184
end
203185
end
204186

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-
218187
class ListDataSourcesResponse
219188
# @private
220189
class Representation < Google::Apis::Core::JsonRepresentation
@@ -273,23 +242,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
273242
class ScheduleTransferRunsRequest
274243
# @private
275244
class Representation < Google::Apis::Core::JsonRepresentation
276-
property :range_end_time, as: 'rangeEndTime'
277-
property :range_start_time, as: 'rangeStartTime'
245+
property :end_time, as: 'endTime'
246+
property :start_time, as: 'startTime'
278247
end
279248
end
280249

281250
class ScheduleTransferRunsResponse
282251
# @private
283252
class Representation < Google::Apis::Core::JsonRepresentation
284-
collection :created_runs, as: 'createdRuns', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation
285-
286-
end
287-
end
253+
collection :runs, as: 'runs', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation
288254

289-
class SetEnabledRequest
290-
# @private
291-
class Representation < Google::Apis::Core::JsonRepresentation
292-
property :enabled, as: 'enabled'
293255
end
294256
end
295257

0 commit comments

Comments
 (0)