Autogenerated update (2018-07-10)

Update:
- adexchangebuyer_v1_2
- adexchangebuyer_v1_3
- adexchangebuyer_v1_4
- adexchangeseller_v1
- adexchangeseller_v1_1
- adexchangeseller_v2_0
- admin_datatransfer_v1
- admin_directory_v1
- admin_reports_v1
- adsense_v1_4
- adsensehost_v4_1
- analytics_v2_4
- analytics_v3
- androidenterprise_v1
- androidmanagement_v1
- androidpublisher_v1
- androidpublisher_v1_1
- androidpublisher_v2
- androidpublisher_v3
- appsactivity_v1
- appstate_v1
- bigquery_v2
- blogger_v2
- blogger_v3
- books_v1
- calendar_v3
- civicinfo_v2
- cloudiot_v1
- compute_alpha
- compute_beta
- compute_v1
- content_v2sandbox
- customsearch_v1
- deploymentmanager_alpha
- deploymentmanager_v2
- deploymentmanager_v2beta
- dfareporting_v2_8
- dfareporting_v3_0
- dfareporting_v3_1
- dns_v1
- dns_v1beta2
- dns_v2beta1
- doubleclickbidmanager_v1
- doubleclicksearch_v2
- drive_v2
- drive_v3
- fitness_v1
- fusiontables_v1
- fusiontables_v2
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- gmail_v1
- groupsmigration_v1
- groupssettings_v1
- identitytoolkit_v3
- licensing_v1
- mirror_v1
- oauth2_v1
- oauth2_v2
- pagespeedonline_v1
- pagespeedonline_v2
- pagespeedonline_v4
- playcustomapp_v1
- plus_domains_v1
- plus_v1
- replicapool_v1beta1
- replicapoolupdater_v1beta1
- reseller_v1
- script_v1
- site_verification_v1
- slides_v1
- spectrum_v1explorer
- sqladmin_v1beta4
- storage_v1
- storage_v1beta1
- storage_v1beta2
- surveys_v2
- tagmanager_v1
- tagmanager_v2
- tasks_v1
- toolresults_v1beta3
- urlshortener_v1
- webfonts_v1
- webmasters_v3
- youtube_analytics_v1
- youtube_analytics_v1beta1
- youtube_v3
This commit is contained in:
Google APIs committed 2018-07-10 00:36:20 +00:00
1 parent ce7e85ad7c
commit ef45bf2443
123 files changed
+3457 -749

No files matched your search

@@ -465,6 +465,12 @@ module Google
# @return [Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition]
attr_accessor :non_compliance_detail_condition
# If set, the rule includes a mitigating action to disable apps specified in the
# list, but app data is preserved.
# Corresponds to the JSON property `packageNamesToDisable`
# @return [Array<String>]
attr_accessor :package_names_to_disable
def initialize(**args)
update!(**args)
end
@@ -474,6 +480,7 @@ module Google
@api_level_condition = args[:api_level_condition] if args.key?(:api_level_condition)
@disable_apps = args[:disable_apps] if args.key?(:disable_apps)
@non_compliance_detail_condition = args[:non_compliance_detail_condition] if args.key?(:non_compliance_detail_condition)
@package_names_to_disable = args[:package_names_to_disable] if args.key?(:package_names_to_disable)
end
end
@@ -573,6 +580,12 @@ module Google
# @return [String]
attr_accessor :last_status_report_time
# The type of management mode Android Device Policy takes on the device. This
# influences which policy settings are supported.
# Corresponds to the JSON property `managementMode`
# @return [String]
attr_accessor :management_mode
# Events related to memory and storage measurements in chronological order. This
# information is only available if memoryInfoEnabled is true in the device's
# policy.
@@ -673,6 +686,7 @@ module Google
@last_policy_compliance_report_time = args[:last_policy_compliance_report_time] if args.key?(:last_policy_compliance_report_time)
@last_policy_sync_time = args[:last_policy_sync_time] if args.key?(:last_policy_sync_time)
@last_status_report_time = args[:last_status_report_time] if args.key?(:last_status_report_time)
@management_mode = args[:management_mode] if args.key?(:management_mode)
@memory_events = args[:memory_events] if args.key?(:memory_events)
@memory_info = args[:memory_info] if args.key?(:memory_info)
@name = args[:name] if args.key?(:name)
@@ -857,6 +871,13 @@ module Google
# @return [String]
attr_accessor :name
# Whether the enrollment token is for one time use only. If the flag is set to
# true, only one device can use it for registration.
# Corresponds to the JSON property `oneTimeOnly`
# @return [Boolean]
attr_accessor :one_time_only
alias_method :one_time_only?, :one_time_only
# The name of the policy initially applied to the enrolled device, in the form
# enterprises/`enterpriseId`/policies/`policyId`. If not specified, the
# policy_name for the device’s user is applied. If user_name is also not
@@ -892,6 +913,7 @@ module Google
@duration = args[:duration] if args.key?(:duration)
@expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp)
@name = args[:name] if args.key?(:name)
@one_time_only = args[:one_time_only] if args.key?(:one_time_only)
@policy_name = args[:policy_name] if args.key?(:policy_name)
@qr_code = args[:qr_code] if args.key?(:qr_code)
@value = args[:value] if args.key?(:value)
@@ -2067,6 +2089,12 @@ module Google
# @return [Google::Apis::AndroidmanagementV1::PasswordRequirements]
attr_accessor :password_requirements
# Explicit permission or group grants or denials for all apps. These values
# override the default_permission_policy.
# Corresponds to the JSON property `permissionGrants`
# @return [Array<Google::Apis::AndroidmanagementV1::PermissionGrant>]
attr_accessor :permission_grants
# A list of package names.
# Corresponds to the JSON property `permittedInputMethods`
# @return [Google::Apis::AndroidmanagementV1::PackageNameList]
@@ -2277,6 +2305,7 @@ module Google
@outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled)
@outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled)
@password_requirements = args[:password_requirements] if args.key?(:password_requirements)
@permission_grants = args[:permission_grants] if args.key?(:permission_grants)
@permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
@persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
@@ -2451,6 +2480,11 @@ module Google
# @return [String]
attr_accessor :device_kernel_version
# An IETF BCP 47 language code for the primary locale on the device.
# Corresponds to the JSON property `primaryLanguageCode`
# @return [String]
attr_accessor :primary_language_code
# Security patch level, e.g. 2016-05-01.
# Corresponds to the JSON property `securityPatchLevel`
# @return [String]
@@ -2470,6 +2504,7 @@ module Google
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
@device_build_signature = args[:device_build_signature] if args.key?(:device_build_signature)
@device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version)
@primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
@security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level)
end
end
@@ -399,6 +399,7 @@ module Google
property :disable_apps, as: 'disableApps'
property :non_compliance_detail_condition, as: 'nonComplianceDetailCondition', class: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition::Representation
collection :package_names_to_disable, as: 'packageNamesToDisable'
end
end
@@ -427,6 +428,7 @@ module Google
property :last_policy_compliance_report_time, as: 'lastPolicyComplianceReportTime'
property :last_policy_sync_time, as: 'lastPolicySyncTime'
property :last_status_report_time, as: 'lastStatusReportTime'
property :management_mode, as: 'managementMode'
collection :memory_events, as: 'memoryEvents', class: Google::Apis::AndroidmanagementV1::MemoryEvent, decorator: Google::Apis::AndroidmanagementV1::MemoryEvent::Representation
property :memory_info, as: 'memoryInfo', class: Google::Apis::AndroidmanagementV1::MemoryInfo, decorator: Google::Apis::AndroidmanagementV1::MemoryInfo::Representation
@@ -487,6 +489,7 @@ module Google
property :duration, as: 'duration'
property :expiration_timestamp, as: 'expirationTimestamp'
property :name, as: 'name'
property :one_time_only, as: 'oneTimeOnly'
property :policy_name, as: 'policyName'
property :qr_code, as: 'qrCode'
property :value, as: 'value'
@@ -756,6 +759,8 @@ module Google
property :outgoing_calls_disabled, as: 'outgoingCallsDisabled'
property :password_requirements, as: 'passwordRequirements', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation
collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
property :permitted_input_methods, as: 'permittedInputMethods', class: Google::Apis::AndroidmanagementV1::PackageNameList, decorator: Google::Apis::AndroidmanagementV1::PackageNameList::Representation
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
@@ -829,6 +834,7 @@ module Google
property :bootloader_version, as: 'bootloaderVersion'
property :device_build_signature, as: 'deviceBuildSignature'
property :device_kernel_version, as: 'deviceKernelVersion'
property :primary_language_code, as: 'primaryLanguageCode'
property :security_patch_level, as: 'securityPatchLevel'
end
end
@@ -194,6 +194,8 @@ module Google
# @param [String] name
# The name of the device in the form enterprises/`enterpriseId`/devices/`
# deviceId`.
# @param [Array<String>, String] wipe_data_flags
# Optional flags that control the device wiping behavior.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@@ -211,11 +213,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def delete_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
def delete_enterprise_device(name, wipe_data_flags: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
command.response_class = Google::Apis::AndroidmanagementV1::Empty
command.params['name'] = name unless name.nil?
command.query['wipeDataFlags'] = wipe_data_flags unless wipe_data_flags.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)