Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaIntegration

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegration

Returns a new instance of GoogleCloudIntegrationsV1alphaIntegration.



6638
6639
6640
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6638

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

Instance Attribute Details

#activeBoolean Also known as: active?

Required. If any integration version is published. Corresponds to the JSON property active

Returns:

  • (Boolean)


6620
6621
6622
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6620

def active
  @active
end

#descriptionString

Optional. Corresponds to the JSON property description

Returns:

  • (String)


6626
6627
6628
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6626

def description
  @description
end

#nameString

Required. The resource name of the integration. Corresponds to the JSON property name

Returns:

  • (String)


6631
6632
6633
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6631

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


6636
6637
6638
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6636

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6643
6644
6645
6646
6647
6648
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 6643

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