Autogenerated update (2019-05-18)
Update: - cloudtasks_v2 - cloudtasks_v2beta3 - dataproc_v1 - dataproc_v1beta2 - ml_v1
This commit is contained in:
parent
e74aafefe4
commit
3d591ea893
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190412'
|
||||
REVISION = '20190513'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,8 +25,6 @@ module Google
|
|||
# App Engine HTTP request.
|
||||
# The message defines the HTTP request that is sent to an App Engine app when
|
||||
# the task is dispatched.
|
||||
# This proto can only be used for tasks in a queue which has
|
||||
# app_engine_http_queue set.
|
||||
# Using AppEngineHttpRequest requires
|
||||
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
||||
# api/access-control)
|
||||
|
@ -66,13 +64,17 @@ module Google
|
|||
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
# error. Requests returning error `503` will be retried regardless of
|
||||
# retry configuration and not counted against retry counts.
|
||||
# Any other response code or a failure to receive a response before the
|
||||
# deadline is a failed attempt.
|
||||
# The task attempt has succeeded if the app's request handler returns an HTTP
|
||||
# response code in the range [`200` - `299`]. The task attempt has failed if
|
||||
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
||||
# not receive response before the deadline. Failed
|
||||
# tasks will be retried according to the
|
||||
# retry configuration. `503` (Service Unavailable) is
|
||||
# considered an App Engine system error instead of an application error and
|
||||
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
||||
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
||||
# Requests) response from an app handler does not cause traffic congestion
|
||||
# control to throttle the queue.
|
||||
class AppEngineHttpRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1222,8 +1224,6 @@ module Google
|
|||
# App Engine HTTP request.
|
||||
# The message defines the HTTP request that is sent to an App Engine app when
|
||||
# the task is dispatched.
|
||||
# This proto can only be used for tasks in a queue which has
|
||||
# app_engine_http_queue set.
|
||||
# Using AppEngineHttpRequest requires
|
||||
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
||||
# api/access-control)
|
||||
|
@ -1263,13 +1263,17 @@ module Google
|
|||
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
# error. Requests returning error `503` will be retried regardless of
|
||||
# retry configuration and not counted against retry counts.
|
||||
# Any other response code or a failure to receive a response before the
|
||||
# deadline is a failed attempt.
|
||||
# The task attempt has succeeded if the app's request handler returns an HTTP
|
||||
# response code in the range [`200` - `299`]. The task attempt has failed if
|
||||
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
||||
# not receive response before the deadline. Failed
|
||||
# tasks will be retried according to the
|
||||
# retry configuration. `503` (Service Unavailable) is
|
||||
# considered an App Engine system error instead of an application error and
|
||||
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
||||
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
||||
# Requests) response from an app handler does not cause traffic congestion
|
||||
# control to throttle the queue.
|
||||
# Corresponds to the JSON property `appEngineHttpRequest`
|
||||
# @return [Google::Apis::CloudtasksV2::AppEngineHttpRequest]
|
||||
attr_accessor :app_engine_http_request
|
||||
|
|
|
@ -736,12 +736,12 @@ module Google
|
|||
# The queue name. For example:
|
||||
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
||||
# @param [Fixnum] page_size
|
||||
# Requested page size. Fewer tasks than requested might be returned.
|
||||
# The maximum page size is 1000. If unspecified, the page size will
|
||||
# be the maximum. Fewer tasks than requested might be returned,
|
||||
# even if more tasks exist; use
|
||||
# next_page_token in the
|
||||
# response to determine if more tasks exist.
|
||||
# Maximum page size.
|
||||
# Fewer tasks than requested might be returned, even if more tasks exist; use
|
||||
# next_page_token in the response to
|
||||
# determine if more tasks exist.
|
||||
# The maximum page size is 1000. If unspecified, the page size will be the
|
||||
# maximum.
|
||||
# @param [String] page_token
|
||||
# A token identifying the page of results to return.
|
||||
# To request the first page results, page_token must be empty. To
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2beta3
|
||||
VERSION = 'V2beta3'
|
||||
REVISION = '20190412'
|
||||
REVISION = '20190513'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -69,8 +69,6 @@ module Google
|
|||
# App Engine HTTP request.
|
||||
# The message defines the HTTP request that is sent to an App Engine app when
|
||||
# the task is dispatched.
|
||||
# This proto can only be used for tasks in a queue which has
|
||||
# app_engine_http_queue set.
|
||||
# Using AppEngineHttpRequest requires
|
||||
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
||||
# api/access-control)
|
||||
|
@ -110,13 +108,17 @@ module Google
|
|||
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
# error. Requests returning error `503` will be retried regardless of
|
||||
# retry configuration and not counted against retry counts.
|
||||
# Any other response code or a failure to receive a response before the
|
||||
# deadline is a failed attempt.
|
||||
# The task attempt has succeeded if the app's request handler returns an HTTP
|
||||
# response code in the range [`200` - `299`]. The task attempt has failed if
|
||||
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
||||
# not receive response before the deadline. Failed
|
||||
# tasks will be retried according to the
|
||||
# retry configuration. `503` (Service Unavailable) is
|
||||
# considered an App Engine system error instead of an application error and
|
||||
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
||||
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
||||
# Requests) response from an app handler does not cause traffic congestion
|
||||
# control to throttle the queue.
|
||||
class AppEngineHttpRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -564,6 +566,118 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# HTTP request.
|
||||
# Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages)
|
||||
# feature. If you haven't already joined, you can [use this form to sign
|
||||
# up](https://docs.google.com/forms/d/e/
|
||||
# 1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform).
|
||||
# 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
|
||||
# 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,
|
||||
# rate limits, and the queue's state.
|
||||
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
||||
# temporarily reduce the queue's effective rate. User-specified settings
|
||||
# will not be changed.
|
||||
# System throttling happens because:
|
||||
# * Cloud Tasks backoffs on all errors. Normally the backoff specified in
|
||||
# rate limits will be used. But if the worker returns
|
||||
# `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,
|
||||
# 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
|
||||
# that are scheduled at the same time).
|
||||
class HttpRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# HTTP request body.
|
||||
# A request body is allowed only if the
|
||||
# HTTP method is POST, PUT, or PATCH. It is an
|
||||
# error to set body on a task with an incompatible HttpMethod.
|
||||
# Corresponds to the JSON property `body`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :body
|
||||
|
||||
# HTTP request headers.
|
||||
# This map contains the header field names and values.
|
||||
# Headers can be set when the
|
||||
# task is created.
|
||||
# These headers represent a subset of the headers that will accompany the
|
||||
# task's HTTP request. Some HTTP request headers will be ignored or replaced.
|
||||
# A partial list of headers that will be ignored or replaced is:
|
||||
# * Host: This will be computed by Cloud Tasks and derived from
|
||||
# HttpRequest.url.
|
||||
# * Content-Length: This will be computed by Cloud Tasks.
|
||||
# * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
|
||||
# * X-Google-*: Google use only.
|
||||
# * X-AppEngine-*: Google use only.
|
||||
# `Content-Type` won't be set by Cloud Tasks. You can explicitly set
|
||||
# `Content-Type` to a media type when the
|
||||
# task is created.
|
||||
# For example, `Content-Type` can be set to `"application/octet-stream"` or
|
||||
# `"application/json"`.
|
||||
# Headers which can have multiple values (according to RFC2616) can be
|
||||
# specified using comma-separated values.
|
||||
# The size of the headers must be less than 80KB.
|
||||
# Corresponds to the JSON property `headers`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :headers
|
||||
|
||||
# The HTTP method to use for the request. The default is POST.
|
||||
# Corresponds to the JSON property `httpMethod`
|
||||
# @return [String]
|
||||
attr_accessor :http_method
|
||||
|
||||
# Contains information needed for generating an
|
||||
# [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
|
||||
# This type of authorization should generally only be used when calling Google
|
||||
# APIs hosted on *.googleapis.com.
|
||||
# Corresponds to the JSON property `oauthToken`
|
||||
# @return [Google::Apis::CloudtasksV2beta3::OAuthToken]
|
||||
attr_accessor :oauth_token
|
||||
|
||||
# Contains information needed for generating an
|
||||
# [OpenID Connect
|
||||
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
|
||||
# This type of authorization can be used for many scenarios, including
|
||||
# calling Cloud Run, or endpoints where you intend to validate the token
|
||||
# yourself.
|
||||
# Corresponds to the JSON property `oidcToken`
|
||||
# @return [Google::Apis::CloudtasksV2beta3::OidcToken]
|
||||
attr_accessor :oidc_token
|
||||
|
||||
# Required. The full url path that the request will be sent to.
|
||||
# This string must begin with either "http://" or "https://". Some examples
|
||||
# are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
|
||||
# encode some characters for safety and compatibility. The maximum allowed
|
||||
# URL length is 2083 characters after encoding.
|
||||
# The `Location` header response from a redirect response [`300` - `399`]
|
||||
# may be followed. The redirect is not counted as a separate attempt.
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@body = args[:body] if args.key?(:body)
|
||||
@headers = args[:headers] if args.key?(:headers)
|
||||
@http_method = args[:http_method] if args.key?(:http_method)
|
||||
@oauth_token = args[:oauth_token] if args.key?(:oauth_token)
|
||||
@oidc_token = args[:oidc_token] if args.key?(:oidc_token)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
end
|
||||
|
||||
# The response message for Locations.ListLocations.
|
||||
class ListLocationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -695,6 +809,75 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Contains information needed for generating an
|
||||
# [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
|
||||
# This type of authorization should generally only be used when calling Google
|
||||
# APIs hosted on *.googleapis.com.
|
||||
class OAuthToken
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# OAuth scope to be used for generating OAuth access token.
|
||||
# If not specified, "https://www.googleapis.com/auth/cloud-platform"
|
||||
# will be used.
|
||||
# Corresponds to the JSON property `scope`
|
||||
# @return [String]
|
||||
attr_accessor :scope
|
||||
|
||||
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
||||
# to be used for generating OAuth token.
|
||||
# The service account must be within the same project as the queue. The
|
||||
# caller must have iam.serviceAccounts.actAs permission for the service
|
||||
# account.
|
||||
# Corresponds to the JSON property `serviceAccountEmail`
|
||||
# @return [String]
|
||||
attr_accessor :service_account_email
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@scope = args[:scope] if args.key?(:scope)
|
||||
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains information needed for generating an
|
||||
# [OpenID Connect
|
||||
# token](https://developers.google.com/identity/protocols/OpenIDConnect).
|
||||
# This type of authorization can be used for many scenarios, including
|
||||
# calling Cloud Run, or endpoints where you intend to validate the token
|
||||
# yourself.
|
||||
class OidcToken
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Audience to be used when generating OIDC token. If not specified, the URI
|
||||
# specified in target will be used.
|
||||
# Corresponds to the JSON property `audience`
|
||||
# @return [String]
|
||||
attr_accessor :audience
|
||||
|
||||
# [Service account email](https://cloud.google.com/iam/docs/service-accounts)
|
||||
# to be used for generating OIDC token.
|
||||
# The service account must be within the same project as the queue. The
|
||||
# caller must have iam.serviceAccounts.actAs permission for the service
|
||||
# account.
|
||||
# Corresponds to the JSON property `serviceAccountEmail`
|
||||
# @return [String]
|
||||
attr_accessor :service_account_email
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audience = args[:audience] if args.key?(:audience)
|
||||
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for PauseQueue.
|
||||
class PauseQueueRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -868,6 +1051,12 @@ module Google
|
|||
# @return [Google::Apis::CloudtasksV2beta3::RetryConfig]
|
||||
attr_accessor :retry_config
|
||||
|
||||
# Configuration options for writing logs to
|
||||
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
||||
# Corresponds to the JSON property `stackdriverLoggingConfig`
|
||||
# @return [Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig]
|
||||
attr_accessor :stackdriver_logging_config
|
||||
|
||||
# Output only. The state of the queue.
|
||||
# `state` can only be changed by called
|
||||
# PauseQueue,
|
||||
|
@ -890,6 +1079,7 @@ module Google
|
|||
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
||||
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
||||
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
||||
@stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_config)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
@ -1182,6 +1372,29 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Configuration options for writing logs to
|
||||
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
||||
class StackdriverLoggingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the fraction of operations to write to
|
||||
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
||||
# This field may contain any value between 0.0 and 1.0, inclusive.
|
||||
# 0.0 is the default and means that no operations are logged.
|
||||
# Corresponds to the JSON property `samplingRatio`
|
||||
# @return [Float]
|
||||
attr_accessor :sampling_ratio
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@sampling_ratio = args[:sampling_ratio] if args.key?(:sampling_ratio)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
|
@ -1261,8 +1474,6 @@ module Google
|
|||
# App Engine HTTP request.
|
||||
# The message defines the HTTP request that is sent to an App Engine app when
|
||||
# the task is dispatched.
|
||||
# This proto can only be used for tasks in a queue which has
|
||||
# app_engine_http_queue set.
|
||||
# Using AppEngineHttpRequest requires
|
||||
# [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
|
||||
# api/access-control)
|
||||
|
@ -1302,13 +1513,17 @@ module Google
|
|||
# required`](https://cloud.google.com/appengine/docs/standard/python/config/
|
||||
# appref)
|
||||
# Task dispatches also do not follow redirects.
|
||||
# The task attempt has succeeded if the app's request handler returns
|
||||
# an HTTP response code in the range [`200` - `299`]. `503` is
|
||||
# considered an App Engine system error instead of an application
|
||||
# error. Requests returning error `503` will be retried regardless of
|
||||
# retry configuration and not counted against retry counts.
|
||||
# Any other response code or a failure to receive a response before the
|
||||
# deadline is a failed attempt.
|
||||
# The task attempt has succeeded if the app's request handler returns an HTTP
|
||||
# response code in the range [`200` - `299`]. The task attempt has failed if
|
||||
# the app's handler returns a non-2xx response code or Cloud Tasks does
|
||||
# not receive response before the deadline. Failed
|
||||
# tasks will be retried according to the
|
||||
# retry configuration. `503` (Service Unavailable) is
|
||||
# considered an App Engine system error instead of an application error and
|
||||
# will cause Cloud Tasks' traffic congestion control to temporarily throttle
|
||||
# the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
|
||||
# Requests) response from an app handler does not cause traffic congestion
|
||||
# control to throttle the queue.
|
||||
# Corresponds to the JSON property `appEngineHttpRequest`
|
||||
# @return [Google::Apis::CloudtasksV2beta3::AppEngineHttpRequest]
|
||||
attr_accessor :app_engine_http_request
|
||||
|
@ -1335,6 +1550,8 @@ module Google
|
|||
# worker. For example, if the worker is stuck, it may not react to cancelled
|
||||
# requests.
|
||||
# The default and maximum values depend on the type of request:
|
||||
# * For HTTP tasks, the default is 10 minutes. The deadline
|
||||
# must be in the interval [15 seconds, 30 minutes].
|
||||
# * For App Engine tasks, 0 indicates that the
|
||||
# request has the default deadline. The default deadline depends on the
|
||||
# [scaling
|
||||
|
@ -1361,6 +1578,36 @@ module Google
|
|||
# @return [Google::Apis::CloudtasksV2beta3::Attempt]
|
||||
attr_accessor :first_attempt
|
||||
|
||||
# HTTP request.
|
||||
# Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages)
|
||||
# feature. If you haven't already joined, you can [use this form to sign
|
||||
# up](https://docs.google.com/forms/d/e/
|
||||
# 1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform).
|
||||
# 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
|
||||
# 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,
|
||||
# rate limits, and the queue's state.
|
||||
# * System throttling: To prevent the worker from overloading, Cloud Tasks may
|
||||
# temporarily reduce the queue's effective rate. User-specified settings
|
||||
# will not be changed.
|
||||
# System throttling happens because:
|
||||
# * Cloud Tasks backoffs on all errors. Normally the backoff specified in
|
||||
# rate limits will be used. But if the worker returns
|
||||
# `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,
|
||||
# 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
|
||||
# that are scheduled at the same time).
|
||||
# Corresponds to the JSON property `httpRequest`
|
||||
# @return [Google::Apis::CloudtasksV2beta3::HttpRequest]
|
||||
attr_accessor :http_request
|
||||
|
||||
# The status of a task attempt.
|
||||
# Corresponds to the JSON property `lastAttempt`
|
||||
# @return [Google::Apis::CloudtasksV2beta3::Attempt]
|
||||
|
@ -1417,6 +1664,7 @@ module Google
|
|||
@dispatch_count = args[:dispatch_count] if args.key?(:dispatch_count)
|
||||
@dispatch_deadline = args[:dispatch_deadline] if args.key?(:dispatch_deadline)
|
||||
@first_attempt = args[:first_attempt] if args.key?(:first_attempt)
|
||||
@http_request = args[:http_request] if args.key?(:http_request)
|
||||
@last_attempt = args[:last_attempt] if args.key?(:last_attempt)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@response_count = args[:response_count] if args.key?(:response_count)
|
||||
|
|
|
@ -76,6 +76,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class HttpRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -100,6 +106,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OAuthToken
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class OidcToken
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PauseQueueRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -154,6 +172,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StackdriverLoggingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -260,6 +284,20 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class HttpRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :body, :base64 => true, as: 'body'
|
||||
hash :headers, as: 'headers'
|
||||
property :http_method, as: 'httpMethod'
|
||||
property :oauth_token, as: 'oauthToken', class: Google::Apis::CloudtasksV2beta3::OAuthToken, decorator: Google::Apis::CloudtasksV2beta3::OAuthToken::Representation
|
||||
|
||||
property :oidc_token, as: 'oidcToken', class: Google::Apis::CloudtasksV2beta3::OidcToken, decorator: Google::Apis::CloudtasksV2beta3::OidcToken::Representation
|
||||
|
||||
property :url, as: 'url'
|
||||
end
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -298,6 +336,22 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class OAuthToken
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :scope, as: 'scope'
|
||||
property :service_account_email, as: 'serviceAccountEmail'
|
||||
end
|
||||
end
|
||||
|
||||
class OidcToken
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :audience, as: 'audience'
|
||||
property :service_account_email, as: 'serviceAccountEmail'
|
||||
end
|
||||
end
|
||||
|
||||
class PauseQueueRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -331,6 +385,8 @@ module Google
|
|||
|
||||
property :retry_config, as: 'retryConfig', class: Google::Apis::CloudtasksV2beta3::RetryConfig, decorator: Google::Apis::CloudtasksV2beta3::RetryConfig::Representation
|
||||
|
||||
property :stackdriver_logging_config, as: 'stackdriverLoggingConfig', class: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig, decorator: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig::Representation
|
||||
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
@ -376,6 +432,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class StackdriverLoggingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :sampling_ratio, as: 'samplingRatio'
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -395,6 +458,8 @@ module Google
|
|||
property :dispatch_deadline, as: 'dispatchDeadline'
|
||||
property :first_attempt, as: 'firstAttempt', class: Google::Apis::CloudtasksV2beta3::Attempt, decorator: Google::Apis::CloudtasksV2beta3::Attempt::Representation
|
||||
|
||||
property :http_request, as: 'httpRequest', class: Google::Apis::CloudtasksV2beta3::HttpRequest, decorator: Google::Apis::CloudtasksV2beta3::HttpRequest::Representation
|
||||
|
||||
property :last_attempt, as: 'lastAttempt', class: Google::Apis::CloudtasksV2beta3::Attempt, decorator: Google::Apis::CloudtasksV2beta3::Attempt::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
|
|
|
@ -736,12 +736,12 @@ module Google
|
|||
# The queue name. For example:
|
||||
# `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
|
||||
# @param [Fixnum] page_size
|
||||
# Requested page size. Fewer tasks than requested might be returned.
|
||||
# The maximum page size is 1000. If unspecified, the page size will
|
||||
# be the maximum. Fewer tasks than requested might be returned,
|
||||
# even if more tasks exist; use
|
||||
# next_page_token in the
|
||||
# response to determine if more tasks exist.
|
||||
# Maximum page size.
|
||||
# Fewer tasks than requested might be returned, even if more tasks exist; use
|
||||
# next_page_token in the response to
|
||||
# determine if more tasks exist.
|
||||
# The maximum page size is 1000. If unspecified, the page size will be the
|
||||
# maximum.
|
||||
# @param [String] page_token
|
||||
# A token identifying the page of results to return.
|
||||
# To request the first page results, page_token must be empty. To
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190502'
|
||||
REVISION = '20190511'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1534,8 +1534,8 @@ module Google
|
|||
attr_accessor :metadata
|
||||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the name should
|
||||
# have the format of operations/some/unique/name.
|
||||
# originally returns it. If you use the default HTTP mapping, the name should be
|
||||
# a resource name ending with operations/`unique_id`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20190502'
|
||||
REVISION = '20190511'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2014,8 +2014,8 @@ module Google
|
|||
attr_accessor :metadata
|
||||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the name should
|
||||
# have the format of operations/some/unique/name.
|
||||
# originally returns it. If you use the default HTTP mapping, the name should be
|
||||
# a resource name ending with operations/`unique_id`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190423'
|
||||
REVISION = '20190514'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -205,7 +205,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :python_version
|
||||
|
||||
# Cloud ML Engine runtime version on which the built-in algorithm was
|
||||
# AI Platform runtime version on which the built-in algorithm was
|
||||
# trained.
|
||||
# Corresponds to the JSON property `runtimeVersion`
|
||||
# @return [String]
|
||||
|
@ -372,7 +372,7 @@ module Google
|
|||
|
||||
# Optional. The search algorithm specified for the hyperparameter
|
||||
# tuning job.
|
||||
# Uses the default CloudML Engine hyperparameter tuning
|
||||
# Uses the default AI Platform hyperparameter tuning
|
||||
# algorithm if unspecified.
|
||||
# Corresponds to the JSON property `algorithm`
|
||||
# @return [String]
|
||||
|
@ -403,7 +403,7 @@ module Google
|
|||
|
||||
# Optional. The number of failed trials that need to be seen before failing
|
||||
# the hyperparameter tuning job. You can specify this field to override the
|
||||
# default failing criteria for Cloud ML Engine hyperparameter tuning jobs.
|
||||
# default failing criteria for AI Platform hyperparameter tuning jobs.
|
||||
# Defaults to zero, which means the service decides when a hyperparameter
|
||||
# job should fail.
|
||||
# Corresponds to the JSON property `maxFailedTrials`
|
||||
|
@ -725,7 +725,6 @@ module Google
|
|||
# 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).
|
||||
# Next ID: 30
|
||||
# Corresponds to the JSON property `defaultVersion`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
attr_accessor :default_version
|
||||
|
@ -762,13 +761,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Optional. If true, enables logging of stderr and stdout streams
|
||||
# for online prediction in Stackdriver Logging. These can be more verbose
|
||||
# than the standard access logs (see `online_prediction_logging`) and thus
|
||||
# can incur higher cost. However, they are helpful for debugging. Note that
|
||||
# since Stackdriver logs may incur a cost, particularly if the total QPS
|
||||
# in your project is high, be sure to estimate your costs before enabling
|
||||
# this flag.
|
||||
# Optional. If true, online prediction nodes send `stderr` and `stdout`
|
||||
# streams to Stackdriver Logging. These can be more verbose than the standard
|
||||
# access logs (see `onlinePredictionLogging`) and can incur higher cost.
|
||||
# However, they are helpful for debugging. Note that
|
||||
# [Stackdriver logs may incur a cost](/stackdriver/pricing), especially if
|
||||
# your project receives prediction requests at a high QPS. Estimate your
|
||||
# costs before enabling this option.
|
||||
# Default is false.
|
||||
# Corresponds to the JSON property `onlinePredictionConsoleLogging`
|
||||
# @return [Boolean]
|
||||
|
@ -778,8 +777,9 @@ module Google
|
|||
# Optional. If true, online prediction access logs are sent to StackDriver
|
||||
# Logging. These logs are like standard server access logs, containing
|
||||
# information like timestamp and latency for each request. Note that
|
||||
# Stackdriver logs may incur a cost, particular if the total QPS in your
|
||||
# project is high.
|
||||
# [Stackdriver logs may incur a cost](/stackdriver/pricing), especially if
|
||||
# your project receives prediction requests at a high queries per second rate
|
||||
# (QPS). Estimate your costs before enabling this option.
|
||||
# Default is false.
|
||||
# Corresponds to the JSON property `onlinePredictionLogging`
|
||||
# @return [Boolean]
|
||||
|
@ -790,7 +790,7 @@ module Google
|
|||
# Currently only one region per model is supported.
|
||||
# Defaults to 'us-central1' if nothing is set.
|
||||
# See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
|
||||
# for ML Engine services.
|
||||
# for AI Platform services.
|
||||
# Note:
|
||||
# * No matter where a model is deployed, it can always be accessed by
|
||||
# users from anywhere, both for online and batch prediction.
|
||||
|
@ -870,7 +870,6 @@ module Google
|
|||
# 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).
|
||||
# Next ID: 30
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
attr_accessor :version
|
||||
|
@ -1055,13 +1054,13 @@ module Google
|
|||
|
||||
# Required. The Google Compute Engine region to run the prediction job in.
|
||||
# See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
|
||||
# for ML Engine services.
|
||||
# for AI Platform services.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# Optional. The Cloud ML Engine runtime version to use for this batch
|
||||
# prediction. If not set, Cloud ML Engine will pick the runtime version used
|
||||
# Optional. The AI Platform runtime version to use for this batch
|
||||
# prediction. If not set, AI Platform will pick the runtime version used
|
||||
# during the CreateVersion request for this model version, or choose the
|
||||
# latest stable version when model version information is not available
|
||||
# such as when the model is specified by uri.
|
||||
|
@ -1364,7 +1363,7 @@ module Google
|
|||
# The supported values are the same as those described in the entry for
|
||||
# `master_type`.
|
||||
# This value must be consistent with the category of machine type that
|
||||
# `masterType` uses. In other words, both must be Cloud ML Engine machine
|
||||
# `masterType` uses. In other words, both must be AI Platform machine
|
||||
# types or both must be Compute Engine machine types.
|
||||
# This value must be present when `scaleTier` is set to `CUSTOM` and
|
||||
# `parameter_server_count` is greater than zero.
|
||||
|
@ -1387,13 +1386,13 @@ module Google
|
|||
|
||||
# Required. The Google Compute Engine region to run the training job in.
|
||||
# See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
|
||||
# for ML Engine services.
|
||||
# for AI Platform services.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# Optional. The Cloud ML Engine runtime version to use for training. If not
|
||||
# set, Cloud ML Engine uses the default stable version, 1.0. For more
|
||||
# Optional. The AI Platform runtime version to use for training. If not
|
||||
# set, AI Platform uses the default stable version, 1.0. For more
|
||||
# information, see the
|
||||
# <a href="/ml-engine/docs/runtime-version-list">runtime version list</a>
|
||||
# and
|
||||
|
@ -1427,7 +1426,7 @@ module Google
|
|||
# The supported values are the same as those described in the entry for
|
||||
# `masterType`.
|
||||
# This value must be consistent with the category of machine type that
|
||||
# `masterType` uses. In other words, both must be Cloud ML Engine machine
|
||||
# `masterType` uses. In other words, both must be AI Platform machine
|
||||
# types or both must be Compute Engine machine types.
|
||||
# If you use `cloud_tpu` for this value, see special instructions for
|
||||
# [configuring a custom TPU
|
||||
|
@ -1524,7 +1523,6 @@ module Google
|
|||
# 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).
|
||||
# Next ID: 30
|
||||
class GoogleCloudMlV1Version
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1538,7 +1536,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Required. The Google Cloud Storage location of the trained model used to
|
||||
# Required. The Cloud Storage location of the trained model used to
|
||||
# create the version. See the
|
||||
# [guide to model
|
||||
# deployment](/ml-engine/docs/tensorflow/deploying-models) for more
|
||||
|
@ -1576,12 +1574,14 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Optional. The machine learning framework Cloud ML Engine uses to train
|
||||
# Optional. The machine learning framework AI Platform uses to train
|
||||
# this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`,
|
||||
# `XGBOOST`. If you do not specify a framework, Cloud ML Engine
|
||||
# `XGBOOST`. If you do not specify a framework, AI Platform
|
||||
# will analyze files in the deployment_uri to determine a framework. If you
|
||||
# choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version
|
||||
# of the model to 1.4 or greater.
|
||||
# Do **not** specify a framework if you're deploying a [custom
|
||||
# prediction routine](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
||||
# Corresponds to the JSON property `framework`
|
||||
# @return [String]
|
||||
attr_accessor :framework
|
||||
|
@ -1639,45 +1639,63 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Optional. The Google Cloud Storage location of the packages for custom
|
||||
# prediction and any additional dependencies.
|
||||
# Optional. Cloud Storage paths (`gs://…`) of packages for [custom
|
||||
# prediction routines](/ml-engine/docs/tensorflow/custom-prediction-routines)
|
||||
# or [scikit-learn pipelines with custom
|
||||
# code](/ml-engine/docs/scikit/exporting-for-prediction#custom-pipeline-code).
|
||||
# For a custom prediction routine, one of these packages must contain your
|
||||
# Predictor class (see
|
||||
# [`predictionClass`](#Version.FIELDS.prediction_class)). Additionally,
|
||||
# include any dependencies used by your Predictor or scikit-learn pipeline
|
||||
# uses that are not already included in your selected [runtime
|
||||
# version](/ml-engine/docs/tensorflow/runtime-version-list).
|
||||
# If you specify this field, you must also set
|
||||
# [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater.
|
||||
# Corresponds to the JSON property `packageUris`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :package_uris
|
||||
|
||||
# class PredictionClass(object):
|
||||
# """A Model performs predictions on a given list of instances.
|
||||
# The input instances are the raw values sent by the user. It is the
|
||||
# responsibility of a Model to translate these instances into
|
||||
# actual predictions.
|
||||
# The input instances and the output use python data types. The input
|
||||
# instances have been decoded prior to being passed to the predict
|
||||
# method. The output, which should use python data types is
|
||||
# encoded after being returned from the predict method.
|
||||
# """
|
||||
# Optional. The fully qualified name
|
||||
# (<var>module_name</var>.<var>class_name</var>) of a class that implements
|
||||
# the Predictor interface described in this reference field. The module
|
||||
# containing this class should be included in a package provided to the
|
||||
# [`packageUris` field](#Version.FIELDS.package_uris).
|
||||
# Specify this field if and only if you are deploying a [custom prediction
|
||||
# routine (beta)](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
||||
# If you specify this field, you must set
|
||||
# [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater.
|
||||
# The following code sample provides the Predictor interface:
|
||||
# ```py
|
||||
# class Predictor(object):
|
||||
# """Interface for constructing custom predictors."""
|
||||
# def predict(self, instances, **kwargs):
|
||||
# """Returns predictions for the provided instances.
|
||||
# Instances are the decoded values from the request. Clients need not
|
||||
# worry about decoding json nor base64 decoding.
|
||||
# """Performs custom prediction.
|
||||
# Instances are the decoded values from the request. They have already
|
||||
# been deserialized from JSON.
|
||||
# Args:
|
||||
# instances: A list of instances, as described in the API.
|
||||
# **kwargs: Additional keyword arguments, will be passed into the
|
||||
# client's predict method.
|
||||
# instances: A list of prediction input instances.
|
||||
# **kwargs: A dictionary of keyword args provided as additional
|
||||
# fields on the predict request body.
|
||||
# Returns:
|
||||
# A list of outputs containing the prediction results.
|
||||
# A list of outputs containing the prediction results. This list must
|
||||
# be JSON serializable.
|
||||
# """
|
||||
# raise NotImplementedError()
|
||||
# @classmethod
|
||||
# def from_path(cls, model_path):
|
||||
# """Creates a model using the given model path.
|
||||
# Path is useful, e.g., to load files from the exported directory
|
||||
# containing the model.
|
||||
# def from_path(cls, model_dir):
|
||||
# """Creates an instance of Predictor using the given path.
|
||||
# Loading of the predictor should be done in this method.
|
||||
# Args:
|
||||
# model_path: The local directory that contains the exported model
|
||||
# model_dir: The local directory that contains the exported model
|
||||
# file along with any additional files uploaded when creating the
|
||||
# version resource.
|
||||
# Returns:
|
||||
# An instance implementing this Model class.
|
||||
# An instance implementing this Predictor class.
|
||||
# """
|
||||
# raise NotImplementedError()
|
||||
# ```
|
||||
# Learn more about [the Predictor interface and custom prediction
|
||||
# routines](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
||||
# Corresponds to the JSON property `predictionClass`
|
||||
# @return [String]
|
||||
attr_accessor :prediction_class
|
||||
|
@ -1689,8 +1707,8 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :python_version
|
||||
|
||||
# Optional. The Cloud ML Engine runtime version to use for this deployment.
|
||||
# If not set, Cloud ML Engine uses the default stable version, 1.0. For more
|
||||
# Optional. The AI Platform runtime version to use for this deployment.
|
||||
# If not set, AI Platform uses the default stable version, 1.0. For more
|
||||
# information, see the
|
||||
# [runtime version list](/ml-engine/docs/runtime-version-list) and
|
||||
# [how to manage runtime versions](/ml-engine/docs/versioning).
|
||||
|
@ -2175,7 +2193,7 @@ module Google
|
|||
|
||||
# The server-assigned name, which is only unique within the same service that
|
||||
# originally returns it. If you use the default HTTP mapping, the
|
||||
# `name` should have the format of `operations/some/unique/name`.
|
||||
# `name` should be a resource name ending with `operations/`unique_id``.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -114,7 +114,7 @@ module Google
|
|||
end
|
||||
|
||||
# Performs prediction on the data in the request.
|
||||
# Cloud ML Engine 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
|
||||
# to the [predict request format](/ml-engine/docs/v1/predict-request)**.
|
||||
# @param [String] name
|
||||
|
|
Loading…
Reference in New Issue