Class: Google::Apis::DataprocV1::SessionOperationMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SessionOperationMetadata

Returns a new instance of SessionOperationMetadata.



4308
4309
4310
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4308

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

Instance Attribute Details

#create_timeString

The time when the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


4271
4272
4273
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4271

def create_time
  @create_time
end

#descriptionString

Short description of the operation. Corresponds to the JSON property description

Returns:

  • (String)


4276
4277
4278
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4276

def description
  @description
end

#done_timeString

The time when the operation was finished. Corresponds to the JSON property doneTime

Returns:

  • (String)


4281
4282
4283
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4281

def done_time
  @done_time
end

#labelsHash<String,String>

Labels associated with the operation. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


4286
4287
4288
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4286

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


4291
4292
4293
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4291

def operation_type
  @operation_type
end

#sessionString

Name of the session for the operation. Corresponds to the JSON property session

Returns:

  • (String)


4296
4297
4298
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4296

def session
  @session
end

#session_uuidString

Session UUID for the operation. Corresponds to the JSON property sessionUuid

Returns:

  • (String)


4301
4302
4303
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4301

def session_uuid
  @session_uuid
end

#warningsArray<String>

Warnings encountered during operation execution. Corresponds to the JSON property warnings

Returns:

  • (Array<String>)


4306
4307
4308
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4306

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4313

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