Service Client: Google::Cloud::Scheduler::V1beta1::Cloudscheduler::CloudSchedulerClient

Client stub representing the remote CloudScheduler gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to scheduler.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Scheduler::V1beta1::Cloudscheduler - Compiled Protocol Buffers messages for google/cloud/scheduler/v1beta1/cloudscheduler.proto

SYNOPSIS

use Google::Cloud::Scheduler::V1beta1::Cloudscheduler;

my $msg = Google::Cloud::Scheduler::V1beta1::Cloudscheduler::ListJobsRequest->new({
    parent => $parent,
    filter => $filter,
    page_size => $page_size,
    page_token => $page_token,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Scheduler::V1beta1::Cloudscheduler::ListJobsRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/scheduler/v1beta1/cloudscheduler.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::ListJobsRequest

Request message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.

  • $msg->filter() / $msg->filter($value)

    Type: String

    `filter` can be used to specify a subset of jobs.

    If `filter` equals `target_config="HttpConfig"`, then the http target jobs are retrieved. If `filter` equals `target_config="PubSubConfig"`, then the Pub/Sub target jobs are retrieved. If `filter` equals `labels.foo=value1 labels.foo=value2` then only jobs which are labeled with foo=value1 AND foo=value2 will be returned.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Requested page size.

    The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use next_page_token to determine if more jobs exist.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token] returned from the previous call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is an error to switch the value of [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while iterating through pages.

  • $msg->legacy_app_engine_cron() / $msg->legacy_app_engine_cron($value)

    Type: Bool

    This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the jobs in the __cron queue will be listed instead.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::ListJobsResponse

Response message for listing jobs using [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].

Inherits from Protobuf::Message.

Accessors

  • $msg->jobs() / $msg->jobs($value)

    Type: Message (Google::Cloud::Scheduler::V1beta1::Job::Job)

    The list of jobs.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token to retrieve next page of results. Pass this value in the [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token] field in the subsequent call to [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to retrieve the next page of results. If this is empty it indicates that there are no more results through which to paginate.

    The page token is valid for only 2 hours.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::GetJobRequest

Request message for [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::CreateJobRequest

Request message for [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.

  • $msg->job() / $msg->job($value)

    Type: Message (Google::Cloud::Scheduler::V1beta1::Job::Job)

    Required. The job to add. The user can optionally specify a name for the job in [name][google.cloud.scheduler.v1beta1.Job.name]. [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an existing job. If a name is not specified then the system will generate a random unique name that will be returned ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::UpdateJobRequest

Request message for [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->job() / $msg->job($value)

    Type: Message (Google::Cloud::Scheduler::V1beta1::Job::Job)

    Required. The new job properties. [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.

    Output only fields cannot be modified using UpdateJob. Any value specified for an output only field will be ignored.

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    A mask used to specify which fields of the job are being updated.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::DeleteJobRequest

Request message for deleting a job using [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.

  • $msg->legacy_app_engine_cron() / $msg->legacy_app_engine_cron($value)

    Type: Bool

    This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be deleted instead.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::PauseJobRequest

Request message for [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::ResumeJobRequest

Request message for [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.

Google::Cloud::Scheduler::V1beta1::Cloudscheduler::RunJobRequest

Request message for forcing a job to run now using [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The job name. For example: `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.

  • $msg->legacy_app_engine_cron() / $msg->legacy_app_engine_cron($value)

    Type: Bool

    This field is used to manage the legacy App Engine Cron jobs using the Cloud Scheduler API. If the field is set to true, the job in the __cron queue with the corresponding name will be forced to run instead.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Scheduler::V1beta1::Cloudscheduler::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.