Autogenerated update (2017-11-14)
Update: - androidenterprise_v1 - cloudtasks_v2beta2 - proximitybeacon_v1beta1 - storagetransfer_v1
This commit is contained in:
parent
8ed99b7132
commit
6bf3f7d0bc
|
@ -5265,6 +5265,11 @@
|
||||||
"/androidenterprise:v1/AuthenticationToken/token": token
|
"/androidenterprise:v1/AuthenticationToken/token": token
|
||||||
"/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response
|
"/androidenterprise:v1/CollectionViewersListResponse": list_collection_viewers_response
|
||||||
"/androidenterprise:v1/CollectionsListResponse": list_collections_response
|
"/androidenterprise:v1/CollectionsListResponse": list_collections_response
|
||||||
|
"/androidenterprise:v1/ConfigurationVariables": configuration_variables
|
||||||
|
"/androidenterprise:v1/ConfigurationVariables/kind": kind
|
||||||
|
"/androidenterprise:v1/ConfigurationVariables/mcmId": mcm_id
|
||||||
|
"/androidenterprise:v1/ConfigurationVariables/variableSet": variable_set
|
||||||
|
"/androidenterprise:v1/ConfigurationVariables/variableSet/variable_set": variable_set
|
||||||
"/androidenterprise:v1/Device": device
|
"/androidenterprise:v1/Device": device
|
||||||
"/androidenterprise:v1/Device/androidId": android_id
|
"/androidenterprise:v1/Device/androidId": android_id
|
||||||
"/androidenterprise:v1/Device/kind": kind
|
"/androidenterprise:v1/Device/kind": kind
|
||||||
|
@ -5336,6 +5341,7 @@
|
||||||
"/androidenterprise:v1/LocalizedText/locale": locale
|
"/androidenterprise:v1/LocalizedText/locale": locale
|
||||||
"/androidenterprise:v1/LocalizedText/text": text
|
"/androidenterprise:v1/LocalizedText/text": text
|
||||||
"/androidenterprise:v1/ManagedConfiguration": managed_configuration
|
"/androidenterprise:v1/ManagedConfiguration": managed_configuration
|
||||||
|
"/androidenterprise:v1/ManagedConfiguration/configurationVariables": configuration_variables
|
||||||
"/androidenterprise:v1/ManagedConfiguration/kind": kind
|
"/androidenterprise:v1/ManagedConfiguration/kind": kind
|
||||||
"/androidenterprise:v1/ManagedConfiguration/managedProperty": managed_property
|
"/androidenterprise:v1/ManagedConfiguration/managedProperty": managed_property
|
||||||
"/androidenterprise:v1/ManagedConfiguration/managedProperty/managed_property": managed_property
|
"/androidenterprise:v1/ManagedConfiguration/managedProperty/managed_property": managed_property
|
||||||
|
@ -5348,6 +5354,16 @@
|
||||||
"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/kind": kind
|
"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/kind": kind
|
||||||
"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/managedConfigurationForUser": managed_configuration_for_user
|
"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/managedConfigurationForUser": managed_configuration_for_user
|
||||||
"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/managedConfigurationForUser/managed_configuration_for_user": managed_configuration_for_user
|
"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/managedConfigurationForUser/managed_configuration_for_user": managed_configuration_for_user
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettings": managed_configurations_settings
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettings/kind": kind
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettings/managedProperty": managed_property
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettings/managedProperty/managed_property": managed_property
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettings/mcmId": mcm_id
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettings/name": name
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettingsListResponse": managed_configurations_settings_list_response
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettingsListResponse/kind": kind
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettingsListResponse/managedConfigurationsSettings": managed_configurations_settings
|
||||||
|
"/androidenterprise:v1/ManagedConfigurationsSettingsListResponse/managedConfigurationsSettings/managed_configurations_setting": managed_configurations_setting
|
||||||
"/androidenterprise:v1/ManagedProperty": managed_property
|
"/androidenterprise:v1/ManagedProperty": managed_property
|
||||||
"/androidenterprise:v1/ManagedProperty/key": key
|
"/androidenterprise:v1/ManagedProperty/key": key
|
||||||
"/androidenterprise:v1/ManagedProperty/valueBool": value_bool
|
"/androidenterprise:v1/ManagedProperty/valueBool": value_bool
|
||||||
|
@ -5515,6 +5531,10 @@
|
||||||
"/androidenterprise:v1/UsersListResponse/kind": kind
|
"/androidenterprise:v1/UsersListResponse/kind": kind
|
||||||
"/androidenterprise:v1/UsersListResponse/user": user
|
"/androidenterprise:v1/UsersListResponse/user": user
|
||||||
"/androidenterprise:v1/UsersListResponse/user/user": user
|
"/androidenterprise:v1/UsersListResponse/user/user": user
|
||||||
|
"/androidenterprise:v1/VariableSet": variable_set
|
||||||
|
"/androidenterprise:v1/VariableSet/kind": kind
|
||||||
|
"/androidenterprise:v1/VariableSet/placeholder": placeholder
|
||||||
|
"/androidenterprise:v1/VariableSet/userValue": user_value
|
||||||
"/androidenterprise:v1/androidenterprise.collectionviewers.delete": delete_collection_viewer
|
"/androidenterprise:v1/androidenterprise.collectionviewers.delete": delete_collection_viewer
|
||||||
"/androidenterprise:v1/androidenterprise.collectionviewers.get": get_collection_viewer
|
"/androidenterprise:v1/androidenterprise.collectionviewers.get": get_collection_viewer
|
||||||
"/androidenterprise:v1/androidenterprise.collectionviewers.list": list_collection_viewers
|
"/androidenterprise:v1/androidenterprise.collectionviewers.list": list_collection_viewers
|
||||||
|
@ -5669,6 +5689,9 @@
|
||||||
"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/enterpriseId": enterprise_id
|
"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/enterpriseId": enterprise_id
|
||||||
"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/managedConfigurationForUserId": managed_configuration_for_user_id
|
"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/managedConfigurationForUserId": managed_configuration_for_user_id
|
||||||
"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/userId": user_id
|
"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/userId": user_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.managedconfigurationssettings.list": list_managedconfigurationssettings
|
||||||
|
"/androidenterprise:v1/androidenterprise.managedconfigurationssettings.list/enterpriseId": enterprise_id
|
||||||
|
"/androidenterprise:v1/androidenterprise.managedconfigurationssettings.list/productId": product_id
|
||||||
"/androidenterprise:v1/androidenterprise.permissions.get": get_permission
|
"/androidenterprise:v1/androidenterprise.permissions.get": get_permission
|
||||||
"/androidenterprise:v1/androidenterprise.permissions.get/language": language
|
"/androidenterprise:v1/androidenterprise.permissions.get/language": language
|
||||||
"/androidenterprise:v1/androidenterprise.permissions.get/permissionId": permission_id
|
"/androidenterprise:v1/androidenterprise.permissions.get/permissionId": permission_id
|
||||||
|
@ -53810,6 +53833,7 @@
|
||||||
"/proximitybeacon:v1beta1/AdvertisedId/type": type
|
"/proximitybeacon:v1beta1/AdvertisedId/type": type
|
||||||
"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info
|
"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info
|
||||||
"/proximitybeacon:v1beta1/AttachmentInfo/data": data
|
"/proximitybeacon:v1beta1/AttachmentInfo/data": data
|
||||||
|
"/proximitybeacon:v1beta1/AttachmentInfo/maxDistanceMeters": max_distance_meters
|
||||||
"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type
|
"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type
|
||||||
"/proximitybeacon:v1beta1/Beacon": beacon
|
"/proximitybeacon:v1beta1/Beacon": beacon
|
||||||
"/proximitybeacon:v1beta1/Beacon/advertisedId": advertised_id
|
"/proximitybeacon:v1beta1/Beacon/advertisedId": advertised_id
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/work/play/emm-api
|
# @see https://developers.google.com/android/work/play/emm-api
|
||||||
module AndroidenterpriseV1
|
module AndroidenterpriseV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20171025'
|
REVISION = '20171108'
|
||||||
|
|
||||||
# Manage corporate Android devices
|
# Manage corporate Android devices
|
||||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||||
|
|
|
@ -409,6 +409,41 @@ module Google
|
||||||
end
|
end
|
||||||
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
|
||||||
|
# in the managed configuration settings.
|
||||||
|
class ConfigurationVariables
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#configurationVariables".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# The ID of the managed configurations settings.
|
||||||
|
# Corresponds to the JSON property `mcmId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :mcm_id
|
||||||
|
|
||||||
|
# The variable set that is attributed to the user.
|
||||||
|
# Corresponds to the JSON property `variableSet`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::VariableSet>]
|
||||||
|
attr_accessor :variable_set
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@mcm_id = args[:mcm_id] if args.key?(:mcm_id)
|
||||||
|
@variable_set = args[:variable_set] if args.key?(:variable_set)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A Devices resource represents a mobile device managed by the EMM and belonging
|
# A Devices resource represents a mobile device managed by the EMM and belonging
|
||||||
# to a specific enterprise user.
|
# to a specific enterprise user.
|
||||||
# This collection cannot be modified via the API. It is automatically populated
|
# This collection cannot be modified via the API. It is automatically populated
|
||||||
|
@ -1027,12 +1062,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A managed configuration resource contains the set of managed properties that
|
# A managed configuration resource contains the set of managed properties
|
||||||
# have been configured for an Android app. The app's developer would have
|
# defined by the app developer in the app's managed configurations schema, as
|
||||||
# defined configurable properties in the managed configurations schema.
|
# well as any configuration variables defined for the user.
|
||||||
class ManagedConfiguration
|
class ManagedConfiguration
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# in the managed configuration settings.
|
||||||
|
# Corresponds to the JSON property `configurationVariables`
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
|
||||||
|
attr_accessor :configuration_variables
|
||||||
|
|
||||||
# Identifies what kind of resource this is. Value: the fixed string "
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
# androidenterprise#managedConfiguration".
|
# androidenterprise#managedConfiguration".
|
||||||
# Corresponds to the JSON property `kind`
|
# Corresponds to the JSON property `kind`
|
||||||
|
@ -1056,6 +1099,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@configuration_variables = args[:configuration_variables] if args.key?(:configuration_variables)
|
||||||
@kind = args[:kind] if args.key?(:kind)
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
||||||
@product_id = args[:product_id] if args.key?(:product_id)
|
@product_id = args[:product_id] if args.key?(:product_id)
|
||||||
|
@ -1114,6 +1158,74 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A managed configurations settings resource contains the set of managed
|
||||||
|
# properties that have been configured for an Android app to be applied to a set
|
||||||
|
# of users. The app's developer would have defined configurable properties in
|
||||||
|
# the managed configurations schema.
|
||||||
|
class ManagedConfigurationsSettings
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#managedConfigurationsSettings".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# The set of managed properties for this configuration.
|
||||||
|
# Corresponds to the JSON property `managedProperty`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedProperty>]
|
||||||
|
attr_accessor :managed_property
|
||||||
|
|
||||||
|
# The ID of the managed configurations settings.
|
||||||
|
# Corresponds to the JSON property `mcmId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :mcm_id
|
||||||
|
|
||||||
|
# The name of the managed configurations settings.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@managed_property = args[:managed_property] if args.key?(:managed_property)
|
||||||
|
@mcm_id = args[:mcm_id] if args.key?(:mcm_id)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The managed configurations settings for a product.
|
||||||
|
class ManagedConfigurationsSettingsListResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#managedConfigurationsSettingsListResponse".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# A managed configurations settings for an app that may be assigned to a group
|
||||||
|
# of users in an enterprise.
|
||||||
|
# Corresponds to the JSON property `managedConfigurationsSettings`
|
||||||
|
# @return [Array<Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings>]
|
||||||
|
attr_accessor :managed_configurations_settings
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@managed_configurations_settings = args[:managed_configurations_settings] if args.key?(:managed_configurations_settings)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A managed property of a managed configuration. The property must match one of
|
# A managed property of a managed configuration. The property must match one of
|
||||||
# the properties in the app restrictions schema of the product. Exactly one of
|
# the properties in the app restrictions schema of the product. Exactly one of
|
||||||
# the value fields must be populated, and it must match the property's type in
|
# the value fields must be populated, and it must match the property's type in
|
||||||
|
@ -2389,6 +2501,41 @@ module Google
|
||||||
@user = args[:user] if args.key?(:user)
|
@user = args[:user] if args.key?(:user)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A variable set is a key-value pair of EMM-provided placeholders and its
|
||||||
|
# corresponding value, which is attributed to a user. For example, $FIRSTNAME
|
||||||
|
# could be a placeholder, and its value could be Alice. Placeholders should
|
||||||
|
# start with a '$' sign and should be alphanumeric only.
|
||||||
|
class VariableSet
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Identifies what kind of resource this is. Value: the fixed string "
|
||||||
|
# androidenterprise#variableSet".
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# The placeholder string; defined by EMM.
|
||||||
|
# Corresponds to the JSON property `placeholder`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :placeholder
|
||||||
|
|
||||||
|
# The value of the placeholder, specific to the user.
|
||||||
|
# Corresponds to the JSON property `userValue`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :user_value
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@placeholder = args[:placeholder] if args.key?(:placeholder)
|
||||||
|
@user_value = args[:user_value] if args.key?(:user_value)
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -94,6 +94,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ConfigurationVariables
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Device
|
class Device
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -208,6 +214,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedConfigurationsSettings
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ManagedConfigurationsSettingsListResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ManagedProperty
|
class ManagedProperty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -400,6 +418,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class VariableSet
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Administrator
|
class Administrator
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -507,6 +531,16 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ConfigurationVariables
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :mcm_id, as: 'mcmId'
|
||||||
|
collection :variable_set, as: 'variableSet', class: Google::Apis::AndroidenterpriseV1::VariableSet, decorator: Google::Apis::AndroidenterpriseV1::VariableSet::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Device
|
class Device
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -660,6 +694,8 @@ module Google
|
||||||
class ManagedConfiguration
|
class ManagedConfiguration
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :configuration_variables, as: 'configurationVariables', class: Google::Apis::AndroidenterpriseV1::ConfigurationVariables, decorator: Google::Apis::AndroidenterpriseV1::ConfigurationVariables::Representation
|
||||||
|
|
||||||
property :kind, as: 'kind'
|
property :kind, as: 'kind'
|
||||||
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
||||||
|
|
||||||
|
@ -685,6 +721,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ManagedConfigurationsSettings
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
collection :managed_property, as: 'managedProperty', class: Google::Apis::AndroidenterpriseV1::ManagedProperty, decorator: Google::Apis::AndroidenterpriseV1::ManagedProperty::Representation
|
||||||
|
|
||||||
|
property :mcm_id, as: 'mcmId'
|
||||||
|
property :name, as: 'name'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ManagedConfigurationsSettingsListResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
collection :managed_configurations_settings, as: 'managedConfigurationsSettings', class: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings, decorator: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ManagedProperty
|
class ManagedProperty
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1016,6 +1072,15 @@ module Google
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class VariableSet
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :placeholder, as: 'placeholder'
|
||||||
|
property :user_value, as: 'userValue'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1848,8 +1848,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Adds or updates a per-user managed configuration for an app for the specified
|
# Adds or updates the managed configuration settings for an app for the
|
||||||
# user. This method supports patch semantics.
|
# specified user. If you support the Managed configurations iframe, you can
|
||||||
|
# apply managed configurations to a user by specifying an mcmId and its
|
||||||
|
# associated configuration variables (if any) in the request. Alternatively, all
|
||||||
|
# EMMs can apply managed configurations by passing a list of managed properties.
|
||||||
|
# This method supports patch semantics.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
|
@ -1894,8 +1898,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Adds or updates a per-user managed configuration for an app for the specified
|
# Adds or updates the managed configuration settings for an app for the
|
||||||
# user.
|
# specified user. If you support the Managed configurations iframe, you can
|
||||||
|
# apply managed configurations to a user by specifying an mcmId and its
|
||||||
|
# associated configuration variables (if any) in the request. Alternatively, all
|
||||||
|
# EMMs can apply managed configurations by passing a list of managed properties.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
# @param [String] user_id
|
# @param [String] user_id
|
||||||
|
@ -1940,6 +1947,45 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists all the managed configurations settings for the specified app. Only the
|
||||||
|
# ID and the name is set.
|
||||||
|
# @param [String] enterprise_id
|
||||||
|
# The ID of the enterprise.
|
||||||
|
# @param [String] product_id
|
||||||
|
# The ID of the product for which the managed configurations settings applies to.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse]
|
||||||
|
#
|
||||||
|
# @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 list_managedconfigurationssettings(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings', options)
|
||||||
|
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse::Representation
|
||||||
|
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettingsListResponse
|
||||||
|
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||||
|
command.params['productId'] = product_id unless product_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Retrieves details of an Android app permission for display to an enterprise
|
# Retrieves details of an Android app permission for display to an enterprise
|
||||||
# admin.
|
# admin.
|
||||||
# @param [String] permission_id
|
# @param [String] permission_id
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/cloud-tasks/
|
# @see https://cloud.google.com/cloud-tasks/
|
||||||
module CloudtasksV2beta2
|
module CloudtasksV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20171106'
|
REVISION = '20171110'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -130,8 +130,6 @@ module Google
|
||||||
# The app's request handler for the task's target URL must be able to handle
|
# The app's request handler for the task's target URL must be able to handle
|
||||||
# HTTP requests with this http_method, otherwise the task attempt will fail
|
# HTTP requests with this http_method, otherwise the task attempt will fail
|
||||||
# with error code 405 (Method Not Allowed). See
|
# with error code 405 (Method Not Allowed). See
|
||||||
# the Request-Line is not allowed for the resource identified by the
|
|
||||||
# Request-URI". See
|
|
||||||
# [Writing a push task request handler](/appengine/docs/java/taskqueue/push/
|
# [Writing a push task request handler](/appengine/docs/java/taskqueue/push/
|
||||||
# creating-handlers#writing_a_push_task_request_handler)
|
# creating-handlers#writing_a_push_task_request_handler)
|
||||||
# and the documentation for the request handlers in the language your app is
|
# and the documentation for the request handlers in the language your app is
|
||||||
|
@ -250,8 +248,8 @@ module Google
|
||||||
class AppEngineRouting
|
class AppEngineRouting
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Output only.
|
# Output only. The host that the task is sent to.
|
||||||
# The host that the task is sent to. For more information, see
|
# For more information, see
|
||||||
# [How Requests are Routed](/appengine/docs/standard/python/how-requests-are-
|
# [How Requests are Routed](/appengine/docs/standard/python/how-requests-are-
|
||||||
# routed).
|
# routed).
|
||||||
# The host is constructed as:
|
# The host is constructed as:
|
||||||
|
@ -410,8 +408,7 @@ module Google
|
||||||
class AttemptStatus
|
class AttemptStatus
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Output only.
|
# Output only. The time that this attempt was dispatched.
|
||||||
# The time that this attempt was dispatched.
|
|
||||||
# `dispatch_time` will be truncated to the nearest microsecond.
|
# `dispatch_time` will be truncated to the nearest microsecond.
|
||||||
# Corresponds to the JSON property `dispatchTime`
|
# Corresponds to the JSON property `dispatchTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -460,15 +457,13 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::Status]
|
# @return [Google::Apis::CloudtasksV2beta2::Status]
|
||||||
attr_accessor :response_status
|
attr_accessor :response_status
|
||||||
|
|
||||||
# Output only.
|
# Output only. The time that this attempt response was received.
|
||||||
# The time that this attempt response was received.
|
|
||||||
# `response_time` will be truncated to the nearest microsecond.
|
# `response_time` will be truncated to the nearest microsecond.
|
||||||
# Corresponds to the JSON property `responseTime`
|
# Corresponds to the JSON property `responseTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :response_time
|
attr_accessor :response_time
|
||||||
|
|
||||||
# Output only.
|
# Output only. The time that this attempt was scheduled.
|
||||||
# The time that this attempt was scheduled.
|
|
||||||
# `schedule_time` will be truncated to the nearest microsecond.
|
# `schedule_time` will be truncated to the nearest microsecond.
|
||||||
# Corresponds to the JSON property `scheduleTime`
|
# Corresponds to the JSON property `scheduleTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -848,9 +843,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :payload
|
attr_accessor :payload
|
||||||
|
|
||||||
# A meta-data tag for this task.
|
# The task's tag.
|
||||||
# This value is used by CloudTasks.PullTasks calls when
|
# Tags allow similar tasks to be processed in a batch. If you label
|
||||||
# PullTasksRequest.filter is `tag=<tag>`.
|
# tasks with a tag, your task worker can pull tasks
|
||||||
|
# with the same tag using PullTasksRequest.filter. For example,
|
||||||
|
# if you want to aggregate the events associated with a specific
|
||||||
|
# user once a day, you could tag tasks with the user ID.
|
||||||
|
# The task's tag can only be set when the
|
||||||
|
# task is created.
|
||||||
# The tag must be less than 500 bytes.
|
# The tag must be less than 500 bytes.
|
||||||
# Corresponds to the JSON property `tag`
|
# Corresponds to the JSON property `tag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
|
@ -1055,13 +1055,10 @@ module Google
|
||||||
# The queue name.
|
# The queue name.
|
||||||
# The queue name must have the following format:
|
# The queue name must have the following format:
|
||||||
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
||||||
# * `PROJECT_ID` can contain uppercase and lowercase letters,
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
||||||
# numbers, hyphens, colons, and periods; that is, it must match
|
# hyphens (-), colons (:), or periods (.).
|
||||||
# the regular expression: `[a-zA-Z\\d-:\\.]+`.
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
||||||
# * `QUEUE_ID` can contain uppercase and lowercase letters,
|
# hyphens (-). The maximum length is 100 characters.
|
||||||
# numbers, and hyphens; that is, it must match the regular
|
|
||||||
# expression: `[a-zA-Z\\d-]+`. The maximum length is 100
|
|
||||||
# characters.
|
|
||||||
# Caller-specified and required in CreateQueueRequest, after which
|
# Caller-specified and required in CreateQueueRequest, after which
|
||||||
# it becomes output only.
|
# it becomes output only.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
|
@ -1078,9 +1075,9 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::PullTarget]
|
# @return [Google::Apis::CloudtasksV2beta2::PullTarget]
|
||||||
attr_accessor :pull_target
|
attr_accessor :pull_target
|
||||||
|
|
||||||
# Output only.
|
# Output only. The last time this queue was purged.
|
||||||
# The last time this queue was purged. All tasks that were
|
# All tasks that were created before this time
|
||||||
# created before this time were purged.
|
# were purged.
|
||||||
# A queue can be purged using CloudTasks.PurgeQueue, the
|
# A queue can be purged using CloudTasks.PurgeQueue, the
|
||||||
# [App Engine Task Queue SDK, or the Cloud Console](/appengine/docs/standard/
|
# [App Engine Task Queue SDK, or the Cloud Console](/appengine/docs/standard/
|
||||||
# python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue)
|
# python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue)
|
||||||
|
@ -1091,8 +1088,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :purge_time
|
attr_accessor :purge_time
|
||||||
|
|
||||||
# Output only.
|
# Output only. The state of the queue.
|
||||||
# The state of the queue.
|
|
||||||
# `queue_state` can only be changed by called
|
# `queue_state` can only be changed by called
|
||||||
# CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading
|
# CloudTasks.PauseQueue, CloudTasks.ResumeQueue, or uploading
|
||||||
# [queue.yaml](/appengine/docs/python/config/queueref).
|
# [queue.yaml](/appengine/docs/python/config/queueref).
|
||||||
|
@ -1138,12 +1134,12 @@ module Google
|
||||||
class RateLimits
|
class RateLimits
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Output only.
|
# Output only. The max burst size.
|
||||||
# The max burst size limits how fast the queue is processed when
|
# Max burst size limits how fast the queue is processed when many
|
||||||
# many tasks are in the queue and the rate is high. This field
|
# tasks are in the queue and the rate is high. This field allows
|
||||||
# allows the queue to have a high rate so processing starts shortly
|
# the queue to have a high rate so processing starts shortly after
|
||||||
# after a task is enqueued, but still limits resource usage when
|
# a task is enqueued, but still limits resource usage when many
|
||||||
# many tasks are enqueued in a short period of time.
|
# tasks are enqueued in a short period of time.
|
||||||
# * For App Engine queues, if
|
# * For App Engine queues, if
|
||||||
# RateLimits.max_tasks_dispatched_per_second is 1, this
|
# RateLimits.max_tasks_dispatched_per_second is 1, this
|
||||||
# field is 10; otherwise this field is
|
# field is 10; otherwise this field is
|
||||||
|
@ -1544,8 +1540,7 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget]
|
# @return [Google::Apis::CloudtasksV2beta2::AppEngineTaskTarget]
|
||||||
attr_accessor :app_engine_task_target
|
attr_accessor :app_engine_task_target
|
||||||
|
|
||||||
# Output only.
|
# Output only. The time that the task was created.
|
||||||
# The time that the task was created.
|
|
||||||
# `create_time` will be truncated to the nearest second.
|
# `create_time` will be truncated to the nearest second.
|
||||||
# Corresponds to the JSON property `createTime`
|
# Corresponds to the JSON property `createTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1554,17 +1549,12 @@ module Google
|
||||||
# The task name.
|
# The task name.
|
||||||
# The task name must have the following format:
|
# The task name must have the following format:
|
||||||
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
|
||||||
# * `PROJECT_ID` can contain uppercase and lowercase letters,
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
||||||
# numbers, hyphens, colons, and periods; that is, it must match
|
# hyphens (-), colons (:), or periods (.).
|
||||||
# the regular expression: `[a-zA-Z\\d-:\\.]+`.
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
||||||
# * `QUEUE_ID` can contain uppercase and lowercase letters,
|
# hyphens (-). The maximum length is 100 characters.
|
||||||
# numbers, and hyphens; that is, it must match the regular
|
# * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
|
||||||
# expression: `[a-zA-Z\\d-]+`. The maximum length is 100
|
# hyphens (-), or underscores (_). The maximum length is 500 characters.
|
||||||
# characters.
|
|
||||||
# * `TASK_ID` contain uppercase and lowercase letters, numbers,
|
|
||||||
# underscores, and hyphens; that is, it must match the regular
|
|
||||||
# expression: `[a-zA-Z\\d_-]+`. The maximum length is 500
|
|
||||||
# characters.
|
|
||||||
# Optionally caller-specified in CreateTaskRequest.
|
# Optionally caller-specified in CreateTaskRequest.
|
||||||
# Corresponds to the JSON property `name`
|
# Corresponds to the JSON property `name`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -1599,9 +1589,8 @@ module Google
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::TaskStatus]
|
# @return [Google::Apis::CloudtasksV2beta2::TaskStatus]
|
||||||
attr_accessor :task_status
|
attr_accessor :task_status
|
||||||
|
|
||||||
# Output only.
|
# Output only. The view specifies which subset of the Task has
|
||||||
# The view specifies which subset of the Task has been
|
# been returned.
|
||||||
# returned.
|
|
||||||
# Corresponds to the JSON property `view`
|
# Corresponds to the JSON property `view`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :view
|
attr_accessor :view
|
||||||
|
@ -1628,15 +1617,14 @@ module Google
|
||||||
class TaskStatus
|
class TaskStatus
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Output only.
|
# Output only. The number of attempts dispatched.
|
||||||
# The number of attempts dispatched. This count includes tasks which have
|
# This count includes tasks which have been dispatched but haven't
|
||||||
# been dispatched but haven't received a response.
|
# received a response.
|
||||||
# Corresponds to the JSON property `attemptDispatchCount`
|
# Corresponds to the JSON property `attemptDispatchCount`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :attempt_dispatch_count
|
attr_accessor :attempt_dispatch_count
|
||||||
|
|
||||||
# Output only.
|
# Output only. The number of attempts which have received a response.
|
||||||
# The number of attempts which have received a response.
|
|
||||||
# This field is not calculated for
|
# This field is not calculated for
|
||||||
# [pull tasks](google.cloud.tasks.v2beta2.PullTaskTarget).
|
# [pull tasks](google.cloud.tasks.v2beta2.PullTaskTarget).
|
||||||
# Corresponds to the JSON property `attemptResponseCount`
|
# Corresponds to the JSON property `attemptResponseCount`
|
||||||
|
|
|
@ -343,13 +343,10 @@ module Google
|
||||||
# The queue name.
|
# The queue name.
|
||||||
# The queue name must have the following format:
|
# The queue name must have the following format:
|
||||||
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
||||||
# * `PROJECT_ID` can contain uppercase and lowercase letters,
|
# * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
|
||||||
# numbers, hyphens, colons, and periods; that is, it must match
|
# hyphens (-), colons (:), or periods (.).
|
||||||
# the regular expression: `[a-zA-Z\\d-:\\.]+`.
|
# * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
|
||||||
# * `QUEUE_ID` can contain uppercase and lowercase letters,
|
# hyphens (-). The maximum length is 100 characters.
|
||||||
# numbers, and hyphens; that is, it must match the regular
|
|
||||||
# expression: `[a-zA-Z\\d-]+`. The maximum length is 100
|
|
||||||
# characters.
|
|
||||||
# Caller-specified and required in CreateQueueRequest, after which
|
# Caller-specified and required in CreateQueueRequest, after which
|
||||||
# it becomes output only.
|
# it becomes output only.
|
||||||
# @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object
|
# @param [Google::Apis::CloudtasksV2beta2::Queue] queue_object
|
||||||
|
@ -598,6 +595,10 @@ module Google
|
||||||
# PullTasksResponse. After the task is acknowledged, it will
|
# PullTasksResponse. After the task is acknowledged, it will
|
||||||
# not be returned by a later CloudTasks.PullTasks,
|
# not be returned by a later CloudTasks.PullTasks,
|
||||||
# CloudTasks.GetTask, or CloudTasks.ListTasks.
|
# CloudTasks.GetTask, or CloudTasks.ListTasks.
|
||||||
|
# To acknowledge multiple tasks at the same time, use
|
||||||
|
# [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
|
||||||
|
# or the batching documentation for your client library, for example
|
||||||
|
# https://developers.google.com/api-client-library/python/guide/batch.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required.
|
# Required.
|
||||||
# The task name. For example:
|
# The task name. For example:
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/beacons/proximity/
|
# @see https://developers.google.com/beacons/proximity/
|
||||||
module ProximitybeaconV1beta1
|
module ProximitybeaconV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20171017'
|
REVISION = '20171112'
|
||||||
|
|
||||||
# View and modify your beacons
|
# View and modify your beacons
|
||||||
AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'
|
AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry'
|
||||||
|
|
|
@ -66,6 +66,21 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :data
|
attr_accessor :data
|
||||||
|
|
||||||
|
# The distance away from the beacon at which this attachment should be
|
||||||
|
# delivered to a mobile app.
|
||||||
|
# Setting this to a value greater than zero indicates that the app should
|
||||||
|
# behave as if the beacon is "seen" when the mobile device is less than this
|
||||||
|
# distance away from the beacon.
|
||||||
|
# Different attachments on the same beacon can have different max distances.
|
||||||
|
# Note that even though this value is expressed with fractional meter
|
||||||
|
# precision, real-world behavior is likley to be much less precise than one
|
||||||
|
# meter, due to the nature of current Bluetooth radio technology.
|
||||||
|
# Optional. When not set or zero, the attachment should be delivered at the
|
||||||
|
# beacon's outer limit of detection.
|
||||||
|
# Corresponds to the JSON property `maxDistanceMeters`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :max_distance_meters
|
||||||
|
|
||||||
# Specifies what kind of attachment this is. Tells a client how to
|
# Specifies what kind of attachment this is. Tells a client how to
|
||||||
# interpret the `data` field. Format is <var>namespace/type</var>, for
|
# interpret the `data` field. Format is <var>namespace/type</var>, for
|
||||||
# example <code>scrupulous-wombat-12345/welcome-message</code>
|
# example <code>scrupulous-wombat-12345/welcome-message</code>
|
||||||
|
@ -80,6 +95,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@data = args[:data] if args.key?(:data)
|
@data = args[:data] if args.key?(:data)
|
||||||
|
@max_distance_meters = args[:max_distance_meters] if args.key?(:max_distance_meters)
|
||||||
@namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
|
@namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -152,36 +168,6 @@ module Google
|
||||||
# specified otherwise, this must conform to the
|
# specified otherwise, this must conform to the
|
||||||
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
||||||
# standard</a>. Values must be within normalized ranges.
|
# standard</a>. Values must be within normalized ranges.
|
||||||
# Example of normalization code in Python:
|
|
||||||
# def NormalizeLongitude(longitude):
|
|
||||||
# """Wraps decimal degrees longitude to [-180.0, 180.0]."""
|
|
||||||
# q, r = divmod(longitude, 360.0)
|
|
||||||
# if r > 180.0 or (r == 180.0 and q <= -1.0):
|
|
||||||
# return r - 360.0
|
|
||||||
# return r
|
|
||||||
# def NormalizeLatLng(latitude, longitude):
|
|
||||||
# """Wraps decimal degrees latitude and longitude to
|
|
||||||
# [-90.0, 90.0] and [-180.0, 180.0], respectively."""
|
|
||||||
# r = latitude % 360.0
|
|
||||||
# if r <= 90.0:
|
|
||||||
# return r, NormalizeLongitude(longitude)
|
|
||||||
# elif r >= 270.0:
|
|
||||||
# return r - 360, NormalizeLongitude(longitude)
|
|
||||||
# else:
|
|
||||||
# return 180 - r, NormalizeLongitude(longitude + 180.0)
|
|
||||||
# assert 180.0 == NormalizeLongitude(180.0)
|
|
||||||
# assert -180.0 == NormalizeLongitude(-180.0)
|
|
||||||
# assert -179.0 == NormalizeLongitude(181.0)
|
|
||||||
# assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
|
|
||||||
# assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
|
|
||||||
# assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
|
|
||||||
# assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
|
|
||||||
# assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
|
|
||||||
# assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
|
|
||||||
# assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
|
|
||||||
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
|
||||||
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
|
||||||
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
|
||||||
# Corresponds to the JSON property `latLng`
|
# Corresponds to the JSON property `latLng`
|
||||||
# @return [Google::Apis::ProximitybeaconV1beta1::LatLng]
|
# @return [Google::Apis::ProximitybeaconV1beta1::LatLng]
|
||||||
attr_accessor :lat_lng
|
attr_accessor :lat_lng
|
||||||
|
@ -662,36 +648,6 @@ module Google
|
||||||
# specified otherwise, this must conform to the
|
# specified otherwise, this must conform to the
|
||||||
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
||||||
# standard</a>. Values must be within normalized ranges.
|
# standard</a>. Values must be within normalized ranges.
|
||||||
# Example of normalization code in Python:
|
|
||||||
# def NormalizeLongitude(longitude):
|
|
||||||
# """Wraps decimal degrees longitude to [-180.0, 180.0]."""
|
|
||||||
# q, r = divmod(longitude, 360.0)
|
|
||||||
# if r > 180.0 or (r == 180.0 and q <= -1.0):
|
|
||||||
# return r - 360.0
|
|
||||||
# return r
|
|
||||||
# def NormalizeLatLng(latitude, longitude):
|
|
||||||
# """Wraps decimal degrees latitude and longitude to
|
|
||||||
# [-90.0, 90.0] and [-180.0, 180.0], respectively."""
|
|
||||||
# r = latitude % 360.0
|
|
||||||
# if r <= 90.0:
|
|
||||||
# return r, NormalizeLongitude(longitude)
|
|
||||||
# elif r >= 270.0:
|
|
||||||
# return r - 360, NormalizeLongitude(longitude)
|
|
||||||
# else:
|
|
||||||
# return 180 - r, NormalizeLongitude(longitude + 180.0)
|
|
||||||
# assert 180.0 == NormalizeLongitude(180.0)
|
|
||||||
# assert -180.0 == NormalizeLongitude(-180.0)
|
|
||||||
# assert -179.0 == NormalizeLongitude(181.0)
|
|
||||||
# assert (0.0, 0.0) == NormalizeLatLng(360.0, 0.0)
|
|
||||||
# assert (0.0, 0.0) == NormalizeLatLng(-360.0, 0.0)
|
|
||||||
# assert (85.0, 180.0) == NormalizeLatLng(95.0, 0.0)
|
|
||||||
# assert (-85.0, -170.0) == NormalizeLatLng(-95.0, 10.0)
|
|
||||||
# assert (90.0, 10.0) == NormalizeLatLng(90.0, 10.0)
|
|
||||||
# assert (-90.0, -10.0) == NormalizeLatLng(-90.0, -10.0)
|
|
||||||
# assert (0.0, -170.0) == NormalizeLatLng(-180.0, 10.0)
|
|
||||||
# assert (0.0, -170.0) == NormalizeLatLng(180.0, 10.0)
|
|
||||||
# assert (-90.0, 10.0) == NormalizeLatLng(270.0, 10.0)
|
|
||||||
# assert (90.0, 10.0) == NormalizeLatLng(-270.0, 10.0)
|
|
||||||
class LatLng
|
class LatLng
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -160,6 +160,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :data, :base64 => true, as: 'data'
|
property :data, :base64 => true, as: 'data'
|
||||||
|
property :max_distance_meters, as: 'maxDistanceMeters'
|
||||||
property :namespaced_type, as: 'namespacedType'
|
property :namespaced_type, as: 'namespacedType'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/storage/transfer
|
# @see https://cloud.google.com/storage/transfer
|
||||||
module StoragetransferV1
|
module StoragetransferV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170918'
|
REVISION = '20171109'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -719,8 +719,8 @@ module Google
|
||||||
attr_accessor :bytes_failed_to_delete_from_sink
|
attr_accessor :bytes_failed_to_delete_from_sink
|
||||||
|
|
||||||
# Bytes found in the data source that are scheduled to be transferred,
|
# Bytes found in the data source that are scheduled to be transferred,
|
||||||
# which will be copied, excluded based on conditions, or skipped due to
|
# excluding any that are filtered based on object conditions or skipped due
|
||||||
# failures.
|
# to sync.
|
||||||
# Corresponds to the JSON property `bytesFoundFromSource`
|
# Corresponds to the JSON property `bytesFoundFromSource`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :bytes_found_from_source
|
attr_accessor :bytes_found_from_source
|
||||||
|
@ -762,8 +762,8 @@ module Google
|
||||||
attr_accessor :objects_failed_to_delete_from_sink
|
attr_accessor :objects_failed_to_delete_from_sink
|
||||||
|
|
||||||
# Objects found in the data source that are scheduled to be transferred,
|
# Objects found in the data source that are scheduled to be transferred,
|
||||||
# which will be copied, excluded based on conditions, or skipped due to
|
# excluding any that are filtered based on object conditions or skipped due
|
||||||
# failures.
|
# to sync.
|
||||||
# Corresponds to the JSON property `objectsFoundFromSource`
|
# Corresponds to the JSON property `objectsFoundFromSource`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :objects_found_from_source
|
attr_accessor :objects_found_from_source
|
||||||
|
|
Loading…
Reference in New Issue