Skip to content

Commit

Permalink
Autogenerated update (2018-12-13)
Browse files Browse the repository at this point in the history
Delete:
- replicapoolupdater_v1beta1

Update:
- androidenterprise_v1
- bigquerydatatransfer_v1
- dialogflow_v2
- dialogflow_v2beta1
- runtimeconfig_v1beta1
- testing_v1
  • Loading branch information
googleapis-publisher committed Dec 13, 2018
1 parent 6ea1630 commit 71debeb
Show file tree
Hide file tree
Showing 20 changed files with 288 additions and 1,808 deletions.
11 changes: 11 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6214,6 +6214,16 @@
"/androidenterprise:v1/AuthenticationToken": authentication_token
"/androidenterprise:v1/AuthenticationToken/kind": kind
"/androidenterprise:v1/AuthenticationToken/token": token
"/androidenterprise:v1/AutoInstallConstraint": auto_install_constraint
"/androidenterprise:v1/AutoInstallConstraint/chargingStateConstraint": charging_state_constraint
"/androidenterprise:v1/AutoInstallConstraint/deviceIdleStateConstraint": device_idle_state_constraint
"/androidenterprise:v1/AutoInstallConstraint/networkTypeConstraint": network_type_constraint
"/androidenterprise:v1/AutoInstallPolicy": auto_install_policy
"/androidenterprise:v1/AutoInstallPolicy/autoInstallConstraint": auto_install_constraint
"/androidenterprise:v1/AutoInstallPolicy/autoInstallConstraint/auto_install_constraint": auto_install_constraint
"/androidenterprise:v1/AutoInstallPolicy/autoInstallMode": auto_install_mode
"/androidenterprise:v1/AutoInstallPolicy/autoInstallPriority": auto_install_priority
"/androidenterprise:v1/AutoInstallPolicy/minimumVersionCode": minimum_version_code
"/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response
"/androidenterprise:v1/CollectionsListResponse": list_collections_response
"/androidenterprise:v1/ConfigurationVariables": configuration_variables
Expand Down Expand Up @@ -6421,6 +6431,7 @@
"/androidenterprise:v1/ProductPermissions/permission/permission": permission
"/androidenterprise:v1/ProductPermissions/productId": product_id
"/androidenterprise:v1/ProductPolicy": product_policy
"/androidenterprise:v1/ProductPolicy/autoInstallPolicy": auto_install_policy
"/androidenterprise:v1/ProductPolicy/productId": product_id
"/androidenterprise:v1/ProductPolicy/trackIds": track_ids
"/androidenterprise:v1/ProductPolicy/trackIds/track_id": track_id
Expand Down
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 = '20181120'
REVISION = '20181205'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
78 changes: 78 additions & 0 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,78 @@ def update!(**args)
end
end

# The Auto install constraint. Defines a set of restrictions for installation.
# At least one of the fields must be set.
class AutoInstallConstraint
include Google::Apis::Core::Hashable

# Charging state to constrain on.
# Corresponds to the JSON property `chargingStateConstraint`
# @return [String]
attr_accessor :charging_state_constraint

# The idle state of the device to constrain on.
# Corresponds to the JSON property `deviceIdleStateConstraint`
# @return [String]
attr_accessor :device_idle_state_constraint

# Network type to constrain on.
# Corresponds to the JSON property `networkTypeConstraint`
# @return [String]
attr_accessor :network_type_constraint

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

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

#
class AutoInstallPolicy
include Google::Apis::Core::Hashable

# The constraints for the install. Currently there can be at most one constraint.
# Corresponds to the JSON property `autoInstallConstraint`
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
attr_accessor :auto_install_constraint

# The auto install mode. If unset defaults to AVAILABLE.
# Corresponds to the JSON property `autoInstallMode`
# @return [String]
attr_accessor :auto_install_mode

# The priority of the install, as an unsigned integer. Lower number means higher
# priority.
# Corresponds to the JSON property `autoInstallPriority`
# @return [Fixnum]
attr_accessor :auto_install_priority

# The minimum version of the app. If a lower version of the app is installed
# then the app will be auto-updated according to the auto-install constraints,
# instead of waiting for the regular auto-update.
# Corresponds to the JSON property `minimumVersionCode`
# @return [Fixnum]
attr_accessor :minimum_version_code

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

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

# A configuration variables resource contains the managed configuration settings
# ID to be applied to a single user, as well as the variable set that is
# attributed to the user. The variable set will be used to replace placeholders
Expand Down Expand Up @@ -2078,6 +2150,11 @@ def update!(**args)
class ProductPolicy
include Google::Apis::Core::Hashable

# The auto install policy for the product.
# Corresponds to the JSON property `autoInstallPolicy`
# @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
attr_accessor :auto_install_policy

# The ID of the product. For example, "app:com.google.android.gm".
# Corresponds to the JSON property `productId`
# @return [String]
Expand All @@ -2101,6 +2178,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@auto_install_policy = args[:auto_install_policy] if args.key?(:auto_install_policy)
@product_id = args[:product_id] if args.key?(:product_id)
@track_ids = args[:track_ids] if args.key?(:track_ids)
@tracks = args[:tracks] if args.key?(:tracks)
Expand Down
34 changes: 34 additions & 0 deletions generated/google/apis/androidenterprise_v1/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

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

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

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

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

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

