Skip to content

Commit

Permalink
Autogenerated update (2017-10-04)
Browse files Browse the repository at this point in the history
Update:
- androidenterprise_v1
- bigquerydatatransfer_v1
- identitytoolkit_v3
- ml_v1
- proximitybeacon_v1beta1
  • Loading branch information
googleapis-publisher committed Oct 4, 2017
1 parent 6f6fec6 commit e0d837f
Show file tree
Hide file tree
Showing 19 changed files with 4,518 additions and 55 deletions.
336 changes: 336 additions & 0 deletions api_names_out.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1.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/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20170911'
REVISION = '20170929'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
63 changes: 63 additions & 0 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,12 @@ def update!(**args)
class AppVersion
include Google::Apis::Core::Hashable

# The track that this app was published in. For example if track is "alpha",
# this is an alpha version of the app.
# Corresponds to the JSON property `track`
# @return [String]
attr_accessor :track

# Unique increasing identifier for the app version.
# Corresponds to the JSON property `versionCode`
# @return [Fixnum]
Expand All @@ -341,6 +347,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@track = args[:track] if args.key?(:track)
@version_code = args[:version_code] if args.key?(:version_code)
@version_string = args[:version_string] if args.key?(:version_string)
end
Expand Down Expand Up @@ -1471,6 +1478,11 @@ class Product
# @return [String]
attr_accessor :author_name

# The tracks that are visible to the enterprise.
# Corresponds to the JSON property `availableTracks`
# @return [Array<String>]
attr_accessor :available_tracks

# A link to the (consumer) Google Play details page for the product.
# Corresponds to the JSON property `detailsUrl`
# @return [String]
Expand Down Expand Up @@ -1547,6 +1559,7 @@ def initialize(**args)
def update!(**args)
@app_version = args[:app_version] if args.key?(:app_version)
@author_name = args[:author_name] if args.key?(:author_name)
@available_tracks = args[:available_tracks] if args.key?(:available_tracks)
@details_url = args[:details_url] if args.key?(:details_url)
@distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
@icon_url = args[:icon_url] if args.key?(:icon_url)
Expand Down Expand Up @@ -1706,6 +1719,16 @@ class ProductSet
# @return [String]
attr_accessor :product_set_behavior

# Other products that are part of the set, in addition to those specified in the
# productId array. The only difference between this field and the productId
# array is that it's possible to specify additional information about this
# product visibility, see ProductVisibility and its fields for more information.
# Specifying the same product ID both here and in the productId array is not
# allowed and it will result in an error.
# Corresponds to the JSON property `productVisibility`
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductVisibility>]
attr_accessor :product_visibility

def initialize(**args)
update!(**args)
end
Expand All @@ -1715,6 +1738,7 @@ def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@product_id = args[:product_id] if args.key?(:product_id)
@product_set_behavior = args[:product_set_behavior] if args.key?(:product_set_behavior)
@product_visibility = args[:product_visibility] if args.key?(:product_visibility)
end
end

Expand Down Expand Up @@ -1745,6 +1769,45 @@ def update!(**args)
end
end

# A product to be made visible to a user.
class ProductVisibility
include Google::Apis::Core::Hashable

# The product ID that should be made visible to the user. This is required.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id

# This allows to only grant visibility to the specified tracks of the app. For
# example, if an app has a prod version, a beta version and an alpha version and
# the enterprise has been granted visibility to both the alpha and beta tracks,
# if tracks is `"beta", "production"` the user will be able to install the app
# and they will get the beta version of the app. If there are no app versions in
# the specified track or if the enterprise wasn't granted visibility for the
# track, adding the "alpha" and "beta" values to the list of tracks will have no
# effect for now; however they will take effect once both conditions are met.
# Note that the enterprise itself needs to be granted access to the alpha and/or
# beta tracks, regardless of whether individual users or admins have access to
# those tracks.
# The allowed sets are: `` (considered equivalent to `"production"`) `"
# production"` `"beta", "production"` `"alpha", "beta", "production"` The order
# of elements is not relevant. Any other set of tracks will be rejected with an
# error.
# Corresponds to the JSON property `tracks`
# @return [Array<String>]
attr_accessor :tracks

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

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

