Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadata
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadata
- 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
TaskMetadata are attributes that are associated to every common Task we have. Next available: 26
Instance Attribute Summary collapse
-
#active_task_name ⇒ String
The new task name to replace the current task if it is deprecated.
-
#admins ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadataAdmin>
Corresponds to the JSON property
admins. -
#category ⇒ String
Corresponds to the JSON property
category. -
#code_search_link ⇒ String
The Code Search link to the Task Java file.
-
#default_json_validation_option ⇒ String
Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution.
-
#default_spec ⇒ String
Contains the initial configuration of the task with default values set.
-
#description ⇒ String
In a few sentences, describe the purpose and usage of the task.
-
#descriptive_name ⇒ String
The string name to show on the task list on the Workflow editor screen.
-
#doc_markdown ⇒ String
Snippet of markdown documentation to embed in the RHP for this task.
-
#external_category ⇒ String
Corresponds to the JSON property
externalCategory. -
#external_category_sequence ⇒ Fixnum
Sequence with which the task in specific category to be displayed in task discovery panel for external users.
-
#external_doc_html ⇒ String
External-facing documention embedded in the RHP for this task.
-
#external_doc_link ⇒ String
Doc link for external-facing documentation (separate from g3doc).
-
#external_doc_markdown ⇒ String
DEPRECATED: Use external_doc_html.
-
#g3_doc_link ⇒ String
URL to the associated G3 Doc for the task if available Corresponds to the JSON property
g3DocLink. -
#icon_link ⇒ String
URL to gstatic image icon for this task.
-
#is_deprecated ⇒ Boolean
(also: #is_deprecated?)
The deprecation status of the current task.
-
#name ⇒ String
The actual class name or the annotated name of the task.
-
#standalone_external_doc_html ⇒ String
External-facing documention for standalone IP in pantheon embedded in the RHP for this task.
-
#status ⇒ String
Allows author to indicate if the task is ready to use or not.
-
#system ⇒ String
Corresponds to the JSON property
system. -
#tags ⇒ Array<String>
A set of tags that pertain to a particular task.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTaskMetadata
constructor
A new instance of EnterpriseCrmEventbusProtoTaskMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTaskMetadata
Returns a new instance of EnterpriseCrmEventbusProtoTaskMetadata.
2853 2854 2855 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_task_name ⇒ String
The new task name to replace the current task if it is deprecated. Otherwise,
it is the same as the current task name.
Corresponds to the JSON property activeTaskName
2734 2735 2736 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2734 def active_task_name @active_task_name end |
#admins ⇒ Array<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadataAdmin>
Corresponds to the JSON property admins
2739 2740 2741 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2739 def admins @admins end |
#category ⇒ String
Corresponds to the JSON property category
2744 2745 2746 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2744 def category @category end |
#code_search_link ⇒ String
The Code Search link to the Task Java file.
Corresponds to the JSON property codeSearchLink
2749 2750 2751 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2749 def code_search_link @code_search_link end |
#default_json_validation_option ⇒ String
Controls whether JSON workflow parameters are validated against provided
schemas before and/or after this task's execution.
Corresponds to the JSON property defaultJsonValidationOption
2755 2756 2757 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2755 def default_json_validation_option @default_json_validation_option end |
#default_spec ⇒ String
Contains the initial configuration of the task with default values set. For
now, The string should be compatible to an ASCII-proto format.
Corresponds to the JSON property defaultSpec
2761 2762 2763 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2761 def default_spec @default_spec end |
#description ⇒ String
In a few sentences, describe the purpose and usage of the task.
Corresponds to the JSON property description
2766 2767 2768 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2766 def description @description end |
#descriptive_name ⇒ String
The string name to show on the task list on the Workflow editor screen. This
should be a very short, one to two words name for the task. (e.g. "Send Mail")
Corresponds to the JSON property descriptiveName
2772 2773 2774 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2772 def descriptive_name @descriptive_name end |
#doc_markdown ⇒ String
Snippet of markdown documentation to embed in the RHP for this task.
Corresponds to the JSON property docMarkdown
2777 2778 2779 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2777 def doc_markdown @doc_markdown end |
#external_category ⇒ String
Corresponds to the JSON property externalCategory
2782 2783 2784 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2782 def external_category @external_category end |
#external_category_sequence ⇒ Fixnum
Sequence with which the task in specific category to be displayed in task
discovery panel for external users.
Corresponds to the JSON property externalCategorySequence
2788 2789 2790 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2788 def external_category_sequence @external_category_sequence end |
#external_doc_html ⇒ String
External-facing documention embedded in the RHP for this task.
Corresponds to the JSON property externalDocHtml
2793 2794 2795 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2793 def external_doc_html @external_doc_html end |
#external_doc_link ⇒ String
Doc link for external-facing documentation (separate from g3doc).
Corresponds to the JSON property externalDocLink
2798 2799 2800 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2798 def external_doc_link @external_doc_link end |
#external_doc_markdown ⇒ String
DEPRECATED: Use external_doc_html.
Corresponds to the JSON property externalDocMarkdown
2803 2804 2805 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2803 def external_doc_markdown @external_doc_markdown end |
#g3_doc_link ⇒ String
URL to the associated G3 Doc for the task if available
Corresponds to the JSON property g3DocLink
2808 2809 2810 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2808 def g3_doc_link @g3_doc_link end |
#icon_link ⇒ String
URL to gstatic image icon for this task. This icon shows up on the task list
panel along with the task name in the Workflow Editor screen. Use the 24p, 2x,
gray color icon image format. See go/icons.
Corresponds to the JSON property iconLink
2815 2816 2817 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2815 def icon_link @icon_link end |
#is_deprecated ⇒ Boolean Also known as: is_deprecated?
The deprecation status of the current task. Default value is false;
Corresponds to the JSON property isDeprecated
2820 2821 2822 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2820 def is_deprecated @is_deprecated end |
#name ⇒ String
The actual class name or the annotated name of the task. Task Author should
initialize this field with value from the getName() method of the Task class.
Corresponds to the JSON property name
2827 2828 2829 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2827 def name @name end |
#standalone_external_doc_html ⇒ String
External-facing documention for standalone IP in pantheon embedded in the RHP
for this task. Non null only if different from external_doc_html
Corresponds to the JSON property standaloneExternalDocHtml
2833 2834 2835 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2833 def standalone_external_doc_html @standalone_external_doc_html end |
#status ⇒ String
Allows author to indicate if the task is ready to use or not. If not set, then
it will default to INACTIVE.
Corresponds to the JSON property status
2839 2840 2841 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2839 def status @status end |
#system ⇒ String
Corresponds to the JSON property system
2844 2845 2846 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2844 def system @system end |
#tags ⇒ Array<String>
A set of tags that pertain to a particular task. This can be used to improve
the searchability of tasks with several names ("REST Caller" vs. "Call REST
Endpoint") or to help users find tasks based on related words.
Corresponds to the JSON property tags
2851 2852 2853 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2851 def @tags end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2858 def update!(**args) @active_task_name = args[:active_task_name] if args.key?(:active_task_name) @admins = args[:admins] if args.key?(:admins) @category = args[:category] if args.key?(:category) @code_search_link = args[:code_search_link] if args.key?(:code_search_link) @default_json_validation_option = args[:default_json_validation_option] if args.key?(:default_json_validation_option) @default_spec = args[:default_spec] if args.key?(:default_spec) @description = args[:description] if args.key?(:description) @descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name) @doc_markdown = args[:doc_markdown] if args.key?(:doc_markdown) @external_category = args[:external_category] if args.key?(:external_category) @external_category_sequence = args[:external_category_sequence] if args.key?(:external_category_sequence) @external_doc_html = args[:external_doc_html] if args.key?(:external_doc_html) @external_doc_link = args[:external_doc_link] if args.key?(:external_doc_link) @external_doc_markdown = args[:external_doc_markdown] if args.key?(:external_doc_markdown) @g3_doc_link = args[:g3_doc_link] if args.key?(:g3_doc_link) @icon_link = args[:icon_link] if args.key?(:icon_link) @is_deprecated = args[:is_deprecated] if args.key?(:is_deprecated) @name = args[:name] if args.key?(:name) @standalone_external_doc_html = args[:standalone_external_doc_html] if args.key?(:standalone_external_doc_html) @status = args[:status] if args.key?(:status) @system = args[:system] if args.key?(:system) @tags = args[:tags] if args.key?(:tags) end |