Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate
- 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
Defines the template for Application Integration
Instance Attribute Summary collapse
-
#author ⇒ String
Optional.
-
#categories ⇒ Array<String>
Required.
-
#components ⇒ Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent>
Optional.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#doc_link ⇒ String
Optional.
-
#last_used_time ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#shared_with ⇒ Array<String>
Required.
-
#tags ⇒ Array<String>
Required.
-
#template_bundle ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle
Define the bundle of the template.
-
#update_time ⇒ String
Output only.
-
#usage_count ⇒ Fixnum
Optional.
-
#usage_info ⇒ String
Optional.
-
#visibility ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTemplate
constructor
A new instance of GoogleCloudIntegrationsV1alphaTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTemplate
Returns a new instance of GoogleCloudIntegrationsV1alphaTemplate.
10902 10903 10904 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10902 def initialize(**args) update!(**args) end |
Instance Attribute Details
#author ⇒ String
Optional. Creator of the template.
Corresponds to the JSON property author
10819 10820 10821 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10819 def @author end |
#categories ⇒ Array<String>
Required. Categories associated with the Template. The categories listed below
will be utilized for the Template listing.
Corresponds to the JSON property categories
10825 10826 10827 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10825 def categories @categories end |
#components ⇒ Array<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent>
Optional. Components being used in the template. This could be used to
categorize and filter.
Corresponds to the JSON property components
10831 10832 10833 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10831 def components @components end |
#create_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property createTime
10836 10837 10838 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10836 def create_time @create_time end |
#description ⇒ String
Optional. Description of the template. The length should not be more than 255
characters
Corresponds to the JSON property description
10842 10843 10844 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10842 def description @description end |
#display_name ⇒ String
Required. The name of the template
Corresponds to the JSON property displayName
10847 10848 10849 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10847 def display_name @display_name end |
#doc_link ⇒ String
Optional. Link to template documentation.
Corresponds to the JSON property docLink
10852 10853 10854 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10852 def doc_link @doc_link end |
#last_used_time ⇒ String
Optional. Time the template was last used.
Corresponds to the JSON property lastUsedTime
10857 10858 10859 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10857 def last_used_time @last_used_time end |
#name ⇒ String
Identifier. Resource name of the template.
Corresponds to the JSON property name
10862 10863 10864 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10862 def name @name end |
#shared_with ⇒ Array<String>
Required. Resource names with which the template is shared for example
ProjectNumber/Ord id
Corresponds to the JSON property sharedWith
10868 10869 10870 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10868 def shared_with @shared_with end |
#tags ⇒ Array<String>
Required. Tags which are used to identify templates. These tags could be for
business use case, connectors etc.
Corresponds to the JSON property tags
10874 10875 10876 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10874 def @tags end |
#template_bundle ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateBundle
Define the bundle of the template.
Corresponds to the JSON property templateBundle
10879 10880 10881 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10879 def template_bundle @template_bundle end |
#update_time ⇒ String
Output only. Auto-generated
Corresponds to the JSON property updateTime
10884 10885 10886 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10884 def update_time @update_time end |
#usage_count ⇒ Fixnum
Optional. Number of template usages.
Corresponds to the JSON property usageCount
10889 10890 10891 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10889 def usage_count @usage_count end |
#usage_info ⇒ String
Optional. Information on how to use the template. This should contain detailed
information about usage of the template.
Corresponds to the JSON property usageInfo
10895 10896 10897 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10895 def usage_info @usage_info end |
#visibility ⇒ String
Required. Visibility of the template.
Corresponds to the JSON property visibility
10900 10901 10902 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10900 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10907 def update!(**args) @author = args[:author] if args.key?(:author) @categories = args[:categories] if args.key?(:categories) @components = args[:components] if args.key?(:components) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @doc_link = args[:doc_link] if args.key?(:doc_link) @last_used_time = args[:last_used_time] if args.key?(:last_used_time) @name = args[:name] if args.key?(:name) @shared_with = args[:shared_with] if args.key?(:shared_with) @tags = args[:tags] if args.key?(:tags) @template_bundle = args[:template_bundle] if args.key?(:template_bundle) @update_time = args[:update_time] if args.key?(:update_time) @usage_count = args[:usage_count] if args.key?(:usage_count) @usage_info = args[:usage_info] if args.key?(:usage_info) @visibility = args[:visibility] if args.key?(:visibility) end |