#
class ApproveProductRequest
include Google::Apis::Core::Hashable
Expand Down
18 changes: 18 additions & 0 deletions generated/google/apis/androidenterprise_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

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

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

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

Expand Down Expand Up @@ -479,6 +485,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class AppVersion
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :track, as: 'track'
property :version_code, as: 'versionCode'
property :version_string, as: 'versionString'
end
Expand Down Expand Up @@ -777,6 +784,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :app_version, as: 'appVersion', class: Google::Apis::AndroidenterpriseV1::AppVersion, decorator: Google::Apis::AndroidenterpriseV1::AppVersion::Representation

property :author_name, as: 'authorName'
collection :available_tracks, as: 'availableTracks'
property :details_url, as: 'detailsUrl'
property :distribution_channel, as: 'distributionChannel'
property :icon_url, as: 'iconUrl'
Expand Down Expand Up @@ -832,6 +840,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
collection :product_id, as: 'productId'
property :product_set_behavior, as: 'productSetBehavior'
collection :product_visibility, as: 'productVisibility', class: Google::Apis::AndroidenterpriseV1::ProductVisibility, decorator: Google::Apis::AndroidenterpriseV1::ProductVisibility::Representation

end
end

Expand All @@ -843,6 +853,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class ProductVisibility
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :product_id, as: 'productId'
collection :tracks, as: 'tracks'
end
end

class ApproveProductRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/bigquerydatatransfer_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1
VERSION = 'V1'
REVISION = '20170925'
REVISION = '20171002'

# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
Expand Down
78 changes: 28 additions & 50 deletions generated/google/apis/bigquerydatatransfer_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,10 @@ class ListDataSourcesResponse
# @return [Array<Google::Apis::BigquerydatatransferV1::DataSource>]
attr_accessor :data_sources

# The next-pagination token. For multiple-page list results,
# Output only. The next-pagination token. For multiple-page list results,
# this token can be used as the
# `ListDataSourcesRequest.page_token`
# to request the next page of list results.
# Output only.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
Expand Down Expand Up @@ -395,17 +394,15 @@ def update!(**args)
class ListTransferConfigsResponse
include Google::Apis::Core::Hashable

# The next-pagination token. For multiple-page list results,
# Output only. The next-pagination token. For multiple-page list results,
# this token can be used as the
# `ListTransferConfigsRequest.page_token`
# to request the next page of list results.
# Output only.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token

# The stored pipeline transfer configurations.
# Output only.
# Output only. The stored pipeline transfer configurations.
# Corresponds to the JSON property `transferConfigs`
# @return [Array<Google::Apis::BigquerydatatransferV1::TransferConfig>]
attr_accessor :transfer_configs
Expand All @@ -425,17 +422,15 @@ def update!(**args)
class ListTransferLogsResponse
include Google::Apis::Core::Hashable

# The next-pagination token. For multiple-page list results,
# Output only. The next-pagination token. For multiple-page list results,
# this token can be used as the
# `GetTransferRunLogRequest.page_token`
# to request the next page of list results.
# Output only.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token

# The stored pipeline transfer messages.
# Output only.
# Output only. The stored pipeline transfer messages.
# Corresponds to the JSON property `transferMessages`
# @return [Array<Google::Apis::BigquerydatatransferV1::TransferMessage>]
attr_accessor :transfer_messages
Expand All @@ -455,17 +450,15 @@ def update!(**args)
class ListTransferRunsResponse
include Google::Apis::Core::Hashable

