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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudscheduler_v1beta1/classes.rb,
lib/google/apis/cloudscheduler_v1beta1/representations.rb,
lib/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.



822
823
824
# File 'lib/google/apis/cloudscheduler_v1beta1/classes.rb', line 822

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)


819
820
821
# File 'lib/google/apis/cloudscheduler_v1beta1/classes.rb', line 819

def legacy_app_engine_cron
  @legacy_app_engine_cron
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



827
828
829
# File 'lib/google/apis/cloudscheduler_v1beta1/classes.rb', line 827

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