Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent

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

Define the components that are present in a template.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTemplateComponent

Returns a new instance of GoogleCloudIntegrationsV1alphaTemplateComponent.



10967
10968
10969
# File 'lib/google/apis/integrations_v1/classes.rb', line 10967

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

Instance Attribute Details

#nameString

Optional. Name of the component. Corresponds to the JSON property name

Returns:

  • (String)


10960
10961
10962
# File 'lib/google/apis/integrations_v1/classes.rb', line 10960

def name
  @name
end

#typeString

Optional. Type of the component. Corresponds to the JSON property type

Returns:

  • (String)


10965
10966
10967
# File 'lib/google/apis/integrations_v1/classes.rb', line 10965

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10972
10973
10974
10975
# File 'lib/google/apis/integrations_v1/classes.rb', line 10972

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
end