Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
Cloud Scheduler Trigger configuration
Instance Attribute Summary collapse
-
#cron_tab ⇒ String
Required.
-
#error_message ⇒ String
Optional.
-
#location ⇒ String
Required.
-
#service_account_email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
constructor
A new instance of GoogleCloudIntegrationsV1alphaCloudSchedulerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCloudSchedulerConfig
Returns a new instance of GoogleCloudIntegrationsV1alphaCloudSchedulerConfig.
7072 7073 7074 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7072 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cron_tab ⇒ String
Required. The cron tab of cloud scheduler trigger.
Corresponds to the JSON property cronTab
7053 7054 7055 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7053 def cron_tab @cron_tab end |
#error_message ⇒ String
Optional. When the job was deleted from Pantheon UI, error_message will be
populated when Get/List integrations
Corresponds to the JSON property errorMessage
7059 7060 7061 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7059 def @error_message end |
#location ⇒ String
Required. The location where associated cloud scheduler job will be created
Corresponds to the JSON property location
7064 7065 7066 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7064 def location @location end |
#service_account_email ⇒ String
Required. Service account used by Cloud Scheduler to trigger the integration
at scheduled time
Corresponds to the JSON property serviceAccountEmail
7070 7071 7072 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7070 def service_account_email @service_account_email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7077 7078 7079 7080 7081 7082 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7077 def update!(**args) @cron_tab = args[:cron_tab] if args.key?(:cron_tab) @error_message = args[:error_message] if args.key?(:error_message) @location = args[:location] if args.key?(:location) @service_account_email = args[:service_account_email] if args.key?(:service_account_email) end |