Class: Google::Apis::DataprocV1::SessionOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SessionOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Metadata describing the Session operation.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The time when the operation was created.
-
#description ⇒ String
Short description of the operation.
-
#done_time ⇒ String
The time when the operation was finished.
-
#labels ⇒ Hash<String,String>
Labels associated with the operation.
-
#operation_type ⇒ String
The operation type.
-
#session ⇒ String
Name of the session for the operation.
-
#session_uuid ⇒ String
Session UUID for the operation.
-
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SessionOperationMetadata
constructor
A new instance of SessionOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SessionOperationMetadata
Returns a new instance of SessionOperationMetadata.
4326 4327 4328 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The time when the operation was created.
Corresponds to the JSON property createTime
4289 4290 4291 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4289 def create_time @create_time end |
#description ⇒ String
Short description of the operation.
Corresponds to the JSON property description
4294 4295 4296 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4294 def description @description end |
#done_time ⇒ String
The time when the operation was finished.
Corresponds to the JSON property doneTime
4299 4300 4301 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4299 def done_time @done_time end |
#labels ⇒ Hash<String,String>
Labels associated with the operation.
Corresponds to the JSON property labels
4304 4305 4306 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4304 def labels @labels end |
#operation_type ⇒ String
The operation type.
Corresponds to the JSON property operationType
4309 4310 4311 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4309 def operation_type @operation_type end |
#session ⇒ String
Name of the session for the operation.
Corresponds to the JSON property session
4314 4315 4316 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4314 def session @session end |
#session_uuid ⇒ String
Session UUID for the operation.
Corresponds to the JSON property sessionUuid
4319 4320 4321 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4319 def session_uuid @session_uuid end |
#warnings ⇒ Array<String>
Warnings encountered during operation execution.
Corresponds to the JSON property warnings
4324 4325 4326 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4324 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4331 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @done_time = args[:done_time] if args.key?(:done_time) @labels = args[:labels] if args.key?(:labels) @operation_type = args[:operation_type] if args.key?(:operation_type) @session = args[:session] if args.key?(:session) @session_uuid = args[:session_uuid] if args.key?(:session_uuid) @warnings = args[:warnings] if args.key?(:warnings) end |