Skip to content

Commit

Permalink
Autogenerated update (2017-09-14)
Browse files Browse the repository at this point in the history
Add:
- cloudtasks_v2beta2

Delete:
- testing_v1

Update:
- androiddeviceprovisioning_v1
- androidpublisher_v2
- bigquerydatatransfer_v1
- compute_alpha
- compute_beta
- compute_v1
- dlp_v2beta1
- youtube_v3
  • Loading branch information
googleapis-publisher committed Sep 14, 2017
1 parent 5ad1e06 commit 5930fb1
Show file tree
Hide file tree
Showing 34 changed files with 16,348 additions and 3,843 deletions.
1,019 changes: 1,019 additions & 0 deletions api_names_out.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions generated/google/apis/androiddeviceprovisioning_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ module Google
module Apis
# Android Device Provisioning Partner API
#
# Automates reseller integration into Zero Touch Provisioning by assigning
# devices to customers and creating device reports.
# Automates reseller integration into zero-touch enrollment by assigning devices
# to customers and creating device reports.
#
# @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1
VERSION = 'V1'
REVISION = '20170903'
REVISION = '20170909'
end
end
end
6 changes: 3 additions & 3 deletions generated/google/apis/androiddeviceprovisioning_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ module Apis
module AndroiddeviceprovisioningV1
# Android Device Provisioning Partner API
#
# Automates reseller integration into Zero Touch Provisioning by assigning
# devices to customers and creating device reports.
# Automates reseller integration into zero-touch enrollment by assigning devices
# to customers and creating device reports.
#
# @example
# require 'google/apis/androiddeviceprovisioning_v1'
Expand Down Expand Up @@ -80,7 +80,7 @@ def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
execute_or_queue_command(command, &block)
end

# A customer for Zero Touch Provisioning will be created.
# A customer for zero-touch enrollment will be created.
# After a Customer is created, their admins and owners will be able to manage
# devices on partner.android.com/zerotouch or via their API.
# @param [String] parent
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidpublisher_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20170815'
REVISION = '20170913'

# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
Expand Down
1 change: 1 addition & 0 deletions generated/google/apis/androidpublisher_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1544,6 +1544,7 @@ class SubscriptionPurchase
# - User cancelled the subscription
# - Subscription was cancelled by the system, for example because of a billing
# problem
# - Subscription was replaced with a new subscription
# Corresponds to the JSON property `cancelReason`
# @return [Fixnum]
attr_accessor :cancel_reason
Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/bigquerydatatransfer_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@

module Google
module Apis
# BigQuery Data Transfer Service API
# BigQuery Data Transfer API
#
# Transfers data from partner SaaS applications to Google BigQuery on a
# scheduled, managed basis.
#
# @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1
VERSION = 'V1'
REVISION = '20170904'
REVISION = '20170912'

# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
Expand Down
88 changes: 19 additions & 69 deletions generated/google/apis/bigquerydatatransfer_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,39 +337,6 @@ def update!(**args)
end
end

# A request to determine whether data transfer is enabled for the project.
class IsEnabledRequest
include Google::Apis::Core::Hashable

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
end
end

# A response to indicate whether data transfer is enabled for the project.
class IsEnabledResponse
include Google::Apis::Core::Hashable

# Indicates whether the project is enabled.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end

# Returns list of supported data sources and their metadata.
class ListDataSourcesResponse
include Google::Apis::Core::Hashable
Expand All @@ -383,7 +350,7 @@ class ListDataSourcesResponse
# this token can be used as the
# `ListDataSourcesRequest.page_token`
# to request the next page of list results.
# @OutputOnly
# Output only.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand Down Expand Up @@ -559,62 +526,42 @@ class ScheduleTransferRunsRequest
include Google::Apis::Core::Hashable

# End time of the range of transfer runs.
# Corresponds to the JSON property `rangeEndTime`
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :range_end_time
attr_accessor :end_time

# Start time of the range of transfer runs.
# Corresponds to the JSON property `rangeStartTime`
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :range_start_time
attr_accessor :start_time

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@range_end_time = args[:range_end_time] if args.key?(:range_end_time)
@range_start_time = args[:range_start_time] if args.key?(:range_start_time)
@end_time = args[:end_time] if args.key?(:end_time)
@start_time = args[:start_time] if args.key?(:start_time)
end
end

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

# The transfer runs that were created.
# Corresponds to the JSON property `createdRuns`
# The transfer runs that were scheduled.
# Corresponds to the JSON property `runs`
# @return [Array<Google::Apis::BigquerydatatransferV1::TransferRun>]
attr_accessor :created_runs

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@created_runs = args[:created_runs] if args.key?(:created_runs)
end
end

# A request to set whether data transfer is enabled or disabled for a project.
class SetEnabledRequest
include Google::Apis::Core::Hashable

# Whether data transfer should be enabled or disabled for the project.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
attr_accessor :runs

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
@runs = args[:runs] if args.key?(:runs)
end
end

Expand Down Expand Up @@ -666,11 +613,12 @@ class TransferConfig
# @return [String]
attr_accessor :display_name

# The resource name of the transfer run.
# Transfer run names have the form
# The resource name of the transfer config.
# Transfer config names have the form
# `projects/`project_id`/transferConfigs/`config_id``.
# Where `config_id` is usually a uuid, even though it is not
# guaranteed or required. The name is ignored when creating a transfer run.
# guaranteed or required. The name is ignored when creating a transfer
# config.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
Expand Down Expand Up @@ -715,7 +663,7 @@ class TransferConfig
# @return [String]
attr_accessor :update_time

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

# The user id for this transfer run.
# Unique ID of the user on whose behalf transfer is done. Applicable only
# to data sources that do not support service accounts. When set to 0,
# the data source service account credentials are used.
# Output only.
# Corresponds to the JSON property `userId`
# @return [Fixnum]
Expand Down
44 changes: 3 additions & 41 deletions generated/google/apis/bigquerydatatransfer_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class IsEnabledRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class IsEnabledResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ListDataSourcesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -112,12 +100,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class SetEnabledRequest
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class TransferConfig
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -202,19 +184,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class IsEnabledRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end

class IsEnabledResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end

class ListDataSourcesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -273,23 +242,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ScheduleTransferRunsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :range_end_time, as: 'rangeEndTime'
property :range_start_time, as: 'rangeStartTime'
property :end_time, as: 'endTime'
property :start_time, as: 'startTime'
end
end

class ScheduleTransferRunsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :created_runs, as: 'createdRuns', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation

end
end
collection :runs, as: 'runs', class: Google::Apis::BigquerydatatransferV1::TransferRun, decorator: Google::Apis::BigquerydatatransferV1::TransferRun::Representation

class SetEnabledRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end

Expand Down
Loading

0 comments on commit 5930fb1

Please sign in to comment.