Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadata

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

TaskMetadata are attributes that are associated to every common Task we have. Next available: 26

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmEventbusProtoTaskMetadata

Returns a new instance of EnterpriseCrmEventbusProtoTaskMetadata.



3032
3033
3034
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3032

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

Instance Attribute Details

#active_task_nameString

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

Returns:

  • (String)


2913
2914
2915
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2913

def active_task_name
  @active_task_name
end

#adminsArray<Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoTaskMetadataAdmin>

Corresponds to the JSON property admins



2918
2919
2920
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2918

def admins
  @admins
end

#categoryString

Corresponds to the JSON property category

Returns:

  • (String)


2923
2924
2925
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2923

def category
  @category
end

The Code Search link to the Task Java file. Corresponds to the JSON property codeSearchLink

Returns:

  • (String)


2928
2929
2930
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2928

def code_search_link
  @code_search_link
end

#default_json_validation_optionString

Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution. Corresponds to the JSON property defaultJsonValidationOption

Returns:

  • (String)


2934
2935
2936
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2934

def default_json_validation_option
  @default_json_validation_option
end

#default_specString

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

Returns:

  • (String)


2940
2941
2942
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2940

def default_spec
  @default_spec
end

#descriptionString

In a few sentences, describe the purpose and usage of the task. Corresponds to the JSON property description

Returns:

  • (String)


2945
2946
2947
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2945

def description
  @description
end

#descriptive_nameString

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

Returns:

  • (String)


2951
2952
2953
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2951

def descriptive_name
  @descriptive_name
end

#doc_markdownString

Snippet of markdown documentation to embed in the RHP for this task. Corresponds to the JSON property docMarkdown

Returns:

  • (String)


2956
2957
2958
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2956

def doc_markdown
  @doc_markdown
end

#external_categoryString

Corresponds to the JSON property externalCategory

Returns:

  • (String)


2961
2962
2963
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2961

def external_category
  @external_category
end

#external_category_sequenceFixnum

Sequence with which the task in specific category to be displayed in task discovery panel for external users. Corresponds to the JSON property externalCategorySequence

Returns:

  • (Fixnum)


2967
2968
2969
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2967

def external_category_sequence
  @external_category_sequence
end

#external_doc_htmlString

External-facing documention embedded in the RHP for this task. Corresponds to the JSON property externalDocHtml

Returns:

  • (String)


2972
2973
2974
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2972

def external_doc_html
  @external_doc_html
end

Doc link for external-facing documentation (separate from g3doc). Corresponds to the JSON property externalDocLink

Returns:

  • (String)


2977
2978
2979
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2977

def external_doc_link
  @external_doc_link
end

#external_doc_markdownString

DEPRECATED: Use external_doc_html. Corresponds to the JSON property externalDocMarkdown

Returns:

  • (String)


2982
2983
2984
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2982

def external_doc_markdown
  @external_doc_markdown
end

URL to the associated G3 Doc for the task if available Corresponds to the JSON property g3DocLink

Returns:

  • (String)


2987
2988
2989
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2987

def g3_doc_link
  @g3_doc_link
end

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

Returns:

  • (String)


2994
2995
2996
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2994

def icon_link
  @icon_link
end

#is_deprecatedBoolean Also known as: is_deprecated?

The deprecation status of the current task. Default value is false; Corresponds to the JSON property isDeprecated

Returns:

  • (Boolean)


2999
3000
3001
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 2999

def is_deprecated
  @is_deprecated
end

#nameString

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

Returns:

  • (String)


3006
3007
3008
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3006

def name
  @name
end

#standalone_external_doc_htmlString

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

Returns:

  • (String)


3012
3013
3014
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3012

def standalone_external_doc_html
  @standalone_external_doc_html
end

#statusString

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

Returns:

  • (String)


3018
3019
3020
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3018

def status
  @status
end

#systemString

Corresponds to the JSON property system

Returns:

  • (String)


3023
3024
3025
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3023

def system
  @system
end

#tagsArray<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

Returns:

  • (Array<String>)


3030
3031
3032
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3030

def tags
  @tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3037

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