Class: Google::Apis::DataflowV1b3::SdkInfo
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::SdkInfo
- 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
-
#language ⇒ String
Required.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SdkInfo
constructor
A new instance of SdkInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SdkInfo
Returns a new instance of SdkInfo.
4718 4719 4720 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4718 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language ⇒ String
Required. The SDK Language.
Corresponds to the JSON property language
4711 4712 4713 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4711 def language @language end |
#version ⇒ String
Optional. The SDK version.
Corresponds to the JSON property version
4716 4717 4718 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4716 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4723 4724 4725 4726 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4723 def update!(**args) @language = args[:language] if args.key?(:language) @version = args[:version] if args.key?(:version) end |