Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#authorString

Optional. Creator of the template. Corresponds to the JSON property author

Returns:

  • (String)


10819
10820
10821
# File 'lib/google/apis/integrations_v1/classes.rb', line 10819

def author
  @author
end

#categoriesArray<String>

Required. Categories associated with the Template. The categories listed below will be utilized for the Template listing. Corresponds to the JSON property categories

Returns:

  • (Array<String>)


10825
10826
10827
# File 'lib/google/apis/integrations_v1/classes.rb', line 10825

def categories
  @categories
end

#componentsArray<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_timeString

Output only. Auto-generated. Corresponds to the JSON property createTime

Returns:

  • (String)


10836
10837
10838
# File 'lib/google/apis/integrations_v1/classes.rb', line 10836

def create_time
  @create_time
end

#descriptionString

Optional. Description of the template. The length should not be more than 255 characters Corresponds to the JSON property description

Returns:

  • (String)


10842
10843
10844
# File 'lib/google/apis/integrations_v1/classes.rb', line 10842

def description
  @description
end

#display_nameString

Required. The name of the template Corresponds to the JSON property displayName

Returns:

  • (String)


10847
10848
10849
# File 'lib/google/apis/integrations_v1/classes.rb', line 10847

def display_name
  @display_name
end

Optional. Link to template documentation. Corresponds to the JSON property docLink

Returns:

  • (String)


10852
10853
10854
# File 'lib/google/apis/integrations_v1/classes.rb', line 10852

def doc_link
  @doc_link
end

#last_used_timeString

Optional. Time the template was last used. Corresponds to the JSON property lastUsedTime

Returns:

  • (String)


10857
10858
10859
# File 'lib/google/apis/integrations_v1/classes.rb', line 10857

def last_used_time
  @last_used_time
end

#nameString

Identifier. Resource name of the template. Corresponds to the JSON property name

Returns:

  • (String)


10862
10863
10864
# File 'lib/google/apis/integrations_v1/classes.rb', line 10862

def name
  @name
end

#shared_withArray<String>

Required. Resource names with which the template is shared for example ProjectNumber/Ord id Corresponds to the JSON property sharedWith

Returns:

  • (Array<String>)


10868
10869
10870
# File 'lib/google/apis/integrations_v1/classes.rb', line 10868

def shared_with
  @shared_with
end

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

Returns:

  • (Array<String>)


10874
10875
10876
# File 'lib/google/apis/integrations_v1/classes.rb', line 10874

def tags
  @tags
end

#template_bundleGoogle::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_timeString

Output only. Auto-generated Corresponds to the JSON property updateTime

Returns:

  • (String)


10884
10885
10886
# File 'lib/google/apis/integrations_v1/classes.rb', line 10884

def update_time
  @update_time
end

#usage_countFixnum

Optional. Number of template usages. Corresponds to the JSON property usageCount

Returns:

  • (Fixnum)


10889
10890
10891
# File 'lib/google/apis/integrations_v1/classes.rb', line 10889

def usage_count
  @usage_count
end

#usage_infoString

Optional. Information on how to use the template. This should contain detailed information about usage of the template. Corresponds to the JSON property usageInfo

Returns:

  • (String)


10895
10896
10897
# File 'lib/google/apis/integrations_v1/classes.rb', line 10895

def usage_info
  @usage_info
end

#visibilityString

Required. Visibility of the template. Corresponds to the JSON property visibility

Returns:

  • (String)


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