Expand Down Expand Up @@ -636,6 +648,26 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class AutoInstallConstraint
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :charging_state_constraint, as: 'chargingStateConstraint'
property :device_idle_state_constraint, as: 'deviceIdleStateConstraint'
property :network_type_constraint, as: 'networkTypeConstraint'
end
end

class AutoInstallPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :auto_install_constraint, as: 'autoInstallConstraint', class: Google::Apis::AndroidenterpriseV1::AutoInstallConstraint, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallConstraint::Representation

property :auto_install_mode, as: 'autoInstallMode'
property :auto_install_priority, as: 'autoInstallPriority'
property :minimum_version_code, as: 'minimumVersionCode'
end
end

class ConfigurationVariables
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -1034,6 +1066,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ProductPolicy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_install_policy, as: 'autoInstallPolicy', class: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy::Representation

property :product_id, as: 'productId'
collection :track_ids, as: 'trackIds'
collection :tracks, as: 'tracks'
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 = '20181027'
REVISION = '20181211'

# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
Expand Down
14 changes: 3 additions & 11 deletions generated/google/apis/bigquerydatatransfer_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ class TransferConfig

# The resource name of the transfer config.
# Transfer config names have the form of
# `projects/`project_id`/location/`region`/transferConfigs/`config_id``.
# `projects/`project_id`/locations/`region`/transferConfigs/`config_id``.
# The name is automatically generated based on the config_id specified in
# CreateTransferConfigRequest along with project_id and region. If config_id
# is not provided, usually a uuid, even though it is not guaranteed or
Expand Down Expand Up @@ -727,11 +727,7 @@ class TransferConfig
# @return [String]
attr_accessor :update_time

# 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.
# May be negative. Note, that this identifier is not stable.
# It may change over time even for the same user.
# Deprecated. Unique ID of the user on whose behalf transfer is done.
# Corresponds to the JSON property `userId`
# @return [Fixnum]
attr_accessor :user_id
Expand Down Expand Up @@ -902,11 +898,7 @@ class TransferRun
# @return [String]
attr_accessor :update_time

# 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.
# May be negative. Note, that this identifier is not stable.
# It may change over time even for the same user.
# Deprecated. Unique ID of the user on whose behalf transfer is done.
# Corresponds to the JSON property `userId`
# @return [Fixnum]
attr_accessor :user_id
Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/bigquerydatatransfer_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def list_project_location_transfer_configs(parent, data_source_ids: nil, page_si
# @param [String] name
# The resource name of the transfer config.
# Transfer config names have the form of
# `projects/`project_id`/location/`region`/transferConfigs/`config_id``.
# `projects/`project_id`/locations/`region`/transferConfigs/`config_id``.
# The name is automatically generated based on the config_id specified in
# CreateTransferConfigRequest along with project_id and region. If config_id
# is not provided, usually a uuid, even though it is not guaranteed or
Expand Down Expand Up @@ -923,7 +923,7 @@ def list_project_transfer_configs(parent, data_source_ids: nil, page_size: nil,
# @param [String] name
# The resource name of the transfer config.
# Transfer config names have the form of
# `projects/`project_id`/location/`region`/transferConfigs/`config_id``.
# `projects/`project_id`/locations/`region`/transferConfigs/`config_id``.
# The name is automatically generated based on the config_id specified in
# CreateTransferConfigRequest along with project_id and region. If config_id
# is not provided, usually a uuid, even though it is not guaranteed or
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dialogflow_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2
VERSION = 'V2'
REVISION = '20181121'
REVISION = '20181207'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/dialogflow_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3840,11 +3840,11 @@ class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
attr_accessor :faq_question

# The system's confidence score that this Knowledge answer is a good match
# for this converstational query, range from 0.0 (completely uncertain)
# to 1.0 (completely certain).
# for this conversational query.
# The range is from 0.0 (completely uncertain) to 1.0 (completely certain).
# Note: The confidence score is likely to vary somewhat (possibly even for
# identical requests), as the underlying model is under constant
# improvement, we may deprecate it in the future. We recommend using
# improvement. It may be deprecated in the future. We recommend using
# `match_confidence_level` which should be generally more stable.
# Corresponds to the JSON property `matchConfidence`
# @return [Float]
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/dialogflow_v2beta1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20181121'
REVISION = '20181207'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/dialogflow_v2beta1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3602,11 +3602,11 @@ class GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
attr_accessor :faq_question

# The system's confidence score that this Knowledge answer is a good match
# for this converstational query, range from 0.0 (completely uncertain)
# to 1.0 (completely certain).
# for this conversational query.
# The range is from 0.0 (completely uncertain) to 1.0 (completely certain).
# Note: The confidence score is likely to vary somewhat (possibly even for
# identical requests), as the underlying model is under constant
# improvement, we may deprecate it in the future. We recommend using
# improvement. It may be deprecated in the future. We recommend using
# `match_confidence_level` which should be generally more stable.
# Corresponds to the JSON property `matchConfidence`
# @return [Float]
Expand Down
45 changes: 0 additions & 45 deletions generated/google/apis/replicapoolupdater_v1beta1.rb

This file was deleted.

Loading

0 comments on commit 71debeb

Please sign in to comment.