Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegration
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegration
- 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
The integration definition.
Instance Attribute Summary collapse
-
#active ⇒ Boolean
(also: #active?)
Required.
-
#description ⇒ String
Optional.
-
#name ⇒ String
Required.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegration
constructor
A new instance of GoogleCloudIntegrationsV1alphaIntegration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegration
Returns a new instance of GoogleCloudIntegrationsV1alphaIntegration.
6626 6627 6628 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6626 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active ⇒ Boolean Also known as: active?
Required. If any integration version is published.
Corresponds to the JSON property active
6608 6609 6610 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6608 def active @active end |
#description ⇒ String
Optional.
Corresponds to the JSON property description
6614 6615 6616 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6614 def description @description end |
#name ⇒ String
Required. The resource name of the integration.
Corresponds to the JSON property name
6619 6620 6621 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6619 def name @name end |
#update_time ⇒ String
Output only. Auto-generated.
Corresponds to the JSON property updateTime
6624 6625 6626 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6624 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6631 6632 6633 6634 6635 6636 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6631 def update!(**args) @active = args[:active] if args.key?(:active) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |