Skip to content

Commit

Permalink
feat: Automated regeneration of androidenterprise v1 client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 10, 2020
1 parent 0ba45b6 commit 70c28ba
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions api_names_out.yaml
Expand Up @@ -7891,6 +7891,7 @@
"/androidenterprise:v1/ProductPermissions/productId": product_id
"/androidenterprise:v1/ProductPolicy": product_policy
"/androidenterprise:v1/ProductPolicy/autoInstallPolicy": auto_install_policy
"/androidenterprise:v1/ProductPolicy/autoUpdateMode": auto_update_mode
"/androidenterprise:v1/ProductPolicy/managedConfiguration": managed_configuration
"/androidenterprise:v1/ProductPolicy/productId": product_id
"/androidenterprise:v1/ProductPolicy/trackIds": track_ids
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1.rb
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20200915'
REVISION = '20201104'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
6 changes: 6 additions & 0 deletions generated/google/apis/androidenterprise_v1/classes.rb
Expand Up @@ -2121,6 +2121,11 @@ class ProductPolicy
# @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
attr_accessor :auto_install_policy

# The auto-update mode for the product.
# Corresponds to the JSON property `autoUpdateMode`
# @return [String]
attr_accessor :auto_update_mode

# A managed configuration resource contains the set of managed properties
# defined by the app developer in the app's managed configurations schema, as
# well as any configuration variables defined for the user.
Expand Down Expand Up @@ -2152,6 +2157,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)
@auto_update_mode = args[:auto_update_mode] if args.key?(:auto_update_mode)
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@product_id = args[:product_id] if args.key?(:product_id)
@track_ids = args[:track_ids] if args.key?(:track_ids)
Expand Down
Expand Up @@ -1104,6 +1104,7 @@ class ProductPolicy
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_install_policy, as: 'autoInstallPolicy', class: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy, decorator: Google::Apis::AndroidenterpriseV1::AutoInstallPolicy::Representation

property :auto_update_mode, as: 'autoUpdateMode'
property :managed_configuration, as: 'managedConfiguration', class: Google::Apis::AndroidenterpriseV1::ManagedConfiguration, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation

property :product_id, as: 'productId'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1/synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/google-api-ruby-client.git",
"sha": "c98c719bbab68d0890524d53f8b629d7858af9c2"
"sha": "0ba45b6d22f2eced00e873b91fc685285919d4ff"
}
}
]
Expand Down

0 comments on commit 70c28ba

Please sign in to comment.