Class: Google::Apis::DatafusionV1beta1::Version

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1beta1/classes.rb,
lib/google/apis/datafusion_v1beta1/representations.rb,
lib/google/apis/datafusion_v1beta1/representations.rb

Overview

The Data Fusion version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Version

Returns a new instance of Version.



1580
1581
1582
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1580

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

Instance Attribute Details

#available_featuresArray<String>

Represents a list of available feature names for a given version. Corresponds to the JSON property availableFeatures

Returns:

  • (Array<String>)


1562
1563
1564
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1562

def available_features
  @available_features
end

#default_versionBoolean Also known as: default_version?

Whether this is currently the default version for Cloud Data Fusion Corresponds to the JSON property defaultVersion

Returns:

  • (Boolean)


1567
1568
1569
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1567

def default_version
  @default_version
end

#typeString

Type represents the release availability of the version Corresponds to the JSON property type

Returns:

  • (String)


1573
1574
1575
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1573

def type
  @type
end

#version_numberString

The version number of the Data Fusion instance, such as '6.0.1.0'. Corresponds to the JSON property versionNumber

Returns:

  • (String)


1578
1579
1580
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1578

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1585
1586
1587
1588
1589
1590
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1585

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