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.



5061
5062
5063
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5061

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)


5024
5025
5026
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5024

def create_time
  @create_time
end

#descriptionString

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

Returns:

  • (String)


5029
5030
5031
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5029

def description
  @description
end

#done_timeString

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

Returns:

  • (String)


5034
5035
5036
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5034

def done_time
  @done_time
end

#labelsHash<String,String>

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

Returns:

  • (Hash<String,String>)


5039
5040
5041
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5039

def labels
  @labels
end

#operation_typeString

The operation type. Corresponds to the JSON property operationType

Returns:

  • (String)


5044
5045
5046
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5044

def operation_type
  @operation_type
end

#sessionString

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

Returns:

  • (String)


5049
5050
5051
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5049

def session
  @session
end

#session_uuidString

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

Returns:

  • (String)


5054
5055
5056
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5054

def session_uuid
  @session_uuid
end

#warningsArray<String>

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

Returns:

  • (Array<String>)


5059
5060
5061
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5059

def warnings
  @warnings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5066

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