Class: Google::Apis::CloudschedulerV1beta1::RunJobRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudscheduler_v1beta1/classes.rb,
generated/google/apis/cloudscheduler_v1beta1/representations.rb,
generated/google/apis/cloudscheduler_v1beta1/representations.rb

Overview

Request message for forcing a job to run now using RunJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunJobRequest

Returns a new instance of RunJobRequest.



800
801
802
# File 'generated/google/apis/cloudscheduler_v1beta1/classes.rb', line 800

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#legacy_app_engine_cronBoolean Also known as: legacy_app_engine_cron?

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. Corresponds to the JSON property legacyAppEngineCron

Returns:

  • (Boolean)


797
798
799
# File 'generated/google/apis/cloudscheduler_v1beta1/classes.rb', line 797

def legacy_app_engine_cron
  @legacy_app_engine_cron
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



805
806
807
# File 'generated/google/apis/cloudscheduler_v1beta1/classes.rb', line 805

def update!(**args)
  @legacy_app_engine_cron = args[:legacy_app_engine_cron] if args.key?(:legacy_app_engine_cron)
end