Autogenerated update (2019-05-22)

Update:
- androidmanagement_v1
- safebrowsing_v4
- websecurityscanner_v1beta
This commit is contained in:
Google APIs 2019-05-22 00:37:38 +00:00
parent e9f8d996a7
commit 8c6f7bce71
6 changed files with 12 additions and 7 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20190506'
REVISION = '20190514'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -2110,7 +2110,7 @@ module Google
# Rules declaring which mitigating actions to take when a device is not
# compliant with its policy. When the conditions for multiple rules are
# satisfied, all of the mitigating actions for the rules are taken. There is a
# maximum limit of 100 rules.
# maximum limit of 100 rules. Use policy enforcement rules instead.
# Corresponds to the JSON property `complianceRules`
# @return [Array<Google::Apis::AndroidmanagementV1::ComplianceRule>]
attr_accessor :compliance_rules
@ -2590,8 +2590,7 @@ module Google
# @return [Google::Apis::AndroidmanagementV1::BlockAction]
attr_accessor :block_action
# The top-level policy to enforce. For example, applications or
# passwordRequirements.
# The top-level policy to enforce. For example, applications or passwordPolicies.
# Corresponds to the JSON property `settingName`
# @return [String]
attr_accessor :setting_name

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/safe-browsing/
module SafebrowsingV4
VERSION = 'V4'
REVISION = '20180626'
REVISION = '20190520'
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/security-scanner/
module WebsecurityscannerV1beta
VERSION = 'V1beta'
REVISION = '20190503'
REVISION = '20190519'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -532,7 +532,6 @@ module Google
end
# A ScanConfig resource contains the configurations to launch a scan.
# next id: 12
class ScanConfig
include Google::Apis::Core::Hashable
@ -580,6 +579,11 @@ module Google
# @return [String]
attr_accessor :name
# The risk level selected for the scan
# Corresponds to the JSON property `riskLevel`
# @return [String]
attr_accessor :risk_level
# Scan schedule configuration.
# Corresponds to the JSON property `schedule`
# @return [Google::Apis::WebsecurityscannerV1beta::Schedule]
@ -615,6 +619,7 @@ module Google
@latest_run = args[:latest_run] if args.key?(:latest_run)
@max_qps = args[:max_qps] if args.key?(:max_qps)
@name = args[:name] if args.key?(:name)
@risk_level = args[:risk_level] if args.key?(:risk_level)
@schedule = args[:schedule] if args.key?(:schedule)
@starting_urls = args[:starting_urls] if args.key?(:starting_urls)
@target_platforms = args[:target_platforms] if args.key?(:target_platforms)

View File

@ -343,6 +343,7 @@ module Google
property :max_qps, as: 'maxQps'
property :name, as: 'name'
property :risk_level, as: 'riskLevel'
property :schedule, as: 'schedule', class: Google::Apis::WebsecurityscannerV1beta::Schedule, decorator: Google::Apis::WebsecurityscannerV1beta::Schedule::Representation
collection :starting_urls, as: 'startingUrls'