# The next-pagination token. For multiple-page list results,
# Output only. The next-pagination token. For multiple-page list results,
# this token can be used as the
# `ListTransferRunsRequest.page_token`
# to request the next page of list results.
# Output only.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token

# The stored pipeline transfer runs.
# Output only.
# Output only. The stored pipeline transfer runs.
# Corresponds to the JSON property `transferRuns`
# @return [Array<Google::Apis::BigquerydatatransferV1::TransferRun>]
attr_accessor :transfer_runs
Expand Down Expand Up @@ -591,9 +584,7 @@ class TransferConfig
# @return [String]
attr_accessor :data_source_id

# Region in which BigQuery dataset is located. Currently possible values are:
# "US" and "EU".
# Output only.
# Output only. Region in which BigQuery dataset is located.
# Corresponds to the JSON property `datasetRegion`
# @return [String]
attr_accessor :dataset_region
Expand Down Expand Up @@ -625,8 +616,7 @@ class TransferConfig
# @return [String]
attr_accessor :name

# Next time when data transfer will run.
# Output only.
# Output only. Next time when data transfer will run.
# Corresponds to the JSON property `nextRunTime`
# @return [String]
attr_accessor :next_run_time
Expand All @@ -653,22 +643,19 @@ class TransferConfig
# @return [String]
attr_accessor :schedule

# State of the most recently updated transfer run.
# Output only.
# Output only. State of the most recently updated transfer run.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state

# Data transfer modification time. Ignored by server on input.
# Output only.
# Output only. Data transfer modification time. Ignored by server on input.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time

# 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.
# Output 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.
# Corresponds to the JSON property `userId`
# @return [Fixnum]
attr_accessor :user_id
Expand Down Expand Up @@ -730,15 +717,12 @@ def update!(**args)
class TransferRun
include Google::Apis::Core::Hashable

# Data source id.
# Output only.
# Output only. Data source id.
# Corresponds to the JSON property `dataSourceId`
# @return [String]
attr_accessor :data_source_id

# Region in which BigQuery dataset is located. Currently possible values are:
# "US" and "EU".
# Output only.
# Output only. Region in which BigQuery dataset is located.
# Corresponds to the JSON property `datasetRegion`
# @return [String]
attr_accessor :dataset_region
Expand All @@ -748,9 +732,8 @@ class TransferRun
# @return [String]
attr_accessor :destination_dataset_id

# Time when transfer run ended. Parameter ignored by server for input
# requests.
# Output only.
# Output only. Time when transfer run ended.
# Parameter ignored by server for input requests.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
Expand All @@ -775,12 +758,11 @@ class TransferRun
# @return [String]
attr_accessor :run_time

# Describes the schedule of this transfer run if it was created as part of
# a regular schedule. For batch transfer runs that are directly created,
# this is empty.
# Output only. Describes the schedule of this transfer run if it was
# created as part of a regular schedule. For batch transfer runs that are
# scheduled manually, this is empty.
# NOTE: the system might choose to delay the schedule depending on the
# current load, so `schedule_time` doesn't always matches this.
# Output only.
# Corresponds to the JSON property `schedule`
# @return [String]
attr_accessor :schedule
Expand All @@ -790,29 +772,25 @@ class TransferRun
# @return [String]
attr_accessor :schedule_time

# Time when transfer run was started. Parameter ignored by server for input
# requests.
# Output only.
# Output only. Time when transfer run was started.
# Parameter ignored by server for input requests.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time

# Data transfer run state. Ignored for input requests.
# Output only.
# Output only. Data transfer run state. Ignored for input requests.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state

# Last time the data transfer run state was updated.
# Output only.
# Output only. Last time the data transfer run state was updated.
# Corresponds to the JSON property `updateTime`
# @return [String]
attr_accessor :update_time

# 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.
# Output 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.
# Corresponds to the JSON property `userId`
# @return [Fixnum]
attr_accessor :user_id
Expand Down
Loading

0 comments on commit e0d837f

Please sign in to comment.