Class: Google::Apis::DataformV1beta1::WorkflowConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataformV1beta1::WorkflowConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataform_v1beta1/classes.rb,
lib/google/apis/dataform_v1beta1/representations.rb,
lib/google/apis/dataform_v1beta1/representations.rb
Overview
Represents a Dataform workflow configuration.
Instance Attribute Summary collapse
-
#cron_schedule ⇒ String
Optional.
-
#invocation_config ⇒ Google::Apis::DataformV1beta1::InvocationConfig
Includes various configuration options for a workflow invocation.
-
#name ⇒ String
Output only.
-
#recent_scheduled_execution_records ⇒ Array<Google::Apis::DataformV1beta1::ScheduledExecutionRecord>
Output only.
-
#release_config ⇒ String
Required.
-
#time_zone ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkflowConfig
constructor
A new instance of WorkflowConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkflowConfig
Returns a new instance of WorkflowConfig.
1920 1921 1922 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cron_schedule ⇒ String
Optional. Optional schedule (in cron format) for automatic execution of this
workflow config.
Corresponds to the JSON property cronSchedule
1886 1887 1888 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1886 def cron_schedule @cron_schedule end |
#invocation_config ⇒ Google::Apis::DataformV1beta1::InvocationConfig
Includes various configuration options for a workflow invocation. If both
included_targets and included_tags are unset, all actions will be included.
Corresponds to the JSON property invocationConfig
1892 1893 1894 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1892 def invocation_config @invocation_config end |
#name ⇒ String
Output only. The workflow config's name.
Corresponds to the JSON property name
1897 1898 1899 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1897 def name @name end |
#recent_scheduled_execution_records ⇒ Array<Google::Apis::DataformV1beta1::ScheduledExecutionRecord>
Output only. Records of the 10 most recent scheduled execution attempts.
Updated whenever automatic creation of a compilation result is triggered by
cron_schedule.
Corresponds to the JSON property recentScheduledExecutionRecords
1904 1905 1906 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1904 def recent_scheduled_execution_records @recent_scheduled_execution_records end |
#release_config ⇒ String
Required. The name of the release config whose release_compilation_result
should be executed. Must be in the format projects/*/locations/*/repositories/
*/releaseConfigs/*.
Corresponds to the JSON property releaseConfig
1911 1912 1913 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1911 def release_config @release_config end |
#time_zone ⇒ String
Optional. Specifies the time zone to be used when interpreting cron_schedule.
Must be a time zone name from the time zone database (https://en.wikipedia.org/
wiki/List_of_tz_database_time_zones). If left unspecified, the default is UTC.
Corresponds to the JSON property timeZone
1918 1919 1920 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1918 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1925 1926 1927 1928 1929 1930 1931 1932 |
# File 'lib/google/apis/dataform_v1beta1/classes.rb', line 1925 def update!(**args) @cron_schedule = args[:cron_schedule] if args.key?(:cron_schedule) @invocation_config = args[:invocation_config] if args.key?(:invocation_config) @name = args[:name] if args.key?(:name) @recent_scheduled_execution_records = args[:recent_scheduled_execution_records] if args.key?(:recent_scheduled_execution_records) @release_config = args[:release_config] if args.key?(:release_config) @time_zone = args[:time_zone] if args.key?(:time_zone) end |