Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplateComponent
- 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
-
#name ⇒ String
Optional.
-
#type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaTemplateComponent
constructor
A new instance of GoogleCloudIntegrationsV1alphaTemplateComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
Optional. Name of the component.
Corresponds to the JSON property name
10960 10961 10962 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 10960 def name @name end |
#type ⇒ String
Optional. Type of the component.
Corresponds to the JSON property type
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 |