Class Job

Configuration for a job. The maximum allowed size for a job is 100KB.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes
NameDescription
strname
Optionally caller-specified in CreateJob, after which it becomes output only. The job name. For example: ``projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID``. - ``PROJECT_ID`` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see `Identifying projects
strdescription
Optionally caller-specified in CreateJob or UpdateJob. A human-readable description for the job. This string must not contain more than 500 characters.
google.cloud.scheduler_v1.types.PubsubTargetpubsub_target
Pub/Sub target. This field is a member of `oneof`_ ``target``.
google.cloud.scheduler_v1.types.AppEngineHttpTargetapp_engine_http_target
App Engine HTTP target. This field is a member of `oneof`_ ``target``.
google.cloud.scheduler_v1.types.HttpTargethttp_target
HTTP target. This field is a member of `oneof`_ ``target``.
strschedule
Required, except when used with UpdateJob. Describes the schedule on which the job will be executed. The schedule can be either of the following types: - `Crontab
strtime_zone
Specifies the time zone to be used in interpreting schedule. The value of this field must be a time zone name from the `tz database
google.protobuf.timestamp_pb2.Timestampuser_update_time
Output only. The creation time of the job.
google.cloud.scheduler_v1.types.Job.Statestate
Output only. State of the job.
google.rpc.status_pb2.Statusstatus
Output only. The response from the target for the last attempted execution.
google.protobuf.timestamp_pb2.Timestampschedule_time
Output only. The next time the job is scheduled. Note that this may be a retry of a previously failed attempt or the next execution time according to the schedule.
google.protobuf.timestamp_pb2.Timestamplast_attempt_time
Output only. The time the last job attempt started.
google.cloud.scheduler_v1.types.RetryConfigretry_config
Settings that determine the retry behavior.
google.protobuf.duration_pb2.Durationattempt_deadline
The deadline for job attempts. If the request handler does not respond by this deadline then the request is cancelled and the attempt is marked as a ``DEADLINE_EXCEEDED`` failure. The failed attempt can be viewed in execution logs. Cloud Scheduler will retry the job according to the RetryConfig. The allowed duration for this deadline is: - For [HTTP targets][google.cloud.scheduler.v1.Job.http_target], between 15 seconds and 30 minutes. - For [App Engine HTTP targets][google.cloud.scheduler.v1.Job.app_engine_http_target], between 15 seconds and 24 hours.

Inheritance

builtins.object > proto.message.Message > Job

Classes

State

State(value)

State of the job.