Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaCloudSchedulerConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

Cloud Scheduler Trigger configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaCloudSchedulerConfig

Returns a new instance of GoogleCloudIntegrationsV1alphaCloudSchedulerConfig.



5808
5809
5810
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5808

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

Instance Attribute Details

#cron_tabString

Required. The cron tab of cloud scheduler trigger. Corresponds to the JSON property cronTab

Returns:

  • (String)


5789
5790
5791
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5789

def cron_tab
  @cron_tab
end

#error_messageString

Optional. When the job was deleted from Pantheon UI, error_message will be populated when Get/List integrations Corresponds to the JSON property errorMessage

Returns:

  • (String)


5795
5796
5797
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5795

def error_message
  @error_message
end

#locationString

Required. The location where associated cloud scheduler job will be created Corresponds to the JSON property location

Returns:

  • (String)


5800
5801
5802
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5800

def location
  @location
end

#service_account_emailString

Required. Service account used by Cloud Scheduler to trigger the integration at scheduled time Corresponds to the JSON property serviceAccountEmail

Returns:

  • (String)


5806
5807
5808
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5806

def 
  @service_account_email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5813
5814
5815
5816
5817
5818
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5813

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