Class: Google::Apis::DatafusionV1::Version

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

Overview

The Data Fusion version. This proto message stores information about certain Data Fusion version, which is used for Data Fusion version upgrade.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Version

Returns a new instance of Version.



1027
1028
1029
# File 'generated/google/apis/datafusion_v1/classes.rb', line 1027

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>)


1014
1015
1016
# File 'generated/google/apis/datafusion_v1/classes.rb', line 1014

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)


1019
1020
1021
# File 'generated/google/apis/datafusion_v1/classes.rb', line 1019

def default_version
  @default_version
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)


1025
1026
1027
# File 'generated/google/apis/datafusion_v1/classes.rb', line 1025

def version_number
  @version_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1032
1033
1034
1035
1036
# File 'generated/google/apis/datafusion_v1/classes.rb', line 1032

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