Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate

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 template of IntegrationVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate

Returns a new instance of GoogleCloudIntegrationsV1alphaIntegrationVersionTemplate.



8842
8843
8844
# File 'lib/google/apis/integrations_v1/classes.rb', line 8842

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

Instance Attribute Details

#integration_versionGoogle::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaIntegrationVersion

The integration version definition. Corresponds to the JSON property integrationVersion



8835
8836
8837
# File 'lib/google/apis/integrations_v1/classes.rb', line 8835

def integration_version
  @integration_version
end

#keyString

Required. Unique Key of the IntegrationVersion. Corresponds to the JSON property key

Returns:

  • (String)


8840
8841
8842
# File 'lib/google/apis/integrations_v1/classes.rb', line 8840

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8847
8848
8849
8850
# File 'lib/google/apis/integrations_v1/classes.rb', line 8847

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