Autogenerated update (2020-05-07)

Delete:
- commentanalyzer_v1alpha1
- osconfig_v1beta

Update:
- adexchangebuyer2_v2beta1
- androidenterprise_v1
- androidpublisher_v1
- androidpublisher_v1_1
- androidpublisher_v2
- androidpublisher_v3
- bigquery_v2
- bigqueryconnection_v1beta1
- bigqueryreservation_v1
- bigqueryreservation_v1beta1
- binaryauthorization_v1
- binaryauthorization_v1beta1
- calendar_v3
- cloudasset_v1p1beta1
- cloudbilling_v1
- cloudbuild_v1
- clouddebugger_v2
- cloudidentity_v1beta1
- cloudiot_v1
- cloudresourcemanager_v1
- cloudresourcemanager_v1beta1
- cloudresourcemanager_v2
- cloudresourcemanager_v2beta1
- cloudscheduler_v1
- cloudscheduler_v1beta1
- cloudsearch_v1
- cloudshell_v1alpha1
- cloudtasks_v2
- cloudtasks_v2beta2
- cloudtasks_v2beta3
- cloudtrace_v2
- composer_v1beta1
- compute_alpha
- compute_beta
- compute_v1
- container_v1
- container_v1beta1
- containeranalysis_v1alpha1
- containeranalysis_v1beta1
- content_v2
- content_v2_1
- customsearch_v1
- datacatalog_v1beta1
- dataproc_v1
- dataproc_v1beta2
- dialogflow_v2
- dialogflow_v2beta1
- displayvideo_v1
- dlp_v2
- drive_v2
- drive_v3
- driveactivity_v2
- file_v1
- file_v1beta1
- firebase_v1beta1
- firebasehosting_v1beta1
- games_configuration_v1configuration
- games_management_v1management
- games_v1
- gameservices_v1beta
- healthcare_v1
- healthcare_v1beta1
- homegraph_v1
- iamcredentials_v1
- managedidentities_v1
- managedidentities_v1alpha1
- managedidentities_v1beta1
- memcache_v1beta2
- ml_v1
- monitoring_v3
- people_v1
- policytroubleshooter_v1
- policytroubleshooter_v1beta
- prod_tt_sasportal_v1alpha1
- remotebuildexecution_v1
- remotebuildexecution_v1alpha
- remotebuildexecution_v2
- run_v1
- run_v1alpha1
- runtimeconfig_v1beta1
- sasportal_v1alpha1
- script_v1
- secretmanager_v1
- secretmanager_v1beta1
- serviceconsumermanagement_v1
- serviceconsumermanagement_v1beta1
- servicecontrol_v1
- servicedirectory_v1beta1
- servicemanagement_v1
- servicenetworking_v1
- servicenetworking_v1beta
- serviceusage_v1
- serviceusage_v1beta1
- sheets_v4
- sourcerepo_v1
- speech_v1
- speech_v1p1beta1
- storage_v1
- tagmanager_v1
- tagmanager_v2
- testing_v1
- toolresults_v1beta3
- vault_v1
- videointelligence_v1
- videointelligence_v1beta2
- videointelligence_v1p1beta1
- videointelligence_v1p2beta1
- videointelligence_v1p3beta1
- youtube_partner_v1
- youtube_v3
This commit is contained in:
Google APIs committed 2020-05-07 20:07:42 +00:00
1 parent 334a41b6f9
commit 2aab01171a
308 files changed
+40747 -16123

No files matched your search

@@ -26,63 +26,12 @@ module Google
class AndroidAttributes
include Google::Apis::Core::Hashable
# Baseband version of Android device.
# Corresponds to the JSON property `basebandVersion`
# @return [String]
attr_accessor :baseband_version
# Device bootloader version. Example: 0.6.7.
# Corresponds to the JSON property `bootloaderVersion`
# @return [String]
attr_accessor :bootloader_version
# Build number of Android device.
# Corresponds to the JSON property `buildNumber`
# @return [String]
attr_accessor :build_number
# Whether developer options is enabled on device.
# Corresponds to the JSON property `enabledDeveloperOptions`
# @return [Boolean]
attr_accessor :enabled_developer_options
alias_method :enabled_developer_options?, :enabled_developer_options
# Whether applications from unknown sources can be installed on device.
# Corresponds to the JSON property `enabledUnknownSources`
# @return [Boolean]
attr_accessor :enabled_unknown_sources
alias_method :enabled_unknown_sources?, :enabled_unknown_sources
# Whether adb (USB debugging) is enabled on device.
# Corresponds to the JSON property `enabledUsbDebugging`
# @return [Boolean]
attr_accessor :enabled_usb_debugging
alias_method :enabled_usb_debugging?, :enabled_usb_debugging
# Device encryption state.
# Corresponds to the JSON property `encryptionState`
# @return [String]
attr_accessor :encryption_state
# Device hardware. Example: Sprout.
# Corresponds to the JSON property `hardware`
# @return [String]
attr_accessor :hardware
# Kernel version of Android device.
# Corresponds to the JSON property `kernelVersion`
# @return [String]
attr_accessor :kernel_version
# Domain name for Google accounts on device. Type for other accounts on
# device. Will only be populated if |ownership_privilege| is
# |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in
# to the device policy app if that account's domain has only one account.
# Examples: "com.example", "xyz.com".
# Corresponds to the JSON property `otherAccounts`
# @return [Array<String>]
attr_accessor :other_accounts
# Whether this account is on an owner/primary profile.
# For phones, only true for owner profiles. Android 4+ devices
# can have secondary or restricted user profiles.
@@ -96,11 +45,6 @@ module Google
# @return [String]
attr_accessor :ownership_privilege
# OS security patch update time on device.
# Corresponds to the JSON property `securityPatchTime`
# @return [String]
attr_accessor :security_patch_time
# Whether device supports Android work profiles. If false, this service
# will not block access to corp data even if an administrator turns on the
# "Enforce Work Profile" policy.
@@ -115,19 +59,9 @@ module Google
# Update properties of this object
def update!(**args)
@baseband_version = args[:baseband_version] if args.key?(:baseband_version)
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
@build_number = args[:build_number] if args.key?(:build_number)
@enabled_developer_options = args[:enabled_developer_options] if args.key?(:enabled_developer_options)
@enabled_unknown_sources = args[:enabled_unknown_sources] if args.key?(:enabled_unknown_sources)
@enabled_usb_debugging = args[:enabled_usb_debugging] if args.key?(:enabled_usb_debugging)
@encryption_state = args[:encryption_state] if args.key?(:encryption_state)
@hardware = args[:hardware] if args.key?(:hardware)
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
@other_accounts = args[:other_accounts] if args.key?(:other_accounts)
@owner_profile_account = args[:owner_profile_account] if args.key?(:owner_profile_account)
@ownership_privilege = args[:ownership_privilege] if args.key?(:ownership_privilege)
@security_patch_time = args[:security_patch_time] if args.key?(:security_patch_time)
@supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile)
end
end
@@ -209,6 +143,132 @@ module Google
end
end
# Resource representing ClientState and supports updates from API users
class ClientState
include Google::Apis::Core::Hashable
# The caller can specify asset tags for this resource
# Corresponds to the JSON property `assetTags`
# @return [Array<String>]
attr_accessor :asset_tags
# The compliance state of the resource as specified by the API client.
# Corresponds to the JSON property `complianceState`
# @return [String]
attr_accessor :compliance_state
# Output only. The time the client state data was created.
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# This field may be used to store a unique identifier for the API resource
# within which these CustomAttributes are a field.
# Corresponds to the JSON property `customId`
# @return [String]
attr_accessor :custom_id
# The token that needs to be passed back for
# concurrency control in updates. Token needs to be passed back
# in UpdateRequest
# Corresponds to the JSON property `etag`
# @return [String]
attr_accessor :etag
# The Health score of the resource
# Corresponds to the JSON property `healthScore`
# @return [String]
attr_accessor :health_score
# The map of key-value attributes stored by callers specific to a
# device. The total serialized length of this map may not exceed 10KB. No
# limit is placed on the number of attributes in a map.
# Corresponds to the JSON property `keyValuePairs`
# @return [Hash<String,Google::Apis::CloudidentityV1beta1::CustomAttributeValue>]
attr_accessor :key_value_pairs
# Output only. The time the client state data was last updated.
# Corresponds to the JSON property `lastUpdateTime`
# @return [String]
attr_accessor :last_update_time
# The management state of the resource as specified by the API client.
# Corresponds to the JSON property `managed`
# @return [String]
attr_accessor :managed
# Output only. [Resource name](https://cloud.google.com/apis/design/
# resource_names) of
# the ClientState in format:
# `devices/`device_id`/deviceUsers/`device_user_id`/clientState/`partner_id``,
# where partner_id corresponds to the partner storing the data.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The owner of the ClientState
# Corresponds to the JSON property `ownerType`
# @return [String]
attr_accessor :owner_type
# A descriptive cause of the health score.
# Corresponds to the JSON property `scoreReason`
# @return [String]
attr_accessor :score_reason
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@asset_tags = args[:asset_tags] if args.key?(:asset_tags)
@compliance_state = args[:compliance_state] if args.key?(:compliance_state)
@create_time = args[:create_time] if args.key?(:create_time)
@custom_id = args[:custom_id] if args.key?(:custom_id)
@etag = args[:etag] if args.key?(:etag)
@health_score = args[:health_score] if args.key?(:health_score)
@key_value_pairs = args[:key_value_pairs] if args.key?(:key_value_pairs)
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
@managed = args[:managed] if args.key?(:managed)
@name = args[:name] if args.key?(:name)
@owner_type = args[:owner_type] if args.key?(:owner_type)
@score_reason = args[:score_reason] if args.key?(:score_reason)
end
end
# Additional custom attribute values may be one of these types
class CustomAttributeValue
include Google::Apis::Core::Hashable
# Represents a boolean value.
# Corresponds to the JSON property `boolValue`
# @return [Boolean]
attr_accessor :bool_value
alias_method :bool_value?, :bool_value
# Represents a double value.
# Corresponds to the JSON property `numberValue`
# @return [Float]
attr_accessor :number_value
# Represents a string value.
# Corresponds to the JSON property `stringValue`
# @return [String]
attr_accessor :string_value
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@bool_value = args[:bool_value] if args.key?(:bool_value)
@number_value = args[:number_value] if args.key?(:number_value)
@string_value = args[:string_value] if args.key?(:string_value)
end
end
# Represents a Device known to Google Cloud, independent of the device
# ownership, type, and whether it is assigned or in use by a user.
class Device
@@ -224,11 +284,26 @@ module Google
# @return [String]
attr_accessor :asset_tag
# Output only. Baseband version of the device.
# Corresponds to the JSON property `basebandVersion`
# @return [String]
attr_accessor :baseband_version
# Output only. Device bootloader version. Example: 0.6.7.
# Corresponds to the JSON property `bootloaderVersion`
# @return [String]
attr_accessor :bootloader_version
# Output only. Device brand. Example: Samsung.
# Corresponds to the JSON property `brand`
# @return [String]
attr_accessor :brand
# Output only. Build number of the device.
# Corresponds to the JSON property `buildNumber`
# @return [String]
attr_accessor :build_number
# Output only. Represents whether the Device is compromised.
# Corresponds to the JSON property `compromisedState`
# @return [String]
@@ -246,11 +321,33 @@ module Google
# @return [String]
attr_accessor :device_type
# Output only. Whether developer options is enabled on device.
# Corresponds to the JSON property `enabledDeveloperOptions`
# @return [Boolean]
attr_accessor :enabled_developer_options
alias_method :enabled_developer_options?, :enabled_developer_options
# Output only. Whether USB debugging is enabled on device.
# Corresponds to the JSON property `enabledUsbDebugging`
# @return [Boolean]
attr_accessor :enabled_usb_debugging
alias_method :enabled_usb_debugging?, :enabled_usb_debugging
# Output only. Device encryption state.
# Corresponds to the JSON property `encryptionState`
# @return [String]
attr_accessor :encryption_state
# Output only. IMEI number of device if GSM device; empty otherwise.
# Corresponds to the JSON property `imei`
# @return [String]
attr_accessor :imei
# Output only. Kernel version of the device.
# Corresponds to the JSON property `kernelVersion`
# @return [String]
attr_accessor :kernel_version
# Most recent time when device synced with this service.
# Corresponds to the JSON property `lastSyncTime`
# @return [String]
@@ -294,6 +391,16 @@ module Google
# @return [String]
attr_accessor :os_version
# Output only. Domain name for Google accounts on device. Type for other
# accounts on
# device. On Android, will only be populated if |ownership_privilege| is
# |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in
# to the device policy app if that account's domain has only one account.
# Examples: "com.example", "xyz.com".
# Corresponds to the JSON property `otherAccounts`
# @return [Array<String>]
attr_accessor :other_accounts
# Whether the device is owned by the company or an individual
# Corresponds to the JSON property `ownerType`
# @return [String]
@@ -304,6 +411,11 @@ module Google
# @return [String]
attr_accessor :release_version
# Output only. OS security patch update time on device.
# Corresponds to the JSON property `securityPatchTime`
# @return [String]
attr_accessor :security_patch_time
# Serial Number of device. Example: HT82V1A01076.
# Corresponds to the JSON property `serialNumber`
# @return [String]
@@ -322,11 +434,18 @@ module Google
def update!(**args)
@android_specific_attributes = args[:android_specific_attributes] if args.key?(:android_specific_attributes)
@asset_tag = args[:asset_tag] if args.key?(:asset_tag)
@baseband_version = args[:baseband_version] if args.key?(:baseband_version)
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
@brand = args[:brand] if args.key?(:brand)
@build_number = args[:build_number] if args.key?(:build_number)
@compromised_state = args[:compromised_state] if args.key?(:compromised_state)
@create_time = args[:create_time] if args.key?(:create_time)
@device_type = args[:device_type] if args.key?(:device_type)
@enabled_developer_options = args[:enabled_developer_options] if args.key?(:enabled_developer_options)
@enabled_usb_debugging = args[:enabled_usb_debugging] if args.key?(:enabled_usb_debugging)
@encryption_state = args[:encryption_state] if args.key?(:encryption_state)
@imei = args[:imei] if args.key?(:imei)
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
@management_state = args[:management_state] if args.key?(:management_state)
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
@@ -335,8 +454,10 @@ module Google
@name = args[:name] if args.key?(:name)
@network_operator = args[:network_operator] if args.key?(:network_operator)
@os_version = args[:os_version] if args.key?(:os_version)
@other_accounts = args[:other_accounts] if args.key?(:other_accounts)
@owner_type = args[:owner_type] if args.key?(:owner_type)
@release_version = args[:release_version] if args.key?(:release_version)
@security_patch_time = args[:security_patch_time] if args.key?(:security_patch_time)
@serial_number = args[:serial_number] if args.key?(:serial_number)
@wifi_mac_addresses = args[:wifi_mac_addresses] if args.key?(:wifi_mac_addresses)
end
@@ -614,6 +735,33 @@ module Google
end
end
# Response message that is returned in LRO result of ListClientStates
# Operation.
class ListClientStatesResponse
include Google::Apis::Core::Hashable
# Client states meeting the list restrictions.
# Corresponds to the JSON property `clientStates`
# @return [Array<Google::Apis::CloudidentityV1beta1::ClientState>]
attr_accessor :client_states
# Token to retrieve the next page of results. Empty if there are no more
# results.
# Corresponds to the JSON property `nextPageToken`
# @return [String]
attr_accessor :next_page_token
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@client_states = args[:client_states] if args.key?(:client_states)
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end
end
# Response message that is returned in LRO result of ListDeviceUsers Operation.
class ListDeviceUsersResponse
include Google::Apis::Core::Hashable
@@ -52,6 +52,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ClientState
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CustomAttributeValue
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Device
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -88,6 +100,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ListClientStatesResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListDeviceUsersResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -205,19 +223,9 @@ module Google
class AndroidAttributes
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :baseband_version, as: 'basebandVersion'
property :bootloader_version, as: 'bootloaderVersion'
property :build_number, as: 'buildNumber'
property :enabled_developer_options, as: 'enabledDeveloperOptions'
property :enabled_unknown_sources, as: 'enabledUnknownSources'
property :enabled_usb_debugging, as: 'enabledUsbDebugging'
property :encryption_state, as: 'encryptionState'
property :hardware, as: 'hardware'
property :kernel_version, as: 'kernelVersion'
collection :other_accounts, as: 'otherAccounts'
property :owner_profile_account, as: 'ownerProfileAccount'
property :ownership_privilege, as: 'ownershipPrivilege'
property :security_patch_time, as: 'securityPatchTime'
property :supports_work_profile, as: 'supportsWorkProfile'
end
end
@@ -254,17 +262,52 @@ module Google
end
end
class ClientState
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :asset_tags, as: 'assetTags'
property :compliance_state, as: 'complianceState'
property :create_time, as: 'createTime'
property :custom_id, as: 'customId'
property :etag, as: 'etag'
property :health_score, as: 'healthScore'
hash :key_value_pairs, as: 'keyValuePairs', class: Google::Apis::CloudidentityV1beta1::CustomAttributeValue, decorator: Google::Apis::CloudidentityV1beta1::CustomAttributeValue::Representation
property :last_update_time, as: 'lastUpdateTime'
property :managed, as: 'managed'
property :name, as: 'name'
property :owner_type, as: 'ownerType'
property :score_reason, as: 'scoreReason'
end
end
class CustomAttributeValue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :bool_value, as: 'boolValue'
property :number_value, as: 'numberValue'
property :string_value, as: 'stringValue'
end
end
class Device
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::AndroidAttributes, decorator: Google::Apis::CloudidentityV1beta1::AndroidAttributes::Representation
property :asset_tag, as: 'assetTag'
property :baseband_version, as: 'basebandVersion'
property :bootloader_version, as: 'bootloaderVersion'
property :brand, as: 'brand'
property :build_number, as: 'buildNumber'
property :compromised_state, as: 'compromisedState'
property :create_time, as: 'createTime'
property :device_type, as: 'deviceType'
property :enabled_developer_options, as: 'enabledDeveloperOptions'
property :enabled_usb_debugging, as: 'enabledUsbDebugging'
property :encryption_state, as: 'encryptionState'
property :imei, as: 'imei'
property :kernel_version, as: 'kernelVersion'
property :last_sync_time, as: 'lastSyncTime'
property :management_state, as: 'managementState'
property :manufacturer, as: 'manufacturer'
@@ -273,8 +316,10 @@ module Google
property :name, as: 'name'
property :network_operator, as: 'networkOperator'
property :os_version, as: 'osVersion'
collection :other_accounts, as: 'otherAccounts'
property :owner_type, as: 'ownerType'
property :release_version, as: 'releaseVersion'
property :security_patch_time, as: 'securityPatchTime'
property :serial_number, as: 'serialNumber'
collection :wifi_mac_addresses, as: 'wifiMacAddresses'
end
@@ -342,6 +387,15 @@ module Google
end
end
class ListClientStatesResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :client_states, as: 'clientStates', class: Google::Apis::CloudidentityV1beta1::ClientState, decorator: Google::Apis::CloudidentityV1beta1::ClientState::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class ListDeviceUsersResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation