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:
Google APIs 2019-12-11 00:37:09 +00:00
parent 517bd973bc
commit 923277c6a7
17 changed files with 344 additions and 213 deletions

View File

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

View File

@ -1093,7 +1093,7 @@ module Google
# @return [String]
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`
# @return [Array<Google::Apis::AndroidmanagementV1::SigninDetail>]
attr_accessor :signin_details
@ -3007,13 +3007,15 @@ module Google
attr_accessor :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`
# @return [Boolean]
attr_accessor :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`
# @return [Boolean]
attr_accessor :hardware_status_enabled
@ -3031,7 +3033,8 @@ module Google
attr_accessor :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`
# @return [Boolean]
attr_accessor :power_management_events_enabled

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/bigquery/
module BigquerydatatransferV1
VERSION = 'V1'
REVISION = '20191103'
REVISION = '20191206'
# View and manage your data in Google BigQuery
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'

View File

@ -56,7 +56,8 @@ module Google
# create a transfer config.
# @param [String] name
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -91,7 +92,8 @@ module Google
# which can be used for UI rendering.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -123,7 +125,8 @@ module Google
# which can be used for UI rendering.
# @param [String] parent
# 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
# Page size. The default page size is the maximum value of 1000 results.
# @param [String] page_token
@ -238,7 +241,8 @@ module Google
# create a transfer config.
# @param [String] name
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -273,7 +277,8 @@ module Google
# which can be used for UI rendering.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -305,7 +310,8 @@ module Google
# which can be used for UI rendering.
# @param [String] parent
# 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
# Page size. The default page size is the maximum value of 1000 results.
# @param [String] page_token
@ -347,9 +353,9 @@ module Google
# @param [String] parent
# Required. The BigQuery project id where the transfer configuration should be
# created.
# Must be in the format projects/`project_id`/locations/`location_id`
# If specified location and location of the destination bigquery dataset
# do not match - the request will fail.
# Must be in the format projects/`project_id`/locations/`location_id` or
# projects/`project_id`. If specified location and location of the
# destination bigquery dataset do not match - the request will fail.
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
# @param [String] authorization_code
# Optional OAuth2 authorization code to use with this transfer configuration.
@ -416,7 +422,8 @@ module Google
# including any associated transfer runs and logs.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -447,7 +454,8 @@ module Google
# Returns information about a data transfer config.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -478,7 +486,8 @@ module Google
# Returns information about all data transfers in the project.
# @param [String] parent
# 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
# When specified, only configurations of requested data sources are returned.
# @param [Fixnum] page_size
@ -602,7 +611,8 @@ module Google
# DEPRECATED: use StartManualTransferRuns instead.
# @param [String] parent
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -639,7 +649,8 @@ module Google
# a specific run_time.
# @param [String] parent
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -673,7 +684,9 @@ module Google
# Deletes the specified transfer run.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -704,7 +717,9 @@ module Google
# Returns information about the particular transfer run.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -737,7 +752,8 @@ module Google
# Required. Name of transfer configuration for which transfer runs should be
# retrieved.
# 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
# Page size. The default page size is the maximum value of 1000 results.
# @param [String] page_token
@ -784,7 +800,9 @@ module Google
# Returns user facing log messages for the data transfer run.
# @param [String] parent
# 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
# Message types to return. If not populated - INFO, WARNING and ERROR
# messages are returned.
@ -830,9 +848,9 @@ module Google
# @param [String] parent
# Required. The BigQuery project id where the transfer configuration should be
# created.
# Must be in the format projects/`project_id`/locations/`location_id`
# If specified location and location of the destination bigquery dataset
# do not match - the request will fail.
# Must be in the format projects/`project_id`/locations/`location_id` or
# projects/`project_id`. If specified location and location of the
# destination bigquery dataset do not match - the request will fail.
# @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
# @param [String] authorization_code
# Optional OAuth2 authorization code to use with this transfer configuration.
@ -899,7 +917,8 @@ module Google
# including any associated transfer runs and logs.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -930,7 +949,8 @@ module Google
# Returns information about a data transfer config.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -961,7 +981,8 @@ module Google
# Returns information about all data transfers in the project.
# @param [String] parent
# 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
# When specified, only configurations of requested data sources are returned.
# @param [Fixnum] page_size
@ -1085,7 +1106,8 @@ module Google
# DEPRECATED: use StartManualTransferRuns instead.
# @param [String] parent
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -1122,7 +1144,8 @@ module Google
# a specific run_time.
# @param [String] parent
# 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 [String] fields
# Selector specifying which fields to include in a partial response.
@ -1156,7 +1179,9 @@ module Google
# Deletes the specified transfer run.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1187,7 +1212,9 @@ module Google
# Returns information about the particular transfer run.
# @param [String] name
# 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
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1220,7 +1247,8 @@ module Google
# Required. Name of transfer configuration for which transfer runs should be
# retrieved.
# 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
# Page size. The default page size is the maximum value of 1000 results.
# @param [String] page_token
@ -1267,7 +1295,9 @@ module Google
# Returns user facing log messages for the data transfer run.
# @param [String] parent
# 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
# Message types to return. If not populated - INFO, WARNING and ERROR
# messages are returned.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/hangouts/chat
module ChatV1
VERSION = 'V1'
REVISION = '20180806'
REVISION = '20191205'
end
end
end

View File

@ -300,8 +300,11 @@ module Google
# Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
# @param [Google::Apis::ChatV1::Message] message_object
# @param [String] update_mask
# Required. The field paths to be updated.
# Currently supported field paths: "text", "cards".
# Required. The field paths to be updated, comma separated if there are
# multiple.
# Currently supported field paths:
# * text
# * cards
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta2
VERSION = 'V2beta2'
REVISION = '20191111'
REVISION = '20191202'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -460,6 +460,23 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# 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
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
@ -916,16 +933,18 @@ module Google
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# 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,
# 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
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -943,13 +962,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "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
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -964,14 +985,16 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# 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
include Google::Apis::Core::Hashable
# Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error.
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudtasksV2beta2::Binding>]
attr_accessor :bindings
@ -983,26 +1006,31 @@ module Google
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# 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.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if the incoming policy version does not
# meet the requirements for modifying the stored policy.
# **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.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Operations affecting conditional bindings must specify version 3. This can
# be either setting a conditional policy, modifying a conditional binding,
# or removing a binding (conditional or unconditional) from the stored
# conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, version compliance
# checks against the stored policy is skipped.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# 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`
# @return [Fixnum]
attr_accessor :version
@ -1485,16 +1513,18 @@ module Google
class SetIamPolicyRequest
include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# 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,
# 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
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -1512,13 +1542,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "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
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -1533,8 +1565,10 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# 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`
# @return [Google::Apis::CloudtasksV2beta2::Policy]
attr_accessor :policy

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/tasks/
module CloudtasksV2beta3
VERSION = 'V2beta3'
REVISION = '20191111'
REVISION = '20191202'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -177,8 +177,8 @@ module Google
# In addition, Cloud Tasks sets some headers when the task is dispatched,
# such as headers containing information about the task; see
# [request
# headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/
# creating-handlers#reading_request_headers).
# headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
# reading_request_headers).
# 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.
# 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`.
# * `group:`emailid``: An email address that represents a Google group.
# 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
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
@ -566,7 +583,7 @@ module Google
# HTTP request.
# 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
# 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
# task will be retried according to the following:
# * User-specified throttling: retry configuration,
@ -580,7 +597,7 @@ module Google
# `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
# errors is high, Cloud Tasks will use a higher backoff rate. The retry
# 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
# if large numbers of tasks suddenly become available to dispatch (due to
# spikes in create task rates, the queue being unpaused, or many tasks
@ -884,16 +901,18 @@ module Google
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# 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,
# 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
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -911,13 +930,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "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
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -932,14 +953,16 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# 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
include Google::Apis::Core::Hashable
# Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error.
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
attr_accessor :bindings
@ -951,26 +974,31 @@ module Google
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# 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.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if the incoming policy version does not
# meet the requirements for modifying the stored policy.
# **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.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Operations affecting conditional bindings must specify version 3. This can
# be either setting a conditional policy, modifying a conditional binding,
# or removing a binding (conditional or unconditional) from the stored
# conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, version compliance
# checks against the stored policy is skipped.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# 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`
# @return [Fixnum]
attr_accessor :version
@ -1340,16 +1368,18 @@ module Google
class SetIamPolicyRequest
include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# 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,
# 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
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -1367,13 +1397,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "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
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -1388,8 +1420,10 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# 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`
# @return [Google::Apis::CloudtasksV2beta3::Policy]
attr_accessor :policy
@ -1580,7 +1614,7 @@ module Google
# HTTP request.
# 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
# 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
# task will be retried according to the following:
# * User-specified throttling: retry configuration,
@ -1594,7 +1628,7 @@ module Google
# `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
# errors is high, Cloud Tasks will use a higher backoff rate. The retry
# 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
# if large numbers of tasks suddenly become available to dispatch (due to
# spikes in create task rates, the queue being unpaused, or many tasks

View File

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

View File

@ -46,6 +46,23 @@ module Google
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
# 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
# users of that domain. For example, `google.com` or `example.com`.
# Corresponds to the JSON property `members`
@ -160,16 +177,18 @@ module Google
end
end
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# 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,
# 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
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -187,13 +206,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "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
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -208,14 +229,16 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# 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
include Google::Apis::Core::Hashable
# Associates a list of `members` to a `role`. Optionally may specify a
# `condition` that determines when binding is in effect.
# `bindings` with no members will result in an error.
# Associates a list of `members` to a `role`. Optionally, may specify a
# `condition` that determines how and when the `bindings` are applied. Each
# of the `bindings` must contain at least one member.
# Corresponds to the JSON property `bindings`
# @return [Array<Google::Apis::IapV1beta1::Binding>]
attr_accessor :bindings
@ -227,25 +250,31 @@ module Google
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
# 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.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
# 'setIamPolicy' will not fail even if either of incoming or stored policy
# does not meet the version requirements.
# **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.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]
attr_accessor :etag
# Specifies the format of the policy.
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
# rejected.
# Operations affecting conditional bindings must specify version 3. This can
# be either setting a conditional policy, modifying a conditional binding,
# or removing a conditional binding from the stored conditional policy.
# Operations on non-conditional policies may specify any valid value or
# leave the field unset.
# If no etag is provided in the call to `setIamPolicy`, any version
# compliance checks on the incoming and/or stored policy is skipped.
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
# are rejected.
# Any operation that affects conditional role bindings must specify version
# `3`. This requirement applies to the following operations:
# * Getting a policy that includes a conditional role binding
# * Adding a conditional role binding to a policy
# * Changing a conditional role binding in a policy
# * Removing any role binding, with or without a condition, from a policy
# 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`
# @return [Fixnum]
attr_accessor :version
@ -266,16 +295,18 @@ module Google
class SetIamPolicyRequest
include Google::Apis::Core::Hashable
# Defines an Identity and Access Management (IAM) policy. It is used to
# specify access control policies for Cloud Platform resources.
# An Identity and Access Management (IAM) policy, which specifies access
# controls for Google Cloud resources.
# 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,
# 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
# optionally specify a `condition`, which is a logic expression that further
# constrains the role binding based on attributes about the request and/or
# target resource.
# **JSON Example**
# permissions; each `role` can be an IAM predefined role or a user-created
# custom role.
# Optionally, a `binding` can specify a `condition`, which is a logical
# expression that allows access to a resource only if the expression evaluates
# to `true`. A condition can add constraints based on attributes of the
# request, the resource, or both.
# **JSON example:**
# `
# "bindings": [
# `
@ -293,13 +324,15 @@ module Google
# "condition": `
# "title": "expirable access",
# "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
# `
# **YAML Example**
# **YAML example:**
# bindings:
# - members:
# - user:mike@example.com
@ -314,8 +347,10 @@ module Google
# title: expirable access
# description: Does not grant access after Sep 2020
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
# - etag: BwWWja0YfJA=
# - version: 3
# 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`
# @return [Google::Apis::IapV1beta1::Policy]
attr_accessor :policy

View File

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

View File

@ -342,11 +342,10 @@ module Google
end
# Message holding configuration options for explaining model predictions.
# Currently, the only supported mechanism to explain a model's prediction is
# through attributing its output back to its inputs which is essentially a
# credit assignment task. We support multiple attribution methods, some
# specific to particular frameworks like Tensorflow and XGBoost.
# Next idx: 7.
# There are two feature attribution methods supported for TensorFlow models:
# integrated gradients and sampled Shapley.
# <a href="/ml-engine/docs/ai-explanations/overview">Learn more about feature
# attributions</a>.
class GoogleCloudMlV1ExplanationConfig
include Google::Apis::Core::Hashable
@ -858,8 +857,7 @@ module Google
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# projects.models.versions.list.
# Corresponds to the JSON property `defaultVersion`
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
attr_accessor :default_version
@ -1003,8 +1001,7 @@ module Google
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# projects.models.versions.list.
# Corresponds to the JSON property `version`
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
attr_accessor :version
@ -1709,8 +1706,7 @@ module Google
# Each version is a trained model deployed in the cloud, ready to handle
# prediction requests. A model can have multiple versions. You can get
# information about all of the versions of a given model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# projects.models.versions.list.
class GoogleCloudMlV1Version
include Google::Apis::Core::Hashable
@ -1739,8 +1735,7 @@ module Google
# deployment](/ml-engine/docs/tensorflow/deploying-models) for more
# information.
# When passing Version to
# [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.
# versions/create)
# projects.models.versions.create
# 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
# this location is useful only as a historical record.
@ -1772,11 +1767,10 @@ module Google
attr_accessor :etag
# Message holding configuration options for explaining model predictions.
# Currently, the only supported mechanism to explain a model's prediction is
# through attributing its output back to its inputs which is essentially a
# credit assignment task. We support multiple attribution methods, some
# specific to particular frameworks like Tensorflow and XGBoost.
# Next idx: 7.
# There are two feature attribution methods supported for TensorFlow models:
# integrated gradients and sampled Shapley.
# <a href="/ml-engine/docs/ai-explanations/overview">Learn more about feature
# attributions</a>.
# Corresponds to the JSON property `explanationConfig`
# @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
attr_accessor :explanation_config
@ -1800,8 +1794,7 @@ module Google
# Output only. If true, this version will be used to handle prediction
# requests that do not specify a version.
# You can change the default version by calling
# [projects.methods.versions.setDefault](/ml-engine/reference/rest/v1/projects.
# models.versions/setDefault).
# projects.methods.versions.setDefault.
# Corresponds to the JSON property `isDefault`
# @return [Boolean]
attr_accessor :is_default
@ -2137,7 +2130,7 @@ module Google
# 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
# 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

View File

@ -49,7 +49,8 @@ module Google
# Performs explanation on the data in the request.
# 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)**.
# @param [String] name
# Required. The resource name of a model or a version.
@ -119,7 +120,8 @@ module Google
# Performs prediction on the data in the request.
# 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)**.
# @param [String] name
# 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.
# You must add at least one version before you can request predictions from
# the model. Add versions by calling
# [projects.models.versions.create](/ml-engine/reference/rest/v1/projects.models.
# versions/create).
# projects.models.versions.create.
# @param [String] parent
# Required. The project name.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Model] google_cloud_ml_v1__model_object
@ -586,8 +587,7 @@ module Google
# Deletes a model.
# You can only delete a model if there are no versions in it. You can delete
# versions by calling
# [projects.models.versions.delete](/ml-engine/reference/rest/v1/projects.models.
# versions/delete).
# projects.models.versions.delete.
# @param [String] name
# Required. The name of the model.
# @param [String] fields
@ -869,8 +869,7 @@ module Google
# 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
# new version to be the default, you must call
# [projects.models.versions.setDefault](/ml-engine/reference/rest/v1/projects.
# models.versions/setDefault).
# projects.models.versions.setDefault.
# @param [String] parent
# Required. The name of the model.
# @param [Google::Apis::MlV1::GoogleCloudMlV1Version] google_cloud_ml_v1__version_object
@ -911,8 +910,7 @@ module Google
# @param [String] name
# Required. The name of the version. You can get the names of all the
# versions of a model by calling
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# projects.models.versions.list.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -942,8 +940,7 @@ module Google
# Gets information about a model version.
# Models can have multiple versions. You can call
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list)
# projects.models.versions.list
# to get the same information that this method returns for all of the
# versions of a model.
# @param [String] name
@ -1025,8 +1022,8 @@ module Google
end
# Updates the specified Version resource.
# Currently the only update-able fields are `description` and
# `autoScaling.minNodes`.
# Currently the only update-able fields are `description`,
# `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
# @param [String] name
# Required. The name of the model.
# @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`,
# `autoScaling.minNodes`, and `manualScaling.nodes`. However, you can only
# update `manualScaling.nodes` if the version uses a [Compute Engine (N1)
# `requestLoggingConfig`, `autoScaling.minNodes`, and `manualScaling.nodes`.
# However, you can only update `manualScaling.nodes` if the version uses a
# [Compute Engine (N1)
# machine type](/ml-engine/docs/machine-types-online-prediction).
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -1084,8 +1082,7 @@ module Google
# @param [String] name
# 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
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
# versions/list).
# projects.models.versions.list.
# @param [Google::Apis::MlV1::GoogleCloudMlV1SetDefaultVersionRequest] google_cloud_ml_v1__set_default_version_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1
VERSION = 'V1'
REVISION = '20191118'
REVISION = '20191206'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -194,8 +194,10 @@ module Google
end
# Updates a transfer job. Updating a job's transfer spec does not affect
# transfer operations that are running already. Updating the scheduling
# of a job is not allowed.
# transfer operations that are running already. Updating a job's schedule
# 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
# Required. The name of job to update.
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object