Autogenerated update (2019-05-08)

Update:
- accesscontextmanager_v1
- accesscontextmanager_v1beta
- adexchangebuyer2_v2beta1
- androiddeviceprovisioning_v1
- androidmanagement_v1
- androidpublisher_v3
- classroom_v1
- cloudbuild_v1
- containeranalysis_v1alpha1
- content_v2
- content_v2_1
- genomics_v1
- genomics_v1alpha2
- genomics_v2alpha1
- healthcare_v1beta1
- runtimeconfig_v1
- serviceconsumermanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
This commit is contained in:
Google APIs 2019-05-08 00:37:28 +00:00
parent 5ca9da3e8e
commit 0a5a9595de
48 changed files with 313 additions and 151 deletions

View File

@ -7272,6 +7272,8 @@
"/androidmanagement:v1/ApplicationReport/versionName": version_name
"/androidmanagement:v1/ApplicationReportingSettings": application_reporting_settings
"/androidmanagement:v1/ApplicationReportingSettings/includeRemovedApps": include_removed_apps
"/androidmanagement:v1/BlockAction": block_action
"/androidmanagement:v1/BlockAction/blockAfterDays": block_after_days
"/androidmanagement:v1/ChoosePrivateKeyRule": choose_private_key_rule
"/androidmanagement:v1/ChoosePrivateKeyRule/packageNames": package_names
"/androidmanagement:v1/ChoosePrivateKeyRule/packageNames/package_name": package_name
@ -7329,6 +7331,8 @@
"/androidmanagement:v1/Device/previousDeviceNames/previous_device_name": previous_device_name
"/androidmanagement:v1/Device/softwareInfo": software_info
"/androidmanagement:v1/Device/state": state
"/androidmanagement:v1/Device/systemProperties": system_properties
"/androidmanagement:v1/Device/systemProperties/system_property": system_property
"/androidmanagement:v1/Device/user": user
"/androidmanagement:v1/Device/userName": user_name
"/androidmanagement:v1/DeviceSettings": device_settings
@ -7552,6 +7556,7 @@
"/androidmanagement:v1/Policy/locationMode": location_mode
"/androidmanagement:v1/Policy/longSupportMessage": long_support_message
"/androidmanagement:v1/Policy/maximumTimeToLock": maximum_time_to_lock
"/androidmanagement:v1/Policy/minimumApiLevel": minimum_api_level
"/androidmanagement:v1/Policy/mobileNetworksConfigDisabled": mobile_networks_config_disabled
"/androidmanagement:v1/Policy/modifyAccountsDisabled": modify_accounts_disabled
"/androidmanagement:v1/Policy/mountPhysicalMediaDisabled": mount_physical_media_disabled
@ -7571,6 +7576,8 @@
"/androidmanagement:v1/Policy/persistentPreferredActivities": persistent_preferred_activities
"/androidmanagement:v1/Policy/persistentPreferredActivities/persistent_preferred_activity": persistent_preferred_activity
"/androidmanagement:v1/Policy/playStoreMode": play_store_mode
"/androidmanagement:v1/Policy/policyEnforcementRules": policy_enforcement_rules
"/androidmanagement:v1/Policy/policyEnforcementRules/policy_enforcement_rule": policy_enforcement_rule
"/androidmanagement:v1/Policy/privateKeySelectionEnabled": private_key_selection_enabled
"/androidmanagement:v1/Policy/recommendedGlobalProxy": recommended_global_proxy
"/androidmanagement:v1/Policy/removeUserDisabled": remove_user_disabled
@ -7598,6 +7605,10 @@
"/androidmanagement:v1/Policy/vpnConfigDisabled": vpn_config_disabled
"/androidmanagement:v1/Policy/wifiConfigDisabled": wifi_config_disabled
"/androidmanagement:v1/Policy/wifiConfigsLockdownEnabled": wifi_configs_lockdown_enabled
"/androidmanagement:v1/PolicyEnforcementRule": policy_enforcement_rule
"/androidmanagement:v1/PolicyEnforcementRule/blockAction": block_action
"/androidmanagement:v1/PolicyEnforcementRule/settingName": setting_name
"/androidmanagement:v1/PolicyEnforcementRule/wipeAction": wipe_action
"/androidmanagement:v1/PowerManagementEvent": power_management_event
"/androidmanagement:v1/PowerManagementEvent/batteryLevel": battery_level
"/androidmanagement:v1/PowerManagementEvent/createTime": create_time
@ -7675,6 +7686,9 @@
"/androidmanagement:v1/WebToken/permissions": permissions
"/androidmanagement:v1/WebToken/permissions/permission": permission
"/androidmanagement:v1/WebToken/value": value
"/androidmanagement:v1/WipeAction": wipe_action
"/androidmanagement:v1/WipeAction/preserveFrp": preserve_frp
"/androidmanagement:v1/WipeAction/wipeAfterDays": wipe_after_days
"/androidmanagement:v1/androidmanagement.enterprises.applications.get": get_enterprise_application
"/androidmanagement:v1/androidmanagement.enterprises.applications.get/languageCode": language_code
"/androidmanagement:v1/androidmanagement.enterprises.applications.get/name": name
@ -8445,6 +8459,10 @@
"/androidpublisher:v3/InappproductsListResponse/kind": kind
"/androidpublisher:v3/InappproductsListResponse/pageInfo": page_info
"/androidpublisher:v3/InappproductsListResponse/tokenPagination": token_pagination
"/androidpublisher:v3/InternalAppSharingArtifact": internal_app_sharing_artifact
"/androidpublisher:v3/InternalAppSharingArtifact/certificateFingerprint": certificate_fingerprint
"/androidpublisher:v3/InternalAppSharingArtifact/downloadUrl": download_url
"/androidpublisher:v3/InternalAppSharingArtifact/sha256": sha256
"/androidpublisher:v3/Listing": listing
"/androidpublisher:v3/Listing/fullDescription": full_description
"/androidpublisher:v3/Listing/language": language
@ -79896,6 +79914,7 @@
"/genomics:v2alpha1/VirtualMachine/cpuPlatform": cpu_platform
"/genomics:v2alpha1/VirtualMachine/disks": disks
"/genomics:v2alpha1/VirtualMachine/disks/disk": disk
"/genomics:v2alpha1/VirtualMachine/enableStackdriverMonitoring": enable_stackdriver_monitoring
"/genomics:v2alpha1/VirtualMachine/labels": labels
"/genomics:v2alpha1/VirtualMachine/labels/label": label
"/genomics:v2alpha1/VirtualMachine/machineType": machine_type

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1
VERSION = 'V1'
REVISION = '20190307'
REVISION = '20190507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -497,7 +497,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
module AccesscontextmanagerV1beta
VERSION = 'V1beta'
REVISION = '20190307'
REVISION = '20190507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -440,7 +440,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20190429'
REVISION = '20190506'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -728,12 +728,6 @@ module Google
# @return [Array<Fixnum>]
attr_accessor :detected_sensitive_categories
# Output only. Filtering reasons for this creative during a period of a single
# day (from midnight to midnight Pacific).
# Corresponds to the JSON property `filteringStats`
# @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats]
attr_accessor :filtering_stats
# HTML content for a creative.
# Corresponds to the JSON property `html`
# @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent]
@ -813,7 +807,6 @@ module Google
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
@detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories)
@detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories)
@filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats)
@html = args[:html] if args.key?(:html)
@impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls)
@native = args[:native] if args.key?(:native)
@ -1751,39 +1744,6 @@ module Google
end
end
# Output only. Filtering reasons for this creative during a period of a single
# day (from midnight to midnight Pacific).
class FilteringStats
include Google::Apis::Core::Hashable
# Represents a whole or partial calendar date, e.g. a birthday. The time of day
# and time zone are either specified elsewhere or are not significant. The date
# is relative to the Proleptic Gregorian Calendar. This can represent:
# * A full date, with non-zero year, month and day values
# * A month and day value, with a zero year, e.g. an anniversary
# * A year on its own, with zero month and day values
# * A year and month value, with a zero day, e.g. a credit card expiration date
# Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
# Corresponds to the JSON property `date`
# @return [Google::Apis::Adexchangebuyer2V2beta1::Date]
attr_accessor :date
# The set of filtering reasons for this date.
# Corresponds to the JSON property `reasons`
# @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Reason>]
attr_accessor :reasons
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@date = args[:date] if args.key?(:date)
@reasons = args[:reasons] if args.key?(:reasons)
end
end
# Represents a list of targeted and excluded mobile application IDs that
# publishers own.
# Mobile application IDs are from App Store and Google Play Store.
@ -3576,35 +3536,6 @@ module Google
end
end
# A specific filtering status and how many times it occurred.
class Reason
include Google::Apis::Core::Hashable
# The number of times the creative was filtered for the status. The
# count is aggregated across all publishers on the exchange.
# Corresponds to the JSON property `count`
# @return [Fixnum]
attr_accessor :count
# The filtering status code. Please refer to the
# [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb-
# dictionaries/creative-status-codes.txt)
# file for different statuses.
# Corresponds to the JSON property `status`
# @return [Fixnum]
attr_accessor :status
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@count = args[:count] if args.key?(:count)
@status = args[:status] if args.key?(:status)
end
end
# A relative date range, specified by an offset and a duration.
# The supported range of dates begins 30 days before today and ends today,
# i.e., the limits for these values are:

View File

@ -250,12 +250,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class FilteringStats
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FirstPartyMobileApplicationTargeting
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -538,12 +532,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class Reason
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class RelativeDateRange
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -847,8 +835,6 @@ module Google
collection :detected_languages, as: 'detectedLanguages'
collection :detected_product_categories, as: 'detectedProductCategories'
collection :detected_sensitive_categories, as: 'detectedSensitiveCategories'
property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation
property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation
collection :impression_tracking_urls, as: 'impressionTrackingUrls'
@ -1100,16 +1086,6 @@ module Google
end
end
class FilteringStats
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation
collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation
end
end
class FirstPartyMobileApplicationTargeting
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1612,14 +1588,6 @@ module Google
end
end
class Reason
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :count, :numeric_string => true, as: 'count'
property :status, as: 'status'
end
end
class RelativeDateRange
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/zero-touch/
module AndroiddeviceprovisioningV1
VERSION = 'V1'
REVISION = '20190406'
REVISION = '20190503'
end
end
end

View File

@ -1101,7 +1101,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

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

View File

@ -365,6 +365,30 @@ module Google
end
end
# An action to block access to apps and data on a fully managed device or in a
# work profile. This action also triggers a device or work profile to displays a
# user-facing notification with information (where possible) on how to correct
# the compliance issue. Note: wipeAction must also be specified.
class BlockAction
include Google::Apis::Core::Hashable
# Number of days the policy is non-compliant before the device or work profile
# is blocked. To block access immediately, set to 0. blockAfterDays must be less
# than wipeAfterDays.
# Corresponds to the JSON property `blockAfterDays`
# @return [Fixnum]
attr_accessor :block_after_days
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@block_after_days = args[:block_after_days] if args.key?(:block_after_days)
end
end
# A rule for automatically choosing a private key and certificate to
# authenticate the device to a server.
class ChoosePrivateKeyRule
@ -688,6 +712,11 @@ module Google
# @return [String]
attr_accessor :state
# Map of selected system properties name and value related to the device.
# Corresponds to the JSON property `systemProperties`
# @return [Hash<String,String>]
attr_accessor :system_properties
# A user belonging to an enterprise.
# Corresponds to the JSON property `user`
# @return [Google::Apis::AndroidmanagementV1::User]
@ -733,6 +762,7 @@ module Google
@previous_device_names = args[:previous_device_names] if args.key?(:previous_device_names)
@software_info = args[:software_info] if args.key?(:software_info)
@state = args[:state] if args.key?(:state)
@system_properties = args[:system_properties] if args.key?(:system_properties)
@user = args[:user] if args.key?(:user)
@user_name = args[:user_name] if args.key?(:user_name)
end
@ -2204,6 +2234,11 @@ module Google
# @return [Fixnum]
attr_accessor :maximum_time_to_lock
# The minimum allowed Android API level.
# Corresponds to the JSON property `minimumApiLevel`
# @return [Fixnum]
attr_accessor :minimum_api_level
# Whether configuring mobile networks is disabled.
# Corresponds to the JSON property `mobileNetworksConfigDisabled`
# @return [Boolean]
@ -2297,6 +2332,12 @@ module Google
# @return [String]
attr_accessor :play_store_mode
# Rules that define the behavior when a particular policy can not be applied on
# device
# Corresponds to the JSON property `policyEnforcementRules`
# @return [Array<Google::Apis::AndroidmanagementV1::PolicyEnforcementRule>]
attr_accessor :policy_enforcement_rules
# Allows showing UI on a device for a user to choose a private key alias if
# there are no matching rules in ChoosePrivateKeyRules. For devices below
# Android P, setting this may leave enterprise keys vulnerable.
@ -2491,6 +2532,7 @@ module Google
@location_mode = args[:location_mode] if args.key?(:location_mode)
@long_support_message = args[:long_support_message] if args.key?(:long_support_message)
@maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock)
@minimum_api_level = args[:minimum_api_level] if args.key?(:minimum_api_level)
@mobile_networks_config_disabled = args[:mobile_networks_config_disabled] if args.key?(:mobile_networks_config_disabled)
@modify_accounts_disabled = args[:modify_accounts_disabled] if args.key?(:modify_accounts_disabled)
@mount_physical_media_disabled = args[:mount_physical_media_disabled] if args.key?(:mount_physical_media_disabled)
@ -2506,6 +2548,7 @@ module Google
@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)
@play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
@policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules)
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
@recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
@remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
@ -2534,6 +2577,43 @@ module Google
end
end
# A rule that defines the actions to take if a device or work profile is not
# compliant with the policy specified in settingName.
class PolicyEnforcementRule
include Google::Apis::Core::Hashable
# An action to block access to apps and data on a fully managed device or in a
# work profile. This action also triggers a device or work profile to displays a
# user-facing notification with information (where possible) on how to correct
# the compliance issue. Note: wipeAction must also be specified.
# Corresponds to the JSON property `blockAction`
# @return [Google::Apis::AndroidmanagementV1::BlockAction]
attr_accessor :block_action
# The top-level policy to enforce. For example, applications or
# passwordRequirements.
# Corresponds to the JSON property `settingName`
# @return [String]
attr_accessor :setting_name
# An action to reset a fully managed device or delete a work profile. Note:
# blockAction must also be specified.
# Corresponds to the JSON property `wipeAction`
# @return [Google::Apis::AndroidmanagementV1::WipeAction]
attr_accessor :wipe_action
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@block_action = args[:block_action] if args.key?(:block_action)
@setting_name = args[:setting_name] if args.key?(:setting_name)
@wipe_action = args[:wipe_action] if args.key?(:wipe_action)
end
end
# A power management event.
class PowerManagementEvent
include Google::Apis::Core::Hashable
@ -3157,6 +3237,35 @@ module Google
@value = args[:value] if args.key?(:value)
end
end
# An action to reset a fully managed device or delete a work profile. Note:
# blockAction must also be specified.
class WipeAction
include Google::Apis::Core::Hashable
# Whether the factory-reset protection data is preserved on the device. This
# setting doesnt apply to work profiles.
# Corresponds to the JSON property `preserveFrp`
# @return [Boolean]
attr_accessor :preserve_frp
alias_method :preserve_frp?, :preserve_frp
# Number of days the policy is non-compliant before the device or work profile
# is wiped. wipeAfterDays must be greater than blockAfterDays.
# Corresponds to the JSON property `wipeAfterDays`
# @return [Fixnum]
attr_accessor :wipe_after_days
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@preserve_frp = args[:preserve_frp] if args.key?(:preserve_frp)
@wipe_after_days = args[:wipe_after_days] if args.key?(:wipe_after_days)
end
end
end
end
end

View File

@ -70,6 +70,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class BlockAction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChoosePrivateKeyRule
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -262,6 +268,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class PolicyEnforcementRule
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class PowerManagementEvent
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -352,6 +364,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class WipeAction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AlwaysOnVpnPackage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -440,6 +458,13 @@ module Google
end
end
class BlockAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :block_after_days, as: 'blockAfterDays'
end
end
class ChoosePrivateKeyRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -517,6 +542,7 @@ module Google
property :software_info, as: 'softwareInfo', class: Google::Apis::AndroidmanagementV1::SoftwareInfo, decorator: Google::Apis::AndroidmanagementV1::SoftwareInfo::Representation
property :state, as: 'state'
hash :system_properties, as: 'systemProperties'
property :user, as: 'user', class: Google::Apis::AndroidmanagementV1::User, decorator: Google::Apis::AndroidmanagementV1::User::Representation
property :user_name, as: 'userName'
@ -862,6 +888,7 @@ module Google
property :long_support_message, as: 'longSupportMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
property :maximum_time_to_lock, :numeric_string => true, as: 'maximumTimeToLock'
property :minimum_api_level, as: 'minimumApiLevel'
property :mobile_networks_config_disabled, as: 'mobileNetworksConfigDisabled'
property :modify_accounts_disabled, as: 'modifyAccountsDisabled'
property :mount_physical_media_disabled, as: 'mountPhysicalMediaDisabled'
@ -882,6 +909,8 @@ module Google
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
property :play_store_mode, as: 'playStoreMode'
collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
@ -915,6 +944,17 @@ module Google
end
end
class PolicyEnforcementRule
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :block_action, as: 'blockAction', class: Google::Apis::AndroidmanagementV1::BlockAction, decorator: Google::Apis::AndroidmanagementV1::BlockAction::Representation
property :setting_name, as: 'settingName'
property :wipe_action, as: 'wipeAction', class: Google::Apis::AndroidmanagementV1::WipeAction, decorator: Google::Apis::AndroidmanagementV1::WipeAction::Representation
end
end
class PowerManagementEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -1067,6 +1107,14 @@ module Google
property :value, as: 'value'
end
end
class WipeAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :preserve_frp, as: 'preserveFrp'
property :wipe_after_days, as: 'wipeAfterDays'
end
end
end
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20190506'
REVISION = '20190507'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -887,6 +887,41 @@ module Google
end
end
# An artifact resource which gets created when uploading an APK or Android App
# Bundle through internal app sharing.
class InternalAppSharingArtifact
include Google::Apis::Core::Hashable
# The SHA256 fingerprint of the certificate used to signed the generated
# artifact.
# Corresponds to the JSON property `certificateFingerprint`
# @return [String]
attr_accessor :certificate_fingerprint
# The download URL generated for the uploaded artifact. Users that are
# authorized to download can follow the link to the Play Store app to install it.
# Corresponds to the JSON property `downloadUrl`
# @return [String]
attr_accessor :download_url
# The SHA-256 hash of the artifact represented as a lowercase hexadecimal number,
# matching the output of the sha256sum command.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@certificate_fingerprint = args[:certificate_fingerprint] if args.key?(:certificate_fingerprint)
@download_url = args[:download_url] if args.key?(:download_url)
@sha256 = args[:sha256] if args.key?(:sha256)
end
end
#
class Listing
include Google::Apis::Core::Hashable

View File

@ -178,6 +178,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class InternalAppSharingArtifact
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Listing
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -611,6 +617,15 @@ module Google
end
end
class InternalAppSharingArtifact
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :certificate_fingerprint, as: 'certificateFingerprint'
property :download_url, as: 'downloadUrl'
property :sha256, as: 'sha256'
end
end
class Listing
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -1804,10 +1804,10 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam result [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
# @return [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact]
#
# @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
@ -1820,6 +1820,8 @@ module Google
command.upload_source = upload_source
command.upload_content_type = content_type
end
command.response_representation = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact::Representation
command.response_class = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact
command.params['packageName'] = package_name unless package_name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -1849,10 +1851,10 @@ module Google
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam result [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
# @return [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact]
#
# @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
@ -1865,6 +1867,8 @@ module Google
command.upload_source = upload_source
command.upload_content_type = content_type
end
command.response_representation = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact::Representation
command.response_class = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact
command.params['packageName'] = package_name unless package_name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/classroom/
module ClassroomV1
VERSION = 'V1'
REVISION = '20190409'
REVISION = '20190503'
# View and manage announcements in Google Classroom
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'

View File

@ -1039,6 +1039,7 @@ module Google
# * `max_points`
# * `scheduled_time`
# * `submission_modification_mode`
# * `topic_id`
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/cloud-build/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20190501'
REVISION = '20190507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1016,7 +1016,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-analysis/api/reference/rest/
module ContaineranalysisV1alpha1
VERSION = 'V1alpha1'
REVISION = '20190419'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1919,7 +1919,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20190423'
REVISION = '20190503'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -4278,7 +4278,10 @@ module Google
# @return [String]
attr_accessor :full_name
# Customer's marketing preferences.
# Customer's marketing preferences. Contains the marketing opt-in information
# that is current at the time that the merchant call. User preference selections
# can change from one order to the next so preferences must be checked with
# every order.
# Corresponds to the JSON property `marketingRightsInfo`
# @return [Google::Apis::ContentV2::OrderCustomerMarketingRightsInfo]
attr_accessor :marketing_rights_info
@ -4300,8 +4303,11 @@ module Google
class OrderCustomerMarketingRightsInfo
include Google::Apis::Core::Hashable
# Last known user selection regarding marketing preferences. In certain cases
# this selection might not be known, so this field would be empty.
# Last known customer selection regarding marketing preferences. In certain
# cases this selection might not be known, so this field would be empty. If a
# customer selected granted in their most recent order, they can be subscribed
# to marketing emails. Customers who have chosen denied must not be subscribed,
# or must be unsubscribed if already opted-in.
# Corresponds to the JSON property `explicitMarketingPreference`
# @return [String]
attr_accessor :explicit_marketing_preference

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20190423'
REVISION = '20190503'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -3638,7 +3638,10 @@ module Google
# @return [String]
attr_accessor :full_name
# Customer's marketing preferences.
# Customer's marketing preferences. Contains the marketing opt-in information
# that is current at the time that the merchant call. User preference selections
# can change from one order to the next so preferences must be checked with
# every order.
# Corresponds to the JSON property `marketingRightsInfo`
# @return [Google::Apis::ContentV2_1::OrderCustomerMarketingRightsInfo]
attr_accessor :marketing_rights_info
@ -3658,8 +3661,11 @@ module Google
class OrderCustomerMarketingRightsInfo
include Google::Apis::Core::Hashable
# Last known user selection regarding marketing preferences. In certain cases
# this selection might not be known, so this field would be empty.
# Last known customer selection regarding marketing preferences. In certain
# cases this selection might not be known, so this field would be empty. If a
# customer selected granted in their most recent order, they can be subscribed
# to marketing emails. Customers who have chosen denied must not be subscribed,
# or must be unsubscribed if already opted-in.
# Corresponds to the JSON property `explicitMarketingPreference`
# @return [String]
attr_accessor :explicit_marketing_preference

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1
VERSION = 'V1'
REVISION = '20190323'
REVISION = '20190507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV1alpha2
VERSION = 'V1alpha2'
REVISION = '20190323'
REVISION = '20190507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -983,8 +983,8 @@ module Google
# the private VM's Internal IP. If noAddress is set, this pipeline run may
# only load docker images from Google Container Registry and not Docker Hub.
# Before using this, you must
# [configure access to Google services from internal IPs](https://cloud.google.
# com/compute/docs/configure-private-google-access#
# [configure access to Google services from internal
# IPs](https://cloud.google.com/compute/docs/configure-private-google-access#
# configuring_access_to_google_services_from_internal_ips).
# Corresponds to the JSON property `noAddress`
# @return [Boolean]

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/genomics
module GenomicsV2alpha1
VERSION = 'V2alpha1'
REVISION = '20190323'
REVISION = '20190507'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1357,6 +1357,12 @@ module Google
# @return [Array<Google::Apis::GenomicsV2alpha1::Disk>]
attr_accessor :disks
# Whether Stackdriver monitoring should be enabled on the VM.
# Corresponds to the JSON property `enableStackdriverMonitoring`
# @return [Boolean]
attr_accessor :enable_stackdriver_monitoring
alias_method :enable_stackdriver_monitoring?, :enable_stackdriver_monitoring
# Optional set of labels to apply to the VM and any attached disk resources.
# These labels must adhere to the name and value restrictions on VM labels
# imposed by Compute Engine.
@ -1413,6 +1419,7 @@ module Google
@boot_image = args[:boot_image] if args.key?(:boot_image)
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
@disks = args[:disks] if args.key?(:disks)
@enable_stackdriver_monitoring = args[:enable_stackdriver_monitoring] if args.key?(:enable_stackdriver_monitoring)
@labels = args[:labels] if args.key?(:labels)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@network = args[:network] if args.key?(:network)

View File

@ -564,6 +564,7 @@ module Google
property :cpu_platform, as: 'cpuPlatform'
collection :disks, as: 'disks', class: Google::Apis::GenomicsV2alpha1::Disk, decorator: Google::Apis::GenomicsV2alpha1::Disk::Representation
property :enable_stackdriver_monitoring, as: 'enableStackdriverMonitoring'
hash :labels, as: 'labels'
property :machine_type, as: 'machineType'
property :network, as: 'network', class: Google::Apis::GenomicsV2alpha1::Network, decorator: Google::Apis::GenomicsV2alpha1::Network::Representation

View File

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

View File

@ -1860,7 +1860,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@ -2180,7 +2180,9 @@ module Google
class SearchResourcesRequest
include Google::Apis::Core::Hashable
# The type of the resource to search.
# The FHIR resource type to search, such as Patient or Observation. For a
# complete list, see the [FHIR Resource
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type

View File

@ -2162,7 +2162,9 @@ module Google
# @param [String] parent
# The name of the FHIR store this resource belongs to.
# @param [String] type
# The type of the resource to delete.
# The FHIR resource type to delete, such as Patient or Observation. For a
# complete list, see the [FHIR Resource
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -2211,7 +2213,9 @@ module Google
# @param [String] parent
# The name of the FHIR store this resource belongs to.
# @param [String] type
# The type of the resource to update.
# The FHIR resource type to update, such as Patient or Observation. For a
# complete list, see the [FHIR Resource
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2270,7 +2274,10 @@ module Google
# @param [String] parent
# The name of the FHIR store this resource belongs to.
# @param [String] type
# The type of the resource to update.
# The FHIR resource type to update, such as Patient or Observation. For a
# complete list, see the [FHIR Resource
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
# Must match the resource type in the provided content.
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -2323,7 +2330,10 @@ module Google
# @param [String] parent
# The name of the FHIR store this resource belongs to.
# @param [String] type
# The type of the resource to create.
# The FHIR resource type to create, such as Patient or Observation. For a
# complete list, see the [FHIR Resource
# Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
# Must match the resource type in the provided content.
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
module RuntimeconfigV1
VERSION = 'V1'
REVISION = '20190311'
REVISION = '20190506'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -145,7 +145,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1
VERSION = 'V1'
REVISION = '20190501'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2443,7 +2443,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1
VERSION = 'V1'
REVISION = '20190501'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2458,7 +2458,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
module ServicenetworkingV1beta
VERSION = 'V1beta'
REVISION = '20190501'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -2398,7 +2398,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1
VERSION = 'V1'
REVISION = '20190501'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3159,7 +3159,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-usage/
module ServiceusageV1beta1
VERSION = 'V1beta1'
REVISION = '20190501'
REVISION = '20190503'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3135,7 +3135,7 @@ module Google
# The server-assigned name, which is only unique within the same service that
# originally returns it. If you use the default HTTP mapping, the
# `name` should have the format of `operations/some/unique/name`.
# `name` should be a resource name ending with `operations/`unique_id``.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name