Autogenerated update (2020-02-08)
Update: - androidenterprise_v1 - appsactivity_v1 - bigquerydatatransfer_v1 - datacatalog_v1beta1 - doubleclickbidmanager_v1_1 - firestore_v1 - firestore_v1beta1 - ml_v1 - osconfig_v1beta - youtube_partner_v1
This commit is contained in:
parent
9fed8c58fe
commit
e455a458de
|
@ -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 = '20200115'
|
REVISION = '20200129'
|
||||||
|
|
||||||
# Manage corporate Android devices
|
# Manage corporate Android devices
|
||||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||||
|
|
|
@ -208,54 +208,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the device policy. This method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] user_id
|
|
||||||
# The ID of the user.
|
|
||||||
# @param [String] device_id
|
|
||||||
# The ID of the device.
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::Device] device_object
|
|
||||||
# @param [String] update_mask
|
|
||||||
# Mask that identifies which fields to update. If not set, all modifiable fields
|
|
||||||
# will be modified.
|
|
||||||
# When set in a query parameter, this field should be specified as updateMask=<
|
|
||||||
# field1>,<field2>,...
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::Device] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::Device]
|
|
||||||
#
|
|
||||||
# @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 patch_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
|
||||||
command.request_object = device_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::Device
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['userId'] = user_id unless user_id.nil?
|
|
||||||
command.params['deviceId'] = device_id unless device_id.nil?
|
|
||||||
command.query['updateMask'] = update_mask unless update_mask.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
|
|
||||||
|
|
||||||
# Sets whether a device's access to Google services is enabled or disabled. The
|
# Sets whether a device's access to Google services is enabled or disabled. The
|
||||||
# device state takes effect only if enforcing EMM policies on Android devices is
|
# device state takes effect only if enforcing EMM policies on Android devices is
|
||||||
# enabled in the Google Admin Console. Otherwise, the device state is ignored
|
# enabled in the Google Admin Console. Otherwise, the device state is ignored
|
||||||
|
@ -995,55 +947,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Adds or updates an entitlement to an app for a user. This method supports
|
|
||||||
# patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] user_id
|
|
||||||
# The ID of the user.
|
|
||||||
# @param [String] entitlement_id
|
|
||||||
# The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::Entitlement] entitlement_object
|
|
||||||
# @param [Boolean] install
|
|
||||||
# Set to true to also install the product on all the user's devices where
|
|
||||||
# possible. Failure to install on one or more devices will not prevent this
|
|
||||||
# operation from returning successfully, as long as the entitlement was
|
|
||||||
# successfully assigned to the user.
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::Entitlement] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::Entitlement]
|
|
||||||
#
|
|
||||||
# @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 patch_entitlement(enterprise_id, user_id, entitlement_id, entitlement_object = nil, install: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
|
||||||
command.request_object = entitlement_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::Entitlement::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::Entitlement
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['userId'] = user_id unless user_id.nil?
|
|
||||||
command.params['entitlementId'] = entitlement_id unless entitlement_id.nil?
|
|
||||||
command.query['install'] = install unless install.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
|
|
||||||
|
|
||||||
# Adds or updates an entitlement to an app for a user.
|
# Adds or updates an entitlement to an app for a user.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
|
@ -1324,54 +1227,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Requests to install the latest version of an app to a device. If the app is
|
|
||||||
# already installed, then it is updated to the latest version if necessary. This
|
|
||||||
# method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] user_id
|
|
||||||
# The ID of the user.
|
|
||||||
# @param [String] device_id
|
|
||||||
# The Android ID of the device.
|
|
||||||
# @param [String] install_id
|
|
||||||
# The ID of the product represented by the install, e.g. "app:com.google.android.
|
|
||||||
# gm".
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::Install] install_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::Install] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::Install]
|
|
||||||
#
|
|
||||||
# @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 patch_install(enterprise_id, user_id, device_id, install_id, install_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
|
||||||
command.request_object = install_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::Install::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::Install
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['userId'] = user_id unless user_id.nil?
|
|
||||||
command.params['deviceId'] = device_id unless device_id.nil?
|
|
||||||
command.params['installId'] = install_id unless install_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
|
|
||||||
|
|
||||||
# Requests to install the latest version of an app to a device. If the app is
|
# Requests to install the latest version of an app to a device. If the app is
|
||||||
# already installed, then it is updated to the latest version if necessary.
|
# already installed, then it is updated to the latest version if necessary.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
|
@ -1543,53 +1398,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Adds or updates a per-device managed configuration for an app for the
|
|
||||||
# specified device. This method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] user_id
|
|
||||||
# The ID of the user.
|
|
||||||
# @param [String] device_id
|
|
||||||
# The Android ID of the device.
|
|
||||||
# @param [String] managed_configuration_for_device_id
|
|
||||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
|
||||||
# android.gm".
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
|
||||||
#
|
|
||||||
# @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 patch_managedconfigurationsfordevice(enterprise_id, user_id, device_id, managed_configuration_for_device_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
||||||
command.request_object = managed_configuration_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['userId'] = user_id unless user_id.nil?
|
|
||||||
command.params['deviceId'] = device_id unless device_id.nil?
|
|
||||||
command.params['managedConfigurationForDeviceId'] = managed_configuration_for_device_id unless managed_configuration_for_device_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
|
|
||||||
|
|
||||||
# Adds or updates a per-device managed configuration for an app for the
|
# Adds or updates a per-device managed configuration for an app for the
|
||||||
# specified device.
|
# specified device.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
|
@ -1753,54 +1561,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Adds or updates the managed configuration settings for an app for the
|
|
||||||
# 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
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] user_id
|
|
||||||
# The ID of the user.
|
|
||||||
# @param [String] managed_configuration_for_user_id
|
|
||||||
# The ID of the managed configuration (a product ID), e.g. "app:com.google.
|
|
||||||
# android.gm".
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] managed_configuration_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::ManagedConfiguration] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::ManagedConfiguration]
|
|
||||||
#
|
|
||||||
# @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 patch_managedconfigurationsforuser(enterprise_id, user_id, managed_configuration_for_user_id, managed_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
||||||
command.request_object = managed_configuration_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::ManagedConfiguration::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::ManagedConfiguration
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['userId'] = user_id unless user_id.nil?
|
|
||||||
command.params['managedConfigurationForUserId'] = managed_configuration_for_user_id unless managed_configuration_for_user_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
|
|
||||||
|
|
||||||
# Adds or updates the managed configuration settings for an app for the
|
# Adds or updates the managed configuration settings for an app for the
|
||||||
# specified user. If you support the Managed configurations iframe, you can
|
# specified user. If you support the Managed configurations iframe, you can
|
||||||
# apply managed configurations to a user by specifying an mcmId and its
|
# apply managed configurations to a user by specifying an mcmId and its
|
||||||
|
@ -2485,48 +2245,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates a cluster. This method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] page_id
|
|
||||||
# The ID of the page.
|
|
||||||
# @param [String] cluster_id
|
|
||||||
# The ID of the cluster.
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::StoreCluster] store_cluster_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StoreCluster] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::StoreCluster]
|
|
||||||
#
|
|
||||||
# @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 patch_storelayoutcluster(enterprise_id, page_id, cluster_id, store_cluster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
||||||
command.request_object = store_cluster_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::StoreCluster::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::StoreCluster
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['pageId'] = page_id unless page_id.nil?
|
|
||||||
command.params['clusterId'] = cluster_id unless cluster_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
|
|
||||||
|
|
||||||
# Updates a cluster.
|
# Updates a cluster.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
|
@ -2708,45 +2426,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the content of a store page. This method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] page_id
|
|
||||||
# The ID of the page.
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::StorePage] store_page_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::StorePage] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::StorePage]
|
|
||||||
#
|
|
||||||
# @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 patch_storelayoutpage(enterprise_id, page_id, store_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/storeLayout/pages/{pageId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
||||||
command.request_object = store_page_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::StorePage::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::StorePage
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['pageId'] = page_id unless page_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
|
|
||||||
|
|
||||||
# Updates the content of a store page.
|
# Updates the content of a store page.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
|
@ -3050,49 +2729,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the details of an EMM-managed user.
|
|
||||||
# Can be used with EMM-managed users only (not Google managed users). Pass the
|
|
||||||
# new details in the Users resource in the request body. Only the displayName
|
|
||||||
# field can be changed. Other fields must either be unset or have the currently
|
|
||||||
# active value. This method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] user_id
|
|
||||||
# The ID of the user.
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::User] user_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::User] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::User]
|
|
||||||
#
|
|
||||||
# @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 patch_user(enterprise_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
||||||
command.request_object = user_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::User
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['userId'] = user_id unless user_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
|
|
||||||
|
|
||||||
# Revokes access to all devices currently provisioned to the user. The user will
|
# Revokes access to all devices currently provisioned to the user. The user will
|
||||||
# no longer be able to use the managed Play store on any of their managed
|
# no longer be able to use the managed Play store on any of their managed
|
||||||
# devices.
|
# devices.
|
||||||
|
@ -3387,45 +3023,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates an existing web app. This method supports patch semantics.
|
|
||||||
# @param [String] enterprise_id
|
|
||||||
# The ID of the enterprise.
|
|
||||||
# @param [String] web_app_id
|
|
||||||
# The ID of the web app.
|
|
||||||
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
|
||||||
#
|
|
||||||
# @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 patch_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webApps/{webAppId}', options)
|
|
||||||
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
||||||
command.request_object = web_app_object
|
|
||||||
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
||||||
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
|
||||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
||||||
command.params['webAppId'] = web_app_id unless web_app_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
|
|
||||||
|
|
||||||
# Updates an existing web app.
|
# Updates an existing web app.
|
||||||
# @param [String] enterprise_id
|
# @param [String] enterprise_id
|
||||||
# The ID of the enterprise.
|
# The ID of the enterprise.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/google-apps/activity/
|
# @see https://developers.google.com/google-apps/activity/
|
||||||
module AppsactivityV1
|
module AppsactivityV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190331'
|
REVISION = '20200128'
|
||||||
|
|
||||||
# View the activity history of your Google apps
|
# View the activity history of your Google apps
|
||||||
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigquery/
|
# @see https://cloud.google.com/bigquery/
|
||||||
module BigquerydatatransferV1
|
module BigquerydatatransferV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191206'
|
REVISION = '20200203'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -320,6 +320,27 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Represents preferences for sending email notifications for transfer run
|
||||||
|
# events.
|
||||||
|
class EmailPreferences
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# If true, email notifications will be sent on transfer run failures.
|
||||||
|
# Corresponds to the JSON property `enableFailureEmail`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :enable_failure_email
|
||||||
|
alias_method :enable_failure_email?, :enable_failure_email
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@enable_failure_email = args[:enable_failure_email] if args.key?(:enable_failure_email)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
# A generic empty message that you can re-use to avoid defining duplicated
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
# empty messages in your APIs. A typical example is to use it as the request
|
||||||
# or the response type of an API method. For instance:
|
# or the response type of an API method. For instance:
|
||||||
|
@ -774,6 +795,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :display_name
|
attr_accessor :display_name
|
||||||
|
|
||||||
|
# Represents preferences for sending email notifications for transfer run
|
||||||
|
# events.
|
||||||
|
# Corresponds to the JSON property `emailPreferences`
|
||||||
|
# @return [Google::Apis::BigquerydatatransferV1::EmailPreferences]
|
||||||
|
attr_accessor :email_preferences
|
||||||
|
|
||||||
# The resource name of the transfer config.
|
# The resource name of the transfer config.
|
||||||
# Transfer config names have the form of
|
# Transfer config names have the form of
|
||||||
# `projects/`project_id`/locations/`region`/transferConfigs/`config_id``.
|
# `projects/`project_id`/locations/`region`/transferConfigs/`config_id``.
|
||||||
|
@ -790,6 +817,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :next_run_time
|
attr_accessor :next_run_time
|
||||||
|
|
||||||
|
# Pub/Sub topic where notifications will be sent after transfer runs
|
||||||
|
# associated with this transfer config finish.
|
||||||
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :notification_pubsub_topic
|
||||||
|
|
||||||
# Data transfer specific parameters.
|
# Data transfer specific parameters.
|
||||||
# Corresponds to the JSON property `params`
|
# Corresponds to the JSON property `params`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
|
@ -844,8 +877,10 @@ module Google
|
||||||
@destination_dataset_id = args[:destination_dataset_id] if args.key?(:destination_dataset_id)
|
@destination_dataset_id = args[:destination_dataset_id] if args.key?(:destination_dataset_id)
|
||||||
@disabled = args[:disabled] if args.key?(:disabled)
|
@disabled = args[:disabled] if args.key?(:disabled)
|
||||||
@display_name = args[:display_name] if args.key?(:display_name)
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
|
@email_preferences = args[:email_preferences] if args.key?(:email_preferences)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@next_run_time = args[:next_run_time] if args.key?(:next_run_time)
|
@next_run_time = args[:next_run_time] if args.key?(:next_run_time)
|
||||||
|
@notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
|
||||||
@params = args[:params] if args.key?(:params)
|
@params = args[:params] if args.key?(:params)
|
||||||
@schedule = args[:schedule] if args.key?(:schedule)
|
@schedule = args[:schedule] if args.key?(:schedule)
|
||||||
@schedule_options = args[:schedule_options] if args.key?(:schedule_options)
|
@schedule_options = args[:schedule_options] if args.key?(:schedule_options)
|
||||||
|
@ -900,6 +935,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :destination_dataset_id
|
attr_accessor :destination_dataset_id
|
||||||
|
|
||||||
|
# Represents preferences for sending email notifications for transfer run
|
||||||
|
# events.
|
||||||
|
# Corresponds to the JSON property `emailPreferences`
|
||||||
|
# @return [Google::Apis::BigquerydatatransferV1::EmailPreferences]
|
||||||
|
attr_accessor :email_preferences
|
||||||
|
|
||||||
# Output only. Time when transfer run ended.
|
# Output only. Time when transfer run ended.
|
||||||
# Parameter ignored by server for input requests.
|
# Parameter ignored by server for input requests.
|
||||||
# Corresponds to the JSON property `endTime`
|
# Corresponds to the JSON property `endTime`
|
||||||
|
@ -925,6 +966,12 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :name
|
attr_accessor :name
|
||||||
|
|
||||||
|
# Output only. Pub/Sub topic where a notification will be sent after this
|
||||||
|
# transfer run finishes
|
||||||
|
# Corresponds to the JSON property `notificationPubsubTopic`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :notification_pubsub_topic
|
||||||
|
|
||||||
# Output only. Data transfer specific parameters.
|
# Output only. Data transfer specific parameters.
|
||||||
# Corresponds to the JSON property `params`
|
# Corresponds to the JSON property `params`
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
|
@ -979,9 +1026,11 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@data_source_id = args[:data_source_id] if args.key?(:data_source_id)
|
@data_source_id = args[:data_source_id] if args.key?(:data_source_id)
|
||||||
@destination_dataset_id = args[:destination_dataset_id] if args.key?(:destination_dataset_id)
|
@destination_dataset_id = args[:destination_dataset_id] if args.key?(:destination_dataset_id)
|
||||||
|
@email_preferences = args[:email_preferences] if args.key?(:email_preferences)
|
||||||
@end_time = args[:end_time] if args.key?(:end_time)
|
@end_time = args[:end_time] if args.key?(:end_time)
|
||||||
@error_status = args[:error_status] if args.key?(:error_status)
|
@error_status = args[:error_status] if args.key?(:error_status)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic)
|
||||||
@params = args[:params] if args.key?(:params)
|
@params = args[:params] if args.key?(:params)
|
||||||
@run_time = args[:run_time] if args.key?(:run_time)
|
@run_time = args[:run_time] if args.key?(:run_time)
|
||||||
@schedule = args[:schedule] if args.key?(:schedule)
|
@schedule = args[:schedule] if args.key?(:schedule)
|
||||||
|
|
|
@ -46,6 +46,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class EmailPreferences
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -209,6 +215,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class EmailPreferences
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :enable_failure_email, as: 'enableFailureEmail'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -339,8 +352,11 @@ module Google
|
||||||
property :destination_dataset_id, as: 'destinationDatasetId'
|
property :destination_dataset_id, as: 'destinationDatasetId'
|
||||||
property :disabled, as: 'disabled'
|
property :disabled, as: 'disabled'
|
||||||
property :display_name, as: 'displayName'
|
property :display_name, as: 'displayName'
|
||||||
|
property :email_preferences, as: 'emailPreferences', class: Google::Apis::BigquerydatatransferV1::EmailPreferences, decorator: Google::Apis::BigquerydatatransferV1::EmailPreferences::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :next_run_time, as: 'nextRunTime'
|
property :next_run_time, as: 'nextRunTime'
|
||||||
|
property :notification_pubsub_topic, as: 'notificationPubsubTopic'
|
||||||
hash :params, as: 'params'
|
hash :params, as: 'params'
|
||||||
property :schedule, as: 'schedule'
|
property :schedule, as: 'schedule'
|
||||||
property :schedule_options, as: 'scheduleOptions', class: Google::Apis::BigquerydatatransferV1::ScheduleOptions, decorator: Google::Apis::BigquerydatatransferV1::ScheduleOptions::Representation
|
property :schedule_options, as: 'scheduleOptions', class: Google::Apis::BigquerydatatransferV1::ScheduleOptions, decorator: Google::Apis::BigquerydatatransferV1::ScheduleOptions::Representation
|
||||||
|
@ -365,10 +381,13 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :data_source_id, as: 'dataSourceId'
|
property :data_source_id, as: 'dataSourceId'
|
||||||
property :destination_dataset_id, as: 'destinationDatasetId'
|
property :destination_dataset_id, as: 'destinationDatasetId'
|
||||||
|
property :email_preferences, as: 'emailPreferences', class: Google::Apis::BigquerydatatransferV1::EmailPreferences, decorator: Google::Apis::BigquerydatatransferV1::EmailPreferences::Representation
|
||||||
|
|
||||||
property :end_time, as: 'endTime'
|
property :end_time, as: 'endTime'
|
||||||
property :error_status, as: 'errorStatus', class: Google::Apis::BigquerydatatransferV1::Status, decorator: Google::Apis::BigquerydatatransferV1::Status::Representation
|
property :error_status, as: 'errorStatus', class: Google::Apis::BigquerydatatransferV1::Status, decorator: Google::Apis::BigquerydatatransferV1::Status::Representation
|
||||||
|
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
|
property :notification_pubsub_topic, as: 'notificationPubsubTopic'
|
||||||
hash :params, as: 'params'
|
hash :params, as: 'params'
|
||||||
property :run_time, as: 'runTime'
|
property :run_time, as: 'runTime'
|
||||||
property :schedule, as: 'schedule'
|
property :schedule, as: 'schedule'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/data-catalog/docs/
|
# @see https://cloud.google.com/data-catalog/docs/
|
||||||
module DatacatalogV1beta1
|
module DatacatalogV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200122'
|
REVISION = '20200206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -391,7 +391,13 @@ module Google
|
||||||
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec]
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec]
|
||||||
attr_accessor :gcs_fileset_spec
|
attr_accessor :gcs_fileset_spec
|
||||||
|
|
||||||
# Output only. The resource this metadata entry refers to.
|
# Output only. This field indicates the entry's source system that Data Catalog
|
||||||
|
# integrates with, such as BigQuery or Cloud Pub/Sub.
|
||||||
|
# Corresponds to the JSON property `integratedSystem`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :integrated_system
|
||||||
|
|
||||||
|
# The resource this metadata entry refers to.
|
||||||
# For Google Cloud Platform resources, `linked_resource` is the [full name of
|
# For Google Cloud Platform resources, `linked_resource` is the [full name of
|
||||||
# the
|
# the
|
||||||
# resource](https://cloud.google.com/apis/design/resource_names#
|
# resource](https://cloud.google.com/apis/design/resource_names#
|
||||||
|
@ -399,6 +405,9 @@ module Google
|
||||||
# For example, the `linked_resource` for a table resource from BigQuery is:
|
# For example, the `linked_resource` for a table resource from BigQuery is:
|
||||||
# * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/
|
# * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/
|
||||||
# tableId
|
# tableId
|
||||||
|
# Output only when Entry is of type in the EntryType enum. For entries with
|
||||||
|
# user_specified_type, this field is optional and defaults to an empty
|
||||||
|
# string.
|
||||||
# Corresponds to the JSON property `linkedResource`
|
# Corresponds to the JSON property `linkedResource`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :linked_resource
|
attr_accessor :linked_resource
|
||||||
|
@ -423,10 +432,33 @@ module Google
|
||||||
attr_accessor :source_system_timestamps
|
attr_accessor :source_system_timestamps
|
||||||
|
|
||||||
# The type of the entry.
|
# The type of the entry.
|
||||||
|
# Only used for Entries with types in the EntryType enum.
|
||||||
# Corresponds to the JSON property `type`
|
# Corresponds to the JSON property `type`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :type
|
attr_accessor :type
|
||||||
|
|
||||||
|
# This field indicates the entry's source system that Data Catalog does not
|
||||||
|
# integrate with. `user_specified_system` strings must begin with a letter
|
||||||
|
# or underscore and can only contain letters, numbers, and underscores; are
|
||||||
|
# case insensitive; must be at least 1 character and at most 64 characters
|
||||||
|
# long.
|
||||||
|
# Corresponds to the JSON property `userSpecifiedSystem`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :user_specified_system
|
||||||
|
|
||||||
|
# Entry type if it does not fit any of the input-allowed values listed in
|
||||||
|
# `EntryType` enum above. When creating an entry, users should check the
|
||||||
|
# enum values first, if nothing matches the entry to be created, then
|
||||||
|
# provide a custom value, for example "my_special_type".
|
||||||
|
# `user_specified_type` strings must begin with a letter or underscore and
|
||||||
|
# can only contain letters, numbers, and underscores; are case insensitive;
|
||||||
|
# must be at least 1 character and at most 64 characters long.
|
||||||
|
# Currently, only FILESET enum value is allowed. All other entries created
|
||||||
|
# through Data Catalog must use `user_specified_type`.
|
||||||
|
# Corresponds to the JSON property `userSpecifiedType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :user_specified_type
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -438,11 +470,14 @@ module Google
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@display_name = args[:display_name] if args.key?(:display_name)
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
@gcs_fileset_spec = args[:gcs_fileset_spec] if args.key?(:gcs_fileset_spec)
|
@gcs_fileset_spec = args[:gcs_fileset_spec] if args.key?(:gcs_fileset_spec)
|
||||||
|
@integrated_system = args[:integrated_system] if args.key?(:integrated_system)
|
||||||
@linked_resource = args[:linked_resource] if args.key?(:linked_resource)
|
@linked_resource = args[:linked_resource] if args.key?(:linked_resource)
|
||||||
@name = args[:name] if args.key?(:name)
|
@name = args[:name] if args.key?(:name)
|
||||||
@schema = args[:schema] if args.key?(:schema)
|
@schema = args[:schema] if args.key?(:schema)
|
||||||
@source_system_timestamps = args[:source_system_timestamps] if args.key?(:source_system_timestamps)
|
@source_system_timestamps = args[:source_system_timestamps] if args.key?(:source_system_timestamps)
|
||||||
@type = args[:type] if args.key?(:type)
|
@type = args[:type] if args.key?(:type)
|
||||||
|
@user_specified_system = args[:user_specified_system] if args.key?(:user_specified_system)
|
||||||
|
@user_specified_type = args[:user_specified_type] if args.key?(:user_specified_type)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -718,6 +753,60 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Response message for
|
||||||
|
# ListEntries.
|
||||||
|
class GoogleCloudDatacatalogV1beta1ListEntriesResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Entry details.
|
||||||
|
# Corresponds to the JSON property `entries`
|
||||||
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry>]
|
||||||
|
attr_accessor :entries
|
||||||
|
|
||||||
|
# Token to retrieve the next page of results. It is set to empty if no items
|
||||||
|
# remain in 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)
|
||||||
|
@entries = args[:entries] if args.key?(:entries)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Response message for
|
||||||
|
# ListEntryGroups.
|
||||||
|
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# EntryGroup details.
|
||||||
|
# Corresponds to the JSON property `entryGroups`
|
||||||
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup>]
|
||||||
|
attr_accessor :entry_groups
|
||||||
|
|
||||||
|
# Token to retrieve the next page of results. It is set to empty if no items
|
||||||
|
# remain in 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)
|
||||||
|
@entry_groups = args[:entry_groups] if args.key?(:entry_groups)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Response message for
|
# Response message for
|
||||||
# ListPolicyTags.
|
# ListPolicyTags.
|
||||||
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
||||||
|
@ -800,7 +889,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
|
# Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
|
||||||
# in a hierarchy. For example, consider the following hierachy:
|
# in a hierarchy. For example, consider the following hierarchy:
|
||||||
# Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
|
# Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation"
|
||||||
# contains three child policy tags: "LatLong", "City", and "ZipCode".
|
# contains three child policy tags: "LatLong", "City", and "ZipCode".
|
||||||
class GoogleCloudDatacatalogV1beta1PolicyTag
|
class GoogleCloudDatacatalogV1beta1PolicyTag
|
||||||
|
@ -907,9 +996,7 @@ module Google
|
||||||
|
|
||||||
# Specifies the ordering of results, currently supported case-sensitive
|
# Specifies the ordering of results, currently supported case-sensitive
|
||||||
# choices are:
|
# choices are:
|
||||||
# * `relevance`, only supports desecending
|
# * `relevance`, only supports descending
|
||||||
# * `last_access_timestamp [asc|desc]`, defaults to descending if not
|
|
||||||
# specified
|
|
||||||
# * `last_modified_timestamp [asc|desc]`, defaults to descending if not
|
# * `last_modified_timestamp [asc|desc]`, defaults to descending if not
|
||||||
# specified
|
# specified
|
||||||
# If not specified, defaults to `relevance` descending.
|
# If not specified, defaults to `relevance` descending.
|
||||||
|
|
|
@ -136,6 +136,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDatacatalogV1beta1ListEntriesResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -370,6 +382,7 @@ module Google
|
||||||
property :display_name, as: 'displayName'
|
property :display_name, as: 'displayName'
|
||||||
property :gcs_fileset_spec, as: 'gcsFilesetSpec', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec::Representation
|
property :gcs_fileset_spec, as: 'gcsFilesetSpec', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFilesetSpec::Representation
|
||||||
|
|
||||||
|
property :integrated_system, as: 'integratedSystem'
|
||||||
property :linked_resource, as: 'linkedResource'
|
property :linked_resource, as: 'linkedResource'
|
||||||
property :name, as: 'name'
|
property :name, as: 'name'
|
||||||
property :schema, as: 'schema', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema::Representation
|
property :schema, as: 'schema', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Schema::Representation
|
||||||
|
@ -377,6 +390,8 @@ module Google
|
||||||
property :source_system_timestamps, as: 'sourceSystemTimestamps', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps::Representation
|
property :source_system_timestamps, as: 'sourceSystemTimestamps', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps::Representation
|
||||||
|
|
||||||
property :type, as: 'type'
|
property :type, as: 'type'
|
||||||
|
property :user_specified_system, as: 'userSpecifiedSystem'
|
||||||
|
property :user_specified_type, as: 'userSpecifiedType'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -466,6 +481,24 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDatacatalogV1beta1ListEntriesResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :entries, as: 'entries', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Entry::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :entry_groups, as: 'entryGroups', class: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup, decorator: Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation
|
||||||
|
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -139,11 +139,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Alpha feature.
|
|
||||||
# Creates an EntryGroup.
|
# Creates an EntryGroup.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# The user should enable the Data Catalog API in the project identified by
|
||||||
# the `parent` parameter (see [Data Catalog Resource Project]
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
|
# A maximum of 10,000 entry groups may be created per organization across all
|
||||||
|
# locations.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the project this entry group is in. Example:
|
# Required. The name of the project this entry group is in. Example:
|
||||||
# * projects/`project_id`/locations/`location`
|
# * projects/`project_id`/locations/`location`
|
||||||
|
@ -184,7 +185,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Alpha feature.
|
|
||||||
# Deletes an EntryGroup. Only entry groups that do not contain entries can be
|
# Deletes an EntryGroup. Only entry groups that do not contain entries can be
|
||||||
# deleted. The user should enable the Data Catalog API in the project
|
# deleted. The user should enable the Data Catalog API in the project
|
||||||
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
||||||
|
@ -222,7 +222,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Alpha feature.
|
|
||||||
# Gets an EntryGroup.
|
# Gets an EntryGroup.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name of the entry group. For example,
|
# Required. The name of the entry group. For example,
|
||||||
|
@ -305,6 +304,92 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists entry groups.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The name of the location that contains the entry groups, which can
|
||||||
|
# be
|
||||||
|
# provided in URL format. Example:
|
||||||
|
# * projects/`project_id`/locations/`location`
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Optional. The maximum number of items to return. Default is 10. Max limit is
|
||||||
|
# 1000.
|
||||||
|
# Throws an invalid argument for `page_size > 1000`.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Optional. Token that specifies which page is requested. If empty, the first
|
||||||
|
# page is
|
||||||
|
# returned.
|
||||||
|
# @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.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse]
|
||||||
|
#
|
||||||
|
# @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_project_location_entry_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1beta1/{+parent}/entryGroups', options)
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates an EntryGroup. The user should enable the Data Catalog API in the
|
||||||
|
# project identified by the `entry_group.name` parameter (see [Data Catalog
|
||||||
|
# Resource Project] (/data-catalog/docs/concepts/resource-project) for more
|
||||||
|
# information).
|
||||||
|
# @param [String] name
|
||||||
|
# The resource name of the entry group in URL format. Example:
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
|
||||||
|
# Note that this EntryGroup and its child resources may not actually be
|
||||||
|
# stored in the location in this name.
|
||||||
|
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup] google_cloud_datacatalog_v1beta1_entry_group_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# The fields to update on the entry group. If absent or empty, all modifiable
|
||||||
|
# fields are updated.
|
||||||
|
# @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.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup]
|
||||||
|
#
|
||||||
|
# @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 patch_project_location_entry_group(name, google_cloud_datacatalog_v1beta1_entry_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation
|
||||||
|
command.request_object = google_cloud_datacatalog_v1beta1_entry_group_object
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1EntryGroup
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Sets the access control policy for a resource. Replaces any existing
|
# Sets the access control policy for a resource. Replaces any existing
|
||||||
# policy.
|
# policy.
|
||||||
# Supported resources are:
|
# Supported resources are:
|
||||||
|
@ -397,11 +482,12 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Alpha feature.
|
# Creates an entry. Only entries of 'FILESET' type or user-specified type can
|
||||||
# Creates an entry. Currently only entries of 'FILESET' type can be created.
|
# be created.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# The user should enable the Data Catalog API in the project identified by
|
||||||
# the `parent` parameter (see [Data Catalog Resource Project]
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
|
# A maximum of 100,000 entries may be created per entry group.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the entry group this entry is in. Example:
|
# Required. The name of the entry group this entry is in. Example:
|
||||||
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
|
||||||
|
@ -440,7 +526,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Alpha feature.
|
|
||||||
# Deletes an existing entry. Only entries created through
|
# Deletes an existing entry. Only entries created through
|
||||||
# CreateEntry
|
# CreateEntry
|
||||||
# method can be deleted.
|
# method can be deleted.
|
||||||
|
@ -562,6 +647,52 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Lists entries.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The name of the entry group that contains the entries, which can
|
||||||
|
# be provided in URL format. Example:
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The maximum number of items to return. Default is 10. Max limit is 1000.
|
||||||
|
# Throws an invalid argument for `page_size > 1000`.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Token that specifies which page is requested. If empty, the first page is
|
||||||
|
# returned.
|
||||||
|
# @param [String] read_mask
|
||||||
|
# The fields to return for each Entry. If not set or empty, all
|
||||||
|
# fields are returned.
|
||||||
|
# For example, setting read_mask to contain only one path "name" will cause
|
||||||
|
# ListEntries to return a list of Entries with only "name" field.
|
||||||
|
# @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.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse]
|
||||||
|
#
|
||||||
|
# @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_project_location_entry_group_entries(parent, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1beta1/{+parent}/entries', options)
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListEntriesResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Updates an existing entry.
|
# Updates an existing entry.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# The user should enable the Data Catalog API in the project identified by
|
||||||
# the `entry.name` parameter (see [Data Catalog Resource Project]
|
# the `entry.name` parameter (see [Data Catalog Resource Project]
|
||||||
|
@ -823,11 +954,11 @@ module Google
|
||||||
# Resource Project](/data-catalog/docs/concepts/resource-project) for more
|
# Resource Project](/data-catalog/docs/concepts/resource-project) for more
|
||||||
# information).
|
# information).
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the project and the location this template is in.
|
# Required. The name of the project and the template location
|
||||||
|
# [region](/compute/docs/regions-zones/#available).
|
||||||
|
# NOTE: Currently, only the `us-central1 region` is supported.
|
||||||
# Example:
|
# Example:
|
||||||
# * projects/`project_id`/locations/`location`
|
# * projects/`project_id`/locations/us-central1
|
||||||
# TagTemplate and its child resources may not actually be stored in the
|
|
||||||
# location in this name.
|
|
||||||
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate] google_cloud_datacatalog_v1beta1_tag_template_object
|
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplate] google_cloud_datacatalog_v1beta1_tag_template_object
|
||||||
# @param [String] tag_template_id
|
# @param [String] tag_template_id
|
||||||
# Required. The id of the tag template to create.
|
# Required. The id of the tag template to create.
|
||||||
|
@ -1124,10 +1255,11 @@ module Google
|
||||||
# Project](/data-catalog/docs/concepts/resource-project) for more
|
# Project](/data-catalog/docs/concepts/resource-project) for more
|
||||||
# information).
|
# information).
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the project this template is in. Example:
|
# Required. The name of the project and the template location
|
||||||
# * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`
|
# [region](/compute/docs/regions-zones/#available).
|
||||||
# Note that this TagTemplateField may not actually be stored in the location
|
# NOTE: Currently, only the `us-central1 region` is supported.
|
||||||
# in this name.
|
# Example:
|
||||||
|
# * projects/`project_id`/locations/us-central1/tagTemplates/`tag_template_id`
|
||||||
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] google_cloud_datacatalog_v1beta1_tag_template_field_object
|
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] google_cloud_datacatalog_v1beta1_tag_template_field_object
|
||||||
# @param [String] tag_template_field_id
|
# @param [String] tag_template_field_id
|
||||||
# Required. The ID of the tag template field to create.
|
# Required. The ID of the tag template field to create.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/bid-manager/
|
# @see https://developers.google.com/bid-manager/
|
||||||
module DoubleclickbidmanagerV1_1
|
module DoubleclickbidmanagerV1_1
|
||||||
VERSION = 'V1_1'
|
VERSION = 'V1_1'
|
||||||
REVISION = '20200116'
|
REVISION = '20200124'
|
||||||
|
|
||||||
# View and manage your reports in DoubleClick Bid Manager
|
# View and manage your reports in DoubleClick Bid Manager
|
||||||
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/firestore
|
# @see https://cloud.google.com/firestore
|
||||||
module FirestoreV1
|
module FirestoreV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200104'
|
REVISION = '20200125'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/firestore
|
# @see https://cloud.google.com/firestore
|
||||||
module FirestoreV1beta1
|
module FirestoreV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200104'
|
REVISION = '20200126'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200125'
|
REVISION = '20200205'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1407,6 +1407,42 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# All parameters related to queuing and scheduling of training jobs.
|
||||||
|
class GoogleCloudMlV1Scheduling
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. The maximum job running time, expressed in seconds. By default
|
||||||
|
# there is no limit.
|
||||||
|
# If the training job is still running after this duration, AI Platform
|
||||||
|
# Training cancels it.
|
||||||
|
# For example, if you want to ensure your job runs for no more than 2 hours,
|
||||||
|
# set this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds /
|
||||||
|
# minute).
|
||||||
|
# If you submit your training job using the `gcloud` tool, you can [provide
|
||||||
|
# this field in a `config.yaml`
|
||||||
|
# file](/ml-engine/docs/training-jobs#formatting_your_configuration_parameters).
|
||||||
|
# For example:
|
||||||
|
# ```yaml
|
||||||
|
# trainingInput:
|
||||||
|
# ...
|
||||||
|
# scheduling:
|
||||||
|
# maxRunningTime: 7200s
|
||||||
|
# ...
|
||||||
|
# ```
|
||||||
|
# Corresponds to the JSON property `maxRunningTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :max_running_time
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@max_running_time = args[:max_running_time] if args.key?(:max_running_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Request message for the SetDefaultVersion request.
|
# Request message for the SetDefaultVersion request.
|
||||||
class GoogleCloudMlV1SetDefaultVersionRequest
|
class GoogleCloudMlV1SetDefaultVersionRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1586,6 +1622,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :scale_tier
|
attr_accessor :scale_tier
|
||||||
|
|
||||||
|
# All parameters related to queuing and scheduling of training jobs.
|
||||||
|
# Corresponds to the JSON property `scheduling`
|
||||||
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Scheduling]
|
||||||
|
attr_accessor :scheduling
|
||||||
|
|
||||||
# Optional. Use 'chief' instead of 'master' in TF_CONFIG when Custom
|
# Optional. Use 'chief' instead of 'master' in TF_CONFIG when Custom
|
||||||
# Container is used and evaluator is not specified.
|
# Container is used and evaluator is not specified.
|
||||||
# Defaults to false.
|
# Defaults to false.
|
||||||
|
@ -1645,6 +1686,7 @@ module Google
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
||||||
@scale_tier = args[:scale_tier] if args.key?(:scale_tier)
|
@scale_tier = args[:scale_tier] if args.key?(:scale_tier)
|
||||||
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
||||||
@use_chief_in_tf_config = args[:use_chief_in_tf_config] if args.key?(:use_chief_in_tf_config)
|
@use_chief_in_tf_config = args[:use_chief_in_tf_config] if args.key?(:use_chief_in_tf_config)
|
||||||
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
||||||
@worker_count = args[:worker_count] if args.key?(:worker_count)
|
@worker_count = args[:worker_count] if args.key?(:worker_count)
|
||||||
|
|
|
@ -202,6 +202,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudMlV1Scheduling
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudMlV1SetDefaultVersionRequest
|
class GoogleCloudMlV1SetDefaultVersionRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -609,6 +615,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudMlV1Scheduling
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :max_running_time, as: 'maxRunningTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudMlV1SetDefaultVersionRequest
|
class GoogleCloudMlV1SetDefaultVersionRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -635,6 +648,8 @@ module Google
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :runtime_version, as: 'runtimeVersion'
|
property :runtime_version, as: 'runtimeVersion'
|
||||||
property :scale_tier, as: 'scaleTier'
|
property :scale_tier, as: 'scaleTier'
|
||||||
|
property :scheduling, as: 'scheduling', class: Google::Apis::MlV1::GoogleCloudMlV1Scheduling, decorator: Google::Apis::MlV1::GoogleCloudMlV1Scheduling::Representation
|
||||||
|
|
||||||
property :use_chief_in_tf_config, as: 'useChiefInTfConfig'
|
property :use_chief_in_tf_config, as: 'useChiefInTfConfig'
|
||||||
property :worker_config, as: 'workerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
|
property :worker_config, as: 'workerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
|
||||||
|
|
||||||
|
|
|
@ -26,13 +26,10 @@ module Google
|
||||||
# @see https://cloud.google.com/
|
# @see https://cloud.google.com/
|
||||||
module OsconfigV1beta
|
module OsconfigV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20200109'
|
REVISION = '20200207'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
||||||
# View and manage your Google Compute Engine resources
|
|
||||||
AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/youtube/partner/
|
# @see https://developers.google.com/youtube/partner/
|
||||||
module YoutubePartnerV1
|
module YoutubePartnerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200119'
|
REVISION = '20200202'
|
||||||
|
|
||||||
# View and manage your assets and associated content on YouTube
|
# View and manage your assets and associated content on YouTube
|
||||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||||
|
|
Loading…
Reference in New Issue