Class: Google::Apis::DataflowV1b3::SdkInfo

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

Overview

SDK Information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SdkInfo

Returns a new instance of SdkInfo.



4667
4668
4669
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4667

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

Instance Attribute Details

#languageString

Required. The SDK Language. Corresponds to the JSON property language

Returns:

  • (String)


4660
4661
4662
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4660

def language
  @language
end

#versionString

Optional. The SDK version. Corresponds to the JSON property version

Returns:

  • (String)


4665
4666
4667
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4665

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4672
4673
4674
4675
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4672

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