Autogenerated update (2019-12-11)
Update: - androidmanagement_v1 - bigquerydatatransfer_v1 - chat_v1 - cloudtasks_v2beta2 - cloudtasks_v2beta3 - iap_v1beta1 - ml_v1 - storagetransfer_v1
This commit is contained in:
parent
517bd973bc
commit
923277c6a7
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/management
|
# @see https://developers.google.com/android/management
|
||||||
module AndroidmanagementV1
|
module AndroidmanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191113'
|
REVISION = '20191207'
|
||||||
|
|
||||||
# Manage Android devices and apps for your customers
|
# Manage Android devices and apps for your customers
|
||||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||||
|
|
|
@ -1093,7 +1093,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :pubsub_topic
|
attr_accessor :pubsub_topic
|
||||||
|
|
||||||
# Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported.
|
# Sign-in details of the enterprise.
|
||||||
# Corresponds to the JSON property `signinDetails`
|
# Corresponds to the JSON property `signinDetails`
|
||||||
# @return [Array<Google::Apis::AndroidmanagementV1::SigninDetail>]
|
# @return [Array<Google::Apis::AndroidmanagementV1::SigninDetail>]
|
||||||
attr_accessor :signin_details
|
attr_accessor :signin_details
|
||||||
|
@ -3007,13 +3007,15 @@ module Google
|
||||||
attr_accessor :device_settings_enabled
|
attr_accessor :device_settings_enabled
|
||||||
alias_method :device_settings_enabled?, :device_settings_enabled
|
alias_method :device_settings_enabled?, :device_settings_enabled
|
||||||
|
|
||||||
# Whether displays reporting is enabled.
|
# Whether displays reporting is enabled. Report data is not available for
|
||||||
|
# personally owned devices with work profiles.
|
||||||
# Corresponds to the JSON property `displayInfoEnabled`
|
# Corresponds to the JSON property `displayInfoEnabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :display_info_enabled
|
attr_accessor :display_info_enabled
|
||||||
alias_method :display_info_enabled?, :display_info_enabled
|
alias_method :display_info_enabled?, :display_info_enabled
|
||||||
|
|
||||||
# Whether hardware status reporting is enabled.
|
# Whether hardware status reporting is enabled. Report data is not available for
|
||||||
|
# personally owned devices with work profiles.
|
||||||
# Corresponds to the JSON property `hardwareStatusEnabled`
|
# Corresponds to the JSON property `hardwareStatusEnabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :hardware_status_enabled
|
attr_accessor :hardware_status_enabled
|
||||||
|
@ -3031,7 +3033,8 @@ module Google
|
||||||
attr_accessor :network_info_enabled
|
attr_accessor :network_info_enabled
|
||||||
alias_method :network_info_enabled?, :network_info_enabled
|
alias_method :network_info_enabled?, :network_info_enabled
|
||||||
|
|
||||||
# Whether power management event reporting is enabled.
|
# Whether power management event reporting is enabled. Report data is not
|
||||||
|
# available for personally owned devices with work profiles.
|
||||||
# Corresponds to the JSON property `powerManagementEventsEnabled`
|
# Corresponds to the JSON property `powerManagementEventsEnabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :power_management_events_enabled
|
attr_accessor :power_management_events_enabled
|
||||||
|
|
|
@ -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 = '20191103'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -56,7 +56,8 @@ module Google
|
||||||
# create a transfer config.
|
# create a transfer config.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The data source in the form:
|
# Required. The data source in the form:
|
||||||
# `projects/`project_id`/dataSources/`data_source_id``
|
# `projects/`project_id`/dataSources/`data_source_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_request_object
|
# @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -91,7 +92,8 @@ module Google
|
||||||
# which can be used for UI rendering.
|
# which can be used for UI rendering.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/dataSources/`data_source_id``
|
# `projects/`project_id`/dataSources/`data_source_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -123,7 +125,8 @@ module Google
|
||||||
# which can be used for UI rendering.
|
# which can be used for UI rendering.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The BigQuery project id for which data sources should be returned.
|
# Required. The BigQuery project id for which data sources should be returned.
|
||||||
# Must be in the form: `projects/`project_id``
|
# Must be in the form: `projects/`project_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Page size. The default page size is the maximum value of 1000 results.
|
# Page size. The default page size is the maximum value of 1000 results.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -238,7 +241,8 @@ module Google
|
||||||
# create a transfer config.
|
# create a transfer config.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The data source in the form:
|
# Required. The data source in the form:
|
||||||
# `projects/`project_id`/dataSources/`data_source_id``
|
# `projects/`project_id`/dataSources/`data_source_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_request_object
|
# @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -273,7 +277,8 @@ module Google
|
||||||
# which can be used for UI rendering.
|
# which can be used for UI rendering.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/dataSources/`data_source_id``
|
# `projects/`project_id`/dataSources/`data_source_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -305,7 +310,8 @@ module Google
|
||||||
# which can be used for UI rendering.
|
# which can be used for UI rendering.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The BigQuery project id for which data sources should be returned.
|
# Required. The BigQuery project id for which data sources should be returned.
|
||||||
# Must be in the form: `projects/`project_id``
|
# Must be in the form: `projects/`project_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Page size. The default page size is the maximum value of 1000 results.
|
# Page size. The default page size is the maximum value of 1000 results.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -347,9 +353,9 @@ module Google
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The BigQuery project id where the transfer configuration should be
|
# Required. The BigQuery project id where the transfer configuration should be
|
||||||
# created.
|
# created.
|
||||||
# Must be in the format projects/`project_id`/locations/`location_id`
|
# Must be in the format projects/`project_id`/locations/`location_id` or
|
||||||
# If specified location and location of the destination bigquery dataset
|
# projects/`project_id`. If specified location and location of the
|
||||||
# do not match - the request will fail.
|
# destination bigquery dataset do not match - the request will fail.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
||||||
# @param [String] authorization_code
|
# @param [String] authorization_code
|
||||||
# Optional OAuth2 authorization code to use with this transfer configuration.
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
||||||
|
@ -416,7 +422,8 @@ module Google
|
||||||
# including any associated transfer runs and logs.
|
# including any associated transfer runs and logs.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -447,7 +454,8 @@ module Google
|
||||||
# Returns information about a data transfer config.
|
# Returns information about a data transfer config.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -478,7 +486,8 @@ module Google
|
||||||
# Returns information about all data transfers in the project.
|
# Returns information about all data transfers in the project.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The BigQuery project id for which data sources
|
# Required. The BigQuery project id for which data sources
|
||||||
# should be returned: `projects/`project_id``.
|
# should be returned: `projects/`project_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id``
|
||||||
# @param [Array<String>, String] data_source_ids
|
# @param [Array<String>, String] data_source_ids
|
||||||
# When specified, only configurations of requested data sources are returned.
|
# When specified, only configurations of requested data sources are returned.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
|
@ -602,7 +611,8 @@ module Google
|
||||||
# DEPRECATED: use StartManualTransferRuns instead.
|
# DEPRECATED: use StartManualTransferRuns instead.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. Transfer configuration name in the form:
|
# Required. Transfer configuration name in the form:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_request_object
|
# @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -639,7 +649,8 @@ module Google
|
||||||
# a specific run_time.
|
# a specific run_time.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Transfer configuration name in the form:
|
# Transfer configuration name in the form:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
|
# @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -673,7 +684,9 @@ module Google
|
||||||
# Deletes the specified transfer run.
|
# Deletes the specified transfer run.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
|
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
|
||||||
|
# runs/`run_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -704,7 +717,9 @@ module Google
|
||||||
# Returns information about the particular transfer run.
|
# Returns information about the particular transfer run.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
|
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
|
||||||
|
# runs/`run_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -737,7 +752,8 @@ module Google
|
||||||
# Required. Name of transfer configuration for which transfer runs should be
|
# Required. Name of transfer configuration for which transfer runs should be
|
||||||
# retrieved.
|
# retrieved.
|
||||||
# Format of transfer configuration resource name is:
|
# Format of transfer configuration resource name is:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Page size. The default page size is the maximum value of 1000 results.
|
# Page size. The default page size is the maximum value of 1000 results.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -784,7 +800,9 @@ module Google
|
||||||
# Returns user facing log messages for the data transfer run.
|
# Returns user facing log messages for the data transfer run.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. Transfer run name in the form:
|
# Required. Transfer run name in the form:
|
||||||
# `projects/`project_id`/transferConfigs/`config_Id`/runs/`run_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
|
||||||
|
# runs/`run_id``
|
||||||
# @param [Array<String>, String] message_types
|
# @param [Array<String>, String] message_types
|
||||||
# Message types to return. If not populated - INFO, WARNING and ERROR
|
# Message types to return. If not populated - INFO, WARNING and ERROR
|
||||||
# messages are returned.
|
# messages are returned.
|
||||||
|
@ -830,9 +848,9 @@ module Google
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The BigQuery project id where the transfer configuration should be
|
# Required. The BigQuery project id where the transfer configuration should be
|
||||||
# created.
|
# created.
|
||||||
# Must be in the format projects/`project_id`/locations/`location_id`
|
# Must be in the format projects/`project_id`/locations/`location_id` or
|
||||||
# If specified location and location of the destination bigquery dataset
|
# projects/`project_id`. If specified location and location of the
|
||||||
# do not match - the request will fail.
|
# destination bigquery dataset do not match - the request will fail.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
|
||||||
# @param [String] authorization_code
|
# @param [String] authorization_code
|
||||||
# Optional OAuth2 authorization code to use with this transfer configuration.
|
# Optional OAuth2 authorization code to use with this transfer configuration.
|
||||||
|
@ -899,7 +917,8 @@ module Google
|
||||||
# including any associated transfer runs and logs.
|
# including any associated transfer runs and logs.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -930,7 +949,8 @@ module Google
|
||||||
# Returns information about a data transfer config.
|
# Returns information about a data transfer config.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -961,7 +981,8 @@ module Google
|
||||||
# Returns information about all data transfers in the project.
|
# Returns information about all data transfers in the project.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The BigQuery project id for which data sources
|
# Required. The BigQuery project id for which data sources
|
||||||
# should be returned: `projects/`project_id``.
|
# should be returned: `projects/`project_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id``
|
||||||
# @param [Array<String>, String] data_source_ids
|
# @param [Array<String>, String] data_source_ids
|
||||||
# When specified, only configurations of requested data sources are returned.
|
# When specified, only configurations of requested data sources are returned.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
|
@ -1085,7 +1106,8 @@ module Google
|
||||||
# DEPRECATED: use StartManualTransferRuns instead.
|
# DEPRECATED: use StartManualTransferRuns instead.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. Transfer configuration name in the form:
|
# Required. Transfer configuration name in the form:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_request_object
|
# @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1122,7 +1144,8 @@ module Google
|
||||||
# a specific run_time.
|
# a specific run_time.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Transfer configuration name in the form:
|
# Transfer configuration name in the form:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
|
||||||
# @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
|
# @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1156,7 +1179,9 @@ module Google
|
||||||
# Deletes the specified transfer run.
|
# Deletes the specified transfer run.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
|
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
|
||||||
|
# runs/`run_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -1187,7 +1212,9 @@ module Google
|
||||||
# Returns information about the particular transfer run.
|
# Returns information about the particular transfer run.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The field will contain name of the resource requested, for example:
|
# Required. The field will contain name of the resource requested, for example:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
|
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
|
||||||
|
# runs/`run_id``
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -1220,7 +1247,8 @@ module Google
|
||||||
# Required. Name of transfer configuration for which transfer runs should be
|
# Required. Name of transfer configuration for which transfer runs should be
|
||||||
# retrieved.
|
# retrieved.
|
||||||
# Format of transfer configuration resource name is:
|
# Format of transfer configuration resource name is:
|
||||||
# `projects/`project_id`/transferConfigs/`config_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# Page size. The default page size is the maximum value of 1000 results.
|
# Page size. The default page size is the maximum value of 1000 results.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -1267,7 +1295,9 @@ module Google
|
||||||
# Returns user facing log messages for the data transfer run.
|
# Returns user facing log messages for the data transfer run.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. Transfer run name in the form:
|
# Required. Transfer run name in the form:
|
||||||
# `projects/`project_id`/transferConfigs/`config_Id`/runs/`run_id``.
|
# `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
|
||||||
|
# `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
|
||||||
|
# runs/`run_id``
|
||||||
# @param [Array<String>, String] message_types
|
# @param [Array<String>, String] message_types
|
||||||
# Message types to return. If not populated - INFO, WARNING and ERROR
|
# Message types to return. If not populated - INFO, WARNING and ERROR
|
||||||
# messages are returned.
|
# messages are returned.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/hangouts/chat
|
# @see https://developers.google.com/hangouts/chat
|
||||||
module ChatV1
|
module ChatV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180806'
|
REVISION = '20191205'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -300,8 +300,11 @@ module Google
|
||||||
# Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
|
# Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
|
||||||
# @param [Google::Apis::ChatV1::Message] message_object
|
# @param [Google::Apis::ChatV1::Message] message_object
|
||||||
# @param [String] update_mask
|
# @param [String] update_mask
|
||||||
# Required. The field paths to be updated.
|
# Required. The field paths to be updated, comma separated if there are
|
||||||
# Currently supported field paths: "text", "cards".
|
# multiple.
|
||||||
|
# Currently supported field paths:
|
||||||
|
# * text
|
||||||
|
# * cards
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tasks/
|
# @see https://cloud.google.com/tasks/
|
||||||
module CloudtasksV2beta2
|
module CloudtasksV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20191111'
|
REVISION = '20191202'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -460,6 +460,23 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a user that has been recently deleted. For
|
||||||
|
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||||
|
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||||
|
# retains the role in the binding.
|
||||||
|
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||||
|
# unique identifier) representing a service account that has been recently
|
||||||
|
# deleted. For example,
|
||||||
|
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
|
# If the service account is undeleted, this value reverts to
|
||||||
|
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
||||||
|
# role in the binding.
|
||||||
|
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a Google group that has been recently
|
||||||
|
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||||
|
# the group is recovered, this value reverts to `group:`emailid`` and the
|
||||||
|
# recovered group retains the role in the binding.
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
|
@ -916,16 +933,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||||
# permissions (defined by IAM or configured by users). A `binding` can
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -943,13 +962,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -964,14 +985,16 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# For a description of IAM and its features, see the
|
# For a description of IAM and its features, see the
|
||||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a
|
||||||
# `condition` that determines when binding is in effect.
|
# `condition` that determines how and when the `bindings` are applied. Each
|
||||||
# `bindings` with no members will result in an error.
|
# of the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
|
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -983,26 +1006,31 @@ module Google
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
||||||
# ensure that their change will be applied to the same version of the policy.
|
# ensure that their change will be applied to the same version of the policy.
|
||||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
# meet the requirements for modifying the stored policy.
|
# the conditions in the version `3` policy are lost.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Specifies the format of the policy.
|
# Specifies the format of the policy.
|
||||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
||||||
# rejected.
|
# are rejected.
|
||||||
# Operations affecting conditional bindings must specify version 3. This can
|
# Any operation that affects conditional role bindings must specify version
|
||||||
# be either setting a conditional policy, modifying a conditional binding,
|
# `3`. This requirement applies to the following operations:
|
||||||
# or removing a binding (conditional or unconditional) from the stored
|
# * Getting a policy that includes a conditional role binding
|
||||||
# conditional policy.
|
# * Adding a conditional role binding to a policy
|
||||||
# Operations on non-conditional policies may specify any valid value or
|
# * Changing a conditional role binding in a policy
|
||||||
# leave the field unset.
|
# * Removing any role binding, with or without a condition, from a policy
|
||||||
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
# that includes conditions
|
||||||
# checks against the stored policy is skipped.
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
|
# the conditions in the version `3` policy are lost.
|
||||||
|
# If a policy does not include any conditions, operations on that policy may
|
||||||
|
# specify any valid version or leave the field unset.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -1485,16 +1513,18 @@ module Google
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||||
# permissions (defined by IAM or configured by users). A `binding` can
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -1512,13 +1542,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -1533,8 +1565,10 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# For a description of IAM and its features, see the
|
# For a description of IAM and its features, see the
|
||||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::CloudtasksV2beta2::Policy]
|
# @return [Google::Apis::CloudtasksV2beta2::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/tasks/
|
# @see https://cloud.google.com/tasks/
|
||||||
module CloudtasksV2beta3
|
module CloudtasksV2beta3
|
||||||
VERSION = 'V2beta3'
|
VERSION = 'V2beta3'
|
||||||
REVISION = '20191111'
|
REVISION = '20191202'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -177,8 +177,8 @@ module Google
|
||||||
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
# In addition, Cloud Tasks sets some headers when the task is dispatched,
|
||||||
# such as headers containing information about the task; see
|
# such as headers containing information about the task; see
|
||||||
# [request
|
# [request
|
||||||
# headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
|
# headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
|
||||||
# creating-handlers#reading_request_headers).
|
# reading_request_headers).
|
||||||
# These headers are set only when the task is dispatched, so they are not
|
# These headers are set only when the task is dispatched, so they are not
|
||||||
# visible when the task is returned in a Cloud Tasks response.
|
# visible when the task is returned in a Cloud Tasks response.
|
||||||
# Although there is no specific limit for the maximum number of headers or
|
# Although there is no specific limit for the maximum number of headers or
|
||||||
|
@ -396,6 +396,23 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a user that has been recently deleted. For
|
||||||
|
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||||
|
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||||
|
# retains the role in the binding.
|
||||||
|
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||||
|
# unique identifier) representing a service account that has been recently
|
||||||
|
# deleted. For example,
|
||||||
|
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
|
# If the service account is undeleted, this value reverts to
|
||||||
|
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
||||||
|
# role in the binding.
|
||||||
|
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a Google group that has been recently
|
||||||
|
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||||
|
# the group is recovered, this value reverts to `group:`emailid`` and the
|
||||||
|
# recovered group retains the role in the binding.
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
|
@ -566,7 +583,7 @@ module Google
|
||||||
# HTTP request.
|
# HTTP request.
|
||||||
# The task will be pushed to the worker as an HTTP request. If the worker
|
# The task will be pushed to the worker as an HTTP request. If the worker
|
||||||
# or the redirected worker acknowledges the task by returning a successful HTTP
|
# or the redirected worker acknowledges the task by returning a successful HTTP
|
||||||
# response code ([`200` - `299`]), the task will removed from the queue. If
|
# response code ([`200` - `299`]), the task will be removed from the queue. If
|
||||||
# any other HTTP response code is returned or no response is received, the
|
# any other HTTP response code is returned or no response is received, the
|
||||||
# task will be retried according to the following:
|
# task will be retried according to the following:
|
||||||
# * User-specified throttling: retry configuration,
|
# * User-specified throttling: retry configuration,
|
||||||
|
@ -580,7 +597,7 @@ module Google
|
||||||
# `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
|
# `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
|
||||||
# errors is high, Cloud Tasks will use a higher backoff rate. The retry
|
# errors is high, Cloud Tasks will use a higher backoff rate. The retry
|
||||||
# specified in the `Retry-After` HTTP response header is considered.
|
# specified in the `Retry-After` HTTP response header is considered.
|
||||||
# * To prevent traffic spikes and to smooth sudden large traffic spikes,
|
# * To prevent traffic spikes and to smooth sudden increases in traffic,
|
||||||
# dispatches ramp up slowly when the queue is newly created or idle and
|
# dispatches ramp up slowly when the queue is newly created or idle and
|
||||||
# if large numbers of tasks suddenly become available to dispatch (due to
|
# if large numbers of tasks suddenly become available to dispatch (due to
|
||||||
# spikes in create task rates, the queue being unpaused, or many tasks
|
# spikes in create task rates, the queue being unpaused, or many tasks
|
||||||
|
@ -884,16 +901,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||||
# permissions (defined by IAM or configured by users). A `binding` can
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -911,13 +930,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -932,14 +953,16 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# For a description of IAM and its features, see the
|
# For a description of IAM and its features, see the
|
||||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a
|
||||||
# `condition` that determines when binding is in effect.
|
# `condition` that determines how and when the `bindings` are applied. Each
|
||||||
# `bindings` with no members will result in an error.
|
# of the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
|
# @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -951,26 +974,31 @@ module Google
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
||||||
# ensure that their change will be applied to the same version of the policy.
|
# ensure that their change will be applied to the same version of the policy.
|
||||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
# meet the requirements for modifying the stored policy.
|
# the conditions in the version `3` policy are lost.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Specifies the format of the policy.
|
# Specifies the format of the policy.
|
||||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
||||||
# rejected.
|
# are rejected.
|
||||||
# Operations affecting conditional bindings must specify version 3. This can
|
# Any operation that affects conditional role bindings must specify version
|
||||||
# be either setting a conditional policy, modifying a conditional binding,
|
# `3`. This requirement applies to the following operations:
|
||||||
# or removing a binding (conditional or unconditional) from the stored
|
# * Getting a policy that includes a conditional role binding
|
||||||
# conditional policy.
|
# * Adding a conditional role binding to a policy
|
||||||
# Operations on non-conditional policies may specify any valid value or
|
# * Changing a conditional role binding in a policy
|
||||||
# leave the field unset.
|
# * Removing any role binding, with or without a condition, from a policy
|
||||||
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
# that includes conditions
|
||||||
# checks against the stored policy is skipped.
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
|
# the conditions in the version `3` policy are lost.
|
||||||
|
# If a policy does not include any conditions, operations on that policy may
|
||||||
|
# specify any valid version or leave the field unset.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -1340,16 +1368,18 @@ module Google
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||||
# permissions (defined by IAM or configured by users). A `binding` can
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -1367,13 +1397,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -1388,8 +1420,10 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# For a description of IAM and its features, see the
|
# For a description of IAM and its features, see the
|
||||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::CloudtasksV2beta3::Policy]
|
# @return [Google::Apis::CloudtasksV2beta3::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
@ -1580,7 +1614,7 @@ module Google
|
||||||
# HTTP request.
|
# HTTP request.
|
||||||
# The task will be pushed to the worker as an HTTP request. If the worker
|
# The task will be pushed to the worker as an HTTP request. If the worker
|
||||||
# or the redirected worker acknowledges the task by returning a successful HTTP
|
# or the redirected worker acknowledges the task by returning a successful HTTP
|
||||||
# response code ([`200` - `299`]), the task will removed from the queue. If
|
# response code ([`200` - `299`]), the task will be removed from the queue. If
|
||||||
# any other HTTP response code is returned or no response is received, the
|
# any other HTTP response code is returned or no response is received, the
|
||||||
# task will be retried according to the following:
|
# task will be retried according to the following:
|
||||||
# * User-specified throttling: retry configuration,
|
# * User-specified throttling: retry configuration,
|
||||||
|
@ -1594,7 +1628,7 @@ module Google
|
||||||
# `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
|
# `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
|
||||||
# errors is high, Cloud Tasks will use a higher backoff rate. The retry
|
# errors is high, Cloud Tasks will use a higher backoff rate. The retry
|
||||||
# specified in the `Retry-After` HTTP response header is considered.
|
# specified in the `Retry-After` HTTP response header is considered.
|
||||||
# * To prevent traffic spikes and to smooth sudden large traffic spikes,
|
# * To prevent traffic spikes and to smooth sudden increases in traffic,
|
||||||
# dispatches ramp up slowly when the queue is newly created or idle and
|
# dispatches ramp up slowly when the queue is newly created or idle and
|
||||||
# if large numbers of tasks suddenly become available to dispatch (due to
|
# if large numbers of tasks suddenly become available to dispatch (due to
|
||||||
# spikes in create task rates, the queue being unpaused, or many tasks
|
# spikes in create task rates, the queue being unpaused, or many tasks
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/iap
|
# @see https://cloud.google.com/iap
|
||||||
module IapV1beta1
|
module IapV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20191004'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -46,6 +46,23 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a user that has been recently deleted. For
|
||||||
|
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||||
|
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||||
|
# retains the role in the binding.
|
||||||
|
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||||
|
# unique identifier) representing a service account that has been recently
|
||||||
|
# deleted. For example,
|
||||||
|
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
||||||
|
# If the service account is undeleted, this value reverts to
|
||||||
|
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
||||||
|
# role in the binding.
|
||||||
|
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
|
# identifier) representing a Google group that has been recently
|
||||||
|
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
||||||
|
# the group is recovered, this value reverts to `group:`emailid`` and the
|
||||||
|
# recovered group retains the role in the binding.
|
||||||
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
|
@ -160,16 +177,18 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||||
# permissions (defined by IAM or configured by users). A `binding` can
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -187,13 +206,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -208,14 +229,16 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# For a description of IAM and its features, see the
|
# For a description of IAM and its features, see the
|
||||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`. Optionally may specify a
|
# Associates a list of `members` to a `role`. Optionally, may specify a
|
||||||
# `condition` that determines when binding is in effect.
|
# `condition` that determines how and when the `bindings` are applied. Each
|
||||||
# `bindings` with no members will result in an error.
|
# of the `bindings` must contain at least one member.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
# @return [Array<Google::Apis::IapV1beta1::Binding>]
|
# @return [Array<Google::Apis::IapV1beta1::Binding>]
|
||||||
attr_accessor :bindings
|
attr_accessor :bindings
|
||||||
|
@ -227,25 +250,31 @@ module Google
|
||||||
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
||||||
# systems are expected to put that etag in the request to `setIamPolicy` to
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
||||||
# ensure that their change will be applied to the same version of the policy.
|
# ensure that their change will be applied to the same version of the policy.
|
||||||
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
# does not meet the version requirements.
|
# the conditions in the version `3` policy are lost.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Specifies the format of the policy.
|
# Specifies the format of the policy.
|
||||||
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
||||||
# rejected.
|
# are rejected.
|
||||||
# Operations affecting conditional bindings must specify version 3. This can
|
# Any operation that affects conditional role bindings must specify version
|
||||||
# be either setting a conditional policy, modifying a conditional binding,
|
# `3`. This requirement applies to the following operations:
|
||||||
# or removing a conditional binding from the stored conditional policy.
|
# * Getting a policy that includes a conditional role binding
|
||||||
# Operations on non-conditional policies may specify any valid value or
|
# * Adding a conditional role binding to a policy
|
||||||
# leave the field unset.
|
# * Changing a conditional role binding in a policy
|
||||||
# If no etag is provided in the call to `setIamPolicy`, any version
|
# * Removing any role binding, with or without a condition, from a policy
|
||||||
# compliance checks on the incoming and/or stored policy is skipped.
|
# that includes conditions
|
||||||
|
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
||||||
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
||||||
|
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
||||||
|
# the conditions in the version `3` policy are lost.
|
||||||
|
# If a policy does not include any conditions, operations on that policy may
|
||||||
|
# specify any valid version or leave the field unset.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -266,16 +295,18 @@ module Google
|
||||||
class SetIamPolicyRequest
|
class SetIamPolicyRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Defines an Identity and Access Management (IAM) policy. It is used to
|
# An Identity and Access Management (IAM) policy, which specifies access
|
||||||
# specify access control policies for Cloud Platform resources.
|
# controls for Google Cloud resources.
|
||||||
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
||||||
# `members` to a single `role`. Members can be user accounts, service accounts,
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
||||||
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
||||||
# permissions (defined by IAM or configured by users). A `binding` can
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
||||||
# optionally specify a `condition`, which is a logic expression that further
|
# custom role.
|
||||||
# constrains the role binding based on attributes about the request and/or
|
# Optionally, a `binding` can specify a `condition`, which is a logical
|
||||||
# target resource.
|
# expression that allows access to a resource only if the expression evaluates
|
||||||
# **JSON Example**
|
# to `true`. A condition can add constraints based on attributes of the
|
||||||
|
# request, the resource, or both.
|
||||||
|
# **JSON example:**
|
||||||
# `
|
# `
|
||||||
# "bindings": [
|
# "bindings": [
|
||||||
# `
|
# `
|
||||||
|
@ -293,13 +324,15 @@ module Google
|
||||||
# "condition": `
|
# "condition": `
|
||||||
# "title": "expirable access",
|
# "title": "expirable access",
|
||||||
# "description": "Does not grant access after Sep 2020",
|
# "description": "Does not grant access after Sep 2020",
|
||||||
# "expression": "request.time <
|
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
# timestamp('2020-10-01T00:00:00.000Z')",
|
# ",
|
||||||
# `
|
# `
|
||||||
# `
|
# `
|
||||||
# ]
|
# ],
|
||||||
|
# "etag": "BwWWja0YfJA=",
|
||||||
|
# "version": 3
|
||||||
# `
|
# `
|
||||||
# **YAML Example**
|
# **YAML example:**
|
||||||
# bindings:
|
# bindings:
|
||||||
# - members:
|
# - members:
|
||||||
# - user:mike@example.com
|
# - user:mike@example.com
|
||||||
|
@ -314,8 +347,10 @@ module Google
|
||||||
# title: expirable access
|
# title: expirable access
|
||||||
# description: Does not grant access after Sep 2020
|
# description: Does not grant access after Sep 2020
|
||||||
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
||||||
|
# - etag: BwWWja0YfJA=
|
||||||
|
# - version: 3
|
||||||
# For a description of IAM and its features, see the
|
# For a description of IAM and its features, see the
|
||||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
||||||
# Corresponds to the JSON property `policy`
|
# Corresponds to the JSON property `policy`
|
||||||
# @return [Google::Apis::IapV1beta1::Policy]
|
# @return [Google::Apis::IapV1beta1::Policy]
|
||||||
attr_accessor :policy
|
attr_accessor :policy
|
||||||
|
|
|
@ -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 = '20191122'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -342,11 +342,10 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Message holding configuration options for explaining model predictions.
|
# Message holding configuration options for explaining model predictions.
|
||||||
# Currently, the only supported mechanism to explain a model's prediction is
|
# There are two feature attribution methods supported for TensorFlow models:
|
||||||
# through attributing its output back to its inputs which is essentially a
|
# integrated gradients and sampled Shapley.
|
||||||
# credit assignment task. We support multiple attribution methods, some
|
# <a href="/ml-engine/docs/ai-explanations/overview">Learn more about feature
|
||||||
# specific to particular frameworks like Tensorflow and XGBoost.
|
# attributions</a>.
|
||||||
# Next idx: 7.
|
|
||||||
class GoogleCloudMlV1ExplanationConfig
|
class GoogleCloudMlV1ExplanationConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -858,8 +857,7 @@ module Google
|
||||||
# Each version is a trained model deployed in the cloud, ready to handle
|
# Each version is a trained model deployed in the cloud, ready to handle
|
||||||
# prediction requests. A model can have multiple versions. You can get
|
# prediction requests. A model can have multiple versions. You can get
|
||||||
# information about all of the versions of a given model by calling
|
# information about all of the versions of a given model by calling
|
||||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.list.
|
||||||
# versions/list).
|
|
||||||
# Corresponds to the JSON property `defaultVersion`
|
# Corresponds to the JSON property `defaultVersion`
|
||||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||||
attr_accessor :default_version
|
attr_accessor :default_version
|
||||||
|
@ -1003,8 +1001,7 @@ module Google
|
||||||
# Each version is a trained model deployed in the cloud, ready to handle
|
# Each version is a trained model deployed in the cloud, ready to handle
|
||||||
# prediction requests. A model can have multiple versions. You can get
|
# prediction requests. A model can have multiple versions. You can get
|
||||||
# information about all of the versions of a given model by calling
|
# information about all of the versions of a given model by calling
|
||||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.list.
|
||||||
# versions/list).
|
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
@ -1709,8 +1706,7 @@ module Google
|
||||||
# Each version is a trained model deployed in the cloud, ready to handle
|
# Each version is a trained model deployed in the cloud, ready to handle
|
||||||
# prediction requests. A model can have multiple versions. You can get
|
# prediction requests. A model can have multiple versions. You can get
|
||||||
# information about all of the versions of a given model by calling
|
# information about all of the versions of a given model by calling
|
||||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.list.
|
||||||
# versions/list).
|
|
||||||
class GoogleCloudMlV1Version
|
class GoogleCloudMlV1Version
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
@ -1739,8 +1735,7 @@ module Google
|
||||||
# deployment](/ml-engine/docs/tensorflow/deploying-models) for more
|
# deployment](/ml-engine/docs/tensorflow/deploying-models) for more
|
||||||
# information.
|
# information.
|
||||||
# When passing Version to
|
# When passing Version to
|
||||||
# [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.create
|
||||||
# versions/create)
|
|
||||||
# the model service uses the specified location as the source of the model.
|
# the model service uses the specified location as the source of the model.
|
||||||
# Once deployed, the model version is hosted by the prediction service, so
|
# Once deployed, the model version is hosted by the prediction service, so
|
||||||
# this location is useful only as a historical record.
|
# this location is useful only as a historical record.
|
||||||
|
@ -1772,11 +1767,10 @@ module Google
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
# Message holding configuration options for explaining model predictions.
|
# Message holding configuration options for explaining model predictions.
|
||||||
# Currently, the only supported mechanism to explain a model's prediction is
|
# There are two feature attribution methods supported for TensorFlow models:
|
||||||
# through attributing its output back to its inputs which is essentially a
|
# integrated gradients and sampled Shapley.
|
||||||
# credit assignment task. We support multiple attribution methods, some
|
# <a href="/ml-engine/docs/ai-explanations/overview">Learn more about feature
|
||||||
# specific to particular frameworks like Tensorflow and XGBoost.
|
# attributions</a>.
|
||||||
# Next idx: 7.
|
|
||||||
# Corresponds to the JSON property `explanationConfig`
|
# Corresponds to the JSON property `explanationConfig`
|
||||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
|
||||||
attr_accessor :explanation_config
|
attr_accessor :explanation_config
|
||||||
|
@ -1800,8 +1794,7 @@ module Google
|
||||||
# Output only. If true, this version will be used to handle prediction
|
# Output only. If true, this version will be used to handle prediction
|
||||||
# requests that do not specify a version.
|
# requests that do not specify a version.
|
||||||
# You can change the default version by calling
|
# You can change the default version by calling
|
||||||
# [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.
|
# projects.methods.versions.setDefault.
|
||||||
# models.versions/setDefault).
|
|
||||||
# Corresponds to the JSON property `isDefault`
|
# Corresponds to the JSON property `isDefault`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :is_default
|
attr_accessor :is_default
|
||||||
|
@ -2137,7 +2130,7 @@ module Google
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
||||||
# identifier) representing a user that has been recently deleted. For
|
# identifier) representing a user that has been recently deleted. For
|
||||||
# example,`alice@example.com?uid=123456789012345678901`. If the user is
|
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
||||||
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
||||||
# retains the role in the binding.
|
# retains the role in the binding.
|
||||||
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
||||||
|
|
|
@ -49,7 +49,8 @@ module Google
|
||||||
|
|
||||||
# Performs explanation on the data in the request.
|
# Performs explanation on the data in the request.
|
||||||
# AI Platform implements a custom `explain` verb on top of an HTTP POST
|
# AI Platform implements a custom `explain` verb on top of an HTTP POST
|
||||||
# method. <p>For details of the request and response format, see the **guide
|
# method.
|
||||||
|
# For details of the request and response format, see the **guide
|
||||||
# to the [explain request format](/ml-engine/docs/v1/explain-request)**.
|
# to the [explain request format](/ml-engine/docs/v1/explain-request)**.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of a model or a version.
|
# Required. The resource name of a model or a version.
|
||||||
|
@ -119,7 +120,8 @@ module Google
|
||||||
|
|
||||||
# Performs prediction on the data in the request.
|
# Performs prediction on the data in the request.
|
||||||
# AI Platform implements a custom `predict` verb on top of an HTTP POST
|
# AI Platform implements a custom `predict` verb on top of an HTTP POST
|
||||||
# method. <p>For details of the request and response format, see the **guide
|
# method.
|
||||||
|
# For details of the request and response format, see the **guide
|
||||||
# to the [predict request format](/ml-engine/docs/v1/predict-request)**.
|
# to the [predict request format](/ml-engine/docs/v1/predict-request)**.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The resource name of a model or a version.
|
# Required. The resource name of a model or a version.
|
||||||
|
@ -549,8 +551,7 @@ module Google
|
||||||
# Creates a model which will later contain one or more versions.
|
# Creates a model which will later contain one or more versions.
|
||||||
# You must add at least one version before you can request predictions from
|
# You must add at least one version before you can request predictions from
|
||||||
# the model. Add versions by calling
|
# the model. Add versions by calling
|
||||||
# [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.create.
|
||||||
# versions/create).
|
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The project name.
|
# Required. The project name.
|
||||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1Model] google_cloud_ml_v1__model_object
|
# @param [Google::Apis::MlV1::GoogleCloudMlV1Model] google_cloud_ml_v1__model_object
|
||||||
|
@ -586,8 +587,7 @@ module Google
|
||||||
# Deletes a model.
|
# Deletes a model.
|
||||||
# You can only delete a model if there are no versions in it. You can delete
|
# You can only delete a model if there are no versions in it. You can delete
|
||||||
# versions by calling
|
# versions by calling
|
||||||
# [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.delete.
|
||||||
# versions/delete).
|
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name of the model.
|
# Required. The name of the model.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -869,8 +869,7 @@ module Google
|
||||||
# model. When you add a version to a model that already has one or more
|
# model. When you add a version to a model that already has one or more
|
||||||
# versions, the default version does not automatically change. If you want a
|
# versions, the default version does not automatically change. If you want a
|
||||||
# new version to be the default, you must call
|
# new version to be the default, you must call
|
||||||
# [projects.models.versions.setDefault](/ml-engine/reference/rest/v1/projects.
|
# projects.models.versions.setDefault.
|
||||||
# models.versions/setDefault).
|
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the model.
|
# Required. The name of the model.
|
||||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
|
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
|
||||||
|
@ -911,8 +910,7 @@ module Google
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name of the version. You can get the names of all the
|
# Required. The name of the version. You can get the names of all the
|
||||||
# versions of a model by calling
|
# versions of a model by calling
|
||||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.list.
|
||||||
# versions/list).
|
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
@ -942,8 +940,7 @@ module Google
|
||||||
|
|
||||||
# Gets information about a model version.
|
# Gets information about a model version.
|
||||||
# Models can have multiple versions. You can call
|
# Models can have multiple versions. You can call
|
||||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.list
|
||||||
# versions/list)
|
|
||||||
# to get the same information that this method returns for all of the
|
# to get the same information that this method returns for all of the
|
||||||
# versions of a model.
|
# versions of a model.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -1025,8 +1022,8 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the specified Version resource.
|
# Updates the specified Version resource.
|
||||||
# Currently the only update-able fields are `description` and
|
# Currently the only update-able fields are `description`,
|
||||||
# `autoScaling.minNodes`.
|
# `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name of the model.
|
# Required. The name of the model.
|
||||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
|
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
|
||||||
|
@ -1042,8 +1039,9 @@ module Google
|
||||||
# `
|
# `
|
||||||
# ```
|
# ```
|
||||||
# Currently the only supported update mask fields are `description`,
|
# Currently the only supported update mask fields are `description`,
|
||||||
# `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only
|
# `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
|
||||||
# update `manualScaling.nodes` if the version uses a [Compute Engine (N1)
|
# However, you can only update `manualScaling.nodes` if the version uses a
|
||||||
|
# [Compute Engine (N1)
|
||||||
# machine type](/ml-engine/docs/machine-types-online-prediction).
|
# machine type](/ml-engine/docs/machine-types-online-prediction).
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
@ -1084,8 +1082,7 @@ module Google
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. The name of the version to make the default for the model. You
|
# Required. The name of the version to make the default for the model. You
|
||||||
# can get the names of all the versions of a model by calling
|
# can get the names of all the versions of a model by calling
|
||||||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
# projects.models.versions.list.
|
||||||
# versions/list).
|
|
||||||
# @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object
|
# @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/storage-transfer/docs
|
# @see https://cloud.google.com/storage-transfer/docs
|
||||||
module StoragetransferV1
|
module StoragetransferV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191118'
|
REVISION = '20191206'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -194,8 +194,10 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates a transfer job. Updating a job's transfer spec does not affect
|
# Updates a transfer job. Updating a job's transfer spec does not affect
|
||||||
# transfer operations that are running already. Updating the scheduling
|
# transfer operations that are running already. Updating a job's schedule
|
||||||
# of a job is not allowed.
|
# is not allowed.
|
||||||
|
# Note: The job's `status` field can be modified using this RPC (for example,
|
||||||
|
# to set a job's status to `DELETED`, `DISABLED`, or `ENABLED`).
|
||||||
# @param [String] job_name
|
# @param [String] job_name
|
||||||
# Required. The name of job to update.
|
# Required. The name of job to update.
|
||||||
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
|
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
|
||||||
|
|
Loading…
Reference in New